body {
    display: flex;
    flex-direction: column;
    font-family: garamond;
}

header {
    display: flex;
    justify-content: center;
}

.titre {
    cursor: pointer;
}

nav {
    width: 90vw;
    margin-top: 50px;
    border-top: 7px solid #c5161b;
    align-self: center;
}

.nav-opts {
    display: flex;
    justify-content: space-between;
}

.nav-opts a {
    cursor: pointer;
}

.main-content {
    margin: 50px 5px;
    flex-grow: 2;
}

.page-home,
.page-info,
.page-liste-ecrits,
.page-ecru {
    max-width: 777px;
    margin: 0 auto;
}

.page-home {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-home>img {
    margin: 20px 0;
}

footer {
    margin: 30px auto 10px auto;
}

/* large screens */

@media (min-width: 600px) {
    nav {
        width: 400px;
    }

    footer {
        margin: 150px auto 10px auto;
    }

    .fade-toggle {
        opacity: 0;
        transition: opacity 1s;
        pointer-events: none;
    }

    .fade-toggle.visible {
        opacity: 1;
        transition: opacity 1s;
        pointer-events: auto;
    }
	
	.main-content {
		margin: 50px;
	}
}


.page-ecru h2 {
    color: #c5161b;
    text-align: center;
}

.page-ecru h5 {
    color: #c5161b;
    font-family: Glacial Indifference, sans sherif;
    text-align: center;
    margin-bottom: 4px
}

.page-ecru h6 {
    color: black;
    font-family: Glacial Indifference, sans sherif;
    text-align: center;
    margin-top: 0px
}

.page-ecru p {
    color: black;

    text-align: aligned;
    /* font-size: 70% */
}

.page-liste-ecrits h3 {
    margin-left: 14px;
}

.page-liste-ecrits a {
    font-style: italic;
    cursor: pointer;
}

.page-liste-ecrits a:hover {
    font-style: normal;
    letter-spacing: 0.1rem;
    margin-left: 3px;
}

.liste-ecru {
    margin-bottom: 20px;
}

.page-ecru a {
    display: block;
    margin-left: auto;
    cursor: pointer;
    width: fit-content;
}