body{
    font-family: "elza", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
    font-size: 18px;
    margin: 0;
    background-color: #D7CFC0;
}

main{
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.max{
    max-width: 850px;
    margin: 51px 36px 0 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

ul{
    list-style: none;
    padding: 0;
    color: black;
}

/* #region TEXTES */
    .grosTexte{
        font-weight: 600;
        font-size: 25px;
        margin-top: 0;
        margin-bottom: 25px;
        border: 2px solid black;
        padding: 18px;
    }
    .grosTexte--border{
        border: 0 solid transparent;
        padding: 0;
    }

    .enTete__texte{
        color: #B31F23;
        font-size: 51px;
        font-family: "old-man-eloquent", sans-serif;
        line-height: 0;
    }

    a{
        color: black;
        text-decoration: underline black;
        cursor: pointer;
    }
/* #endregion */

/* IMAGES */
    img{
        width: 100%;
    }

    .menu__image{
        width: 130px;
        height: auto;
        margin-top: 18px;
        margin-left: 18px;
    }

    .infos__image{
        border-radius: 100%;
        overflow: hidden;
        width: 100px;
        height: auto;
        align-self: flex-start;
        margin: 18px;
        filter: grayscale(100%);
    }

/* #region SECTION EN TETE */
    .enTete{
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-bottom: 51px;
    }

    .enTete__cadre{
        background-image: url(images/top-secret.svg);
        background-repeat: no-repeat;
        background-position: top center;
        padding-top: 108px;
        background-size: min(75%, 400px);
    }
/* #endregion */

/* SECTION CRITIQUE */
    .critique{
        border: 2px solid black;
        padding: 18px;
        margin-bottom: 51px;
    }

/* #region NAVIGATION */
    .menu__button{
        overflow: hidden;
        font-size: 0;
        background: transparent;
        border: none;
    }

    .menu__el a, .infos__el a{
        border-radius: 20px;
        transition: all 0.3s ease-in-out;
        padding: 9px;
    }

    .menu__el a:hover,
    .menu__el a:focus{
        background-color: #fff;
        color: black;
        text-decoration: underline black;
    }

    .menu__el--active a{
        color: black;
        background-color: #fff;
        border-radius: 20px;
        text-decoration: underline black;
    }

/* BURGER MENU */
    .menu__el{
        display: block;
        margin: 18px;
    }
    .menu__toggle{
        position: fixed;
        top: 20px;
        right: 25px;
        width: 35px;
        height: auto;
        background: #C8A174;
        border-radius: 20px;
        padding: 9px;
        cursor: pointer;
        z-index: 20;
    }
    .menu__liste{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #C8A174;
        margin: 0;
        z-index: 11;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    .menu--open .menu__liste{
        transform: translateX(0);
    }

.no-scroll{ /* pour pas que la page continue à scroller en dessous du burger menu*/
    overflow: hidden;
}
/* #endregion */

/* #region SECTION NEXT PAGE*/
.nextPage__texte{
        display: flex;
        justify-content: center;
        /* max-width: 292px; */
        background-color: #C8A174;
        border-radius: 20px;
        padding: 9px;
    }
    .nextPage__texte:hover{
        background-color: #fff;
    }
/* #endregion */

/* #region FOOTER*/
    .infos{
        display: flex;
        font-size: 18px;
        gap: 0px;
        width: 100%;
    }
    .infos__liste {
        width:100%;
        margin: 18px;
    }

    .footer{
        display: flex;
        position: relative;
        align-items: flex-end;
        height: 200px;
        margin-top: 72px;
    }
    .footer:before{
        content: "";
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        background-image: url(images/footer-papier2.webp);
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: 200%;
        z-index: -1;
    }
/* #endregion */


@media (min-width: 800px){
/* IMAGES */
    .infos__image{
        width: 150px;
    }

/* #region SECTION EN TETE */
    .enTete{
        width: 100%;
    }
    .enTete__cadre{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .box1{
        grid-column: 1 / 2;
    }

    .box2{
        grid-column: 2 / 3;
    }

    .box3{
        grid-column: 3 / 4;
    }
/* #endregion */

/* #region SECTION CRITIQUE */
    .critique{
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0 18px;
        position: relative;
    }

    .critique::after{
        position: absolute;
        content: "";
        top: -27px;
        right: 30px;
        width: 250px;
        height: 250px;
        background-image: url(images/alberta5@2x.webp);
        transform: rotate(5deg);
        background-size: contain;
        background-repeat: no-repeat;
    }

    .box7{
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .box8{
        grid-column: 1 / 4;
        grid-row: 2 / 3;
    }

    .box9{
        grid-column: 1 / 6;
    }
/* #endregion */

/* FOOTER*/
    .infos{
        width: 700px;
    }

    .footer{
        justify-content: center;
        height: 300px;
    }
    .footer:before{
        background-size: 120%;
    }
}

@media (min-width: 900px){
    .max{
        margin-top: 141px;
    }

/* #region NAVIGATION */
    .header {
        position: relative;
    }

    .menu__button, .menu__toggle{
        display: none;
    }

    .menu{
        background-color: #D7CFC0;
        position: fixed;
        display: flex;
        width: 100%;
        align-items: center;
        top: 0px;
        z-index: 10;
    }

    .menu__liste{
        position: relative;
        display: flex;
        justify-content: space-evenly;
        width: 100%;
        height: 100%;
        background-color: #D7CFC0;
        margin: 10px 0 0 15px;
        transform: none;
        transition: none;
    }

    .menu__el a{
        color: black;
        text-decoration: underline black;
    }

    .menu__el a:hover,
    .menu__el a:focus{
        background-color: #C8A174;
    }

    .menu__el--active a{
        background-color: #C8A174;
    }
/* #endregion */
}