body {
    font-family: "Times New Roman", Times, serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    color: #004e6d;
    background-color: #ececec;
}

.page_layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1024px;
    padding: 5% 5%;
}

.hamburger {
    border: none;
}

header {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: start;
    margin-top: 20px;
    margin-bottom: 20px;
}

header a img {
    max-height: 150px;
}

.vertical {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

.horizontal {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2em;
}

.horizontal_gauche {
    display: flex;
    flex-direction: row;
    gap: 2em;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
}

.nav-list li {
    margin: 0 15px;
    display: inline-block;
    font-variant-caps: small-caps;
}

.nav-list li a {
    display: inline-block;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

a {
    text-decoration: none;
    color: #b07f5c;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

.actuel {
    border-bottom: solid 2px;
    font-weight: bold;
}

h1 {
    color: #ececec;
    text-align: center;
    font-size: 0.5em;
    font-style: normal;
    font-weight: normal;
    margin-top: 0.1em;
    margin-bottom: 0.1em;
}

h1.title {
    color: #004e6d;
    font-size: 1.5em;
}

h2 {
    margin-bottom: 0;
}

blockquote {
    text-align: center;
}

figure {
    margin-left: 0;
}

figcaption {
    text-align: left;
}

figure.tall img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    max-width: 80vw;
}

figure.small img {
    max-width: 25vw;
    height: 100%;
}

/* Ajouter une media query pour les petits écrans */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: start;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    header .nav-list {
        display: none;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 10px 0;
        flex-wrap: nowrap;
    }

    .nav-list li:not(:last-child)::after {
        content: none;
    }

    .nav-bar {
        padding: 10px;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #b07f5c;
        margin: 4px 0;
    }

    .horizontal {
        flex-direction: column;
    }

    figure.tall img {
        height: auto;
        width: 80vw;
        max-height: none;
        max-width: none;
    }

    figure.small img {
        height: auto;
        max-width: 80vw;
        max-height: none;
    }
}
