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

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

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

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

p{
    margin: 0;
}

/* TEXTES */
    .title{
        font-weight: 900;
        font-size: 51px;
        margin-top: 0;
        margin-bottom: 51px;
    }
    .title--pixel{
        display: inline-block;
        border: 20px solid transparent;
        border-image-source: url("images/bulle-pixel.svg");
        border-image-slice: 45 fill; 
        image-rendering: pixelated;
        padding-bottom: 18px;
        margin-top: 0;
        margin-bottom: 51px;
    }

    @media (max-width: 600px) {
        .title--pixel{
            border-image-slice: 30 fill; 
        }
    }

    .grosTexte{
        font-weight: 600;
        font-size: 25px;
        margin-top: 0;
    }

    a{
        color: #0A1725;
        text-decoration: underline #0A1725;
        cursor: pointer;
    }

    .texte__color--full{
        color: #0A1725;
        padding: 18px;
        background-color: #FBD1DD;
    }

/* IMAGES */
    img{
        width: 100%;
    }
    .img--radius{
        border-radius: 20px;
    }

    .img__border--box{
        display: none;
    }

    .texte__deco{
        padding-bottom: 86px;
        background-image: url(images/coeur.svg);
        background-repeat: no-repeat;
        background-position: bottom center;
        background-size: 60px;
        margin-bottom: 36px;
    }

    .texte__deco--3{
        margin-bottom: 51px;
    }
    
    @media (max-width: 849px) {
        .reseaux__img--actif{
            background-color: #0A1725;
            padding: 18px;
            border-radius: 100%;
            transform: translateX(110px);
        }
    }

/* #region SECTION FACT */
    .box3{
        padding: 18px;
        margin-bottom: 51px;
        background-color: #686868;
        border-radius: 0 0 20px 20px;
        box-shadow: 6px 6px rgba(0, 0, 0, 0.1);
    }

    .box3 .grosTexte{
        margin-bottom: 25px;
    }

    .containerFact{
        margin-bottom: 51px;
    }
/* #endregion */

/* #region SECTION RESEAUX*/
    .reseaux{
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #FBD1DD;
        border-radius: 20px;
        padding: 18px;
        margin-bottom: 51px;
        margin-right: 136px;
        gap: 25px;
        width: 100px;
        color: #0A1725;
    }

    .reseaux__img{
        position: relative;
        z-index: 10;
        transition: transform 0.5s ease-in-out;
    }

    .reseaux__item{
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .reseaux__texte{
        position: absolute;
        font-weight: 600;
        z-index: 9;
        top: 25%;
    }
/* #endregion */

/* #region SECTION PROMO */
    .containerPromo{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        margin-bottom: 51px;
    }

    .img__border{
        border: 2px solid #FBD1DD;
        width: 218px;
        margin: 36px 0;
    }

    .box6{
        margin-top: 0;
    }
/* #endregion */

/* #region NAVIGATION */
    .menu__image{
        width: 130px;
        height: auto;
        margin-top: 18px;
        margin-left: 18px;
    }

    .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: #0A1725;
        text-decoration: underline #0A1725;
    }

    .menu__el--active a{
        color: #BCCDFB;
        background-color: #0A1725;
        border-radius: 20px;
        text-decoration: underline #BCCDFB;
    }
/* BURGER MENU */
    .menu__el{
        display: block;
        margin: 18px;
    }

    .menu__toggle{
        position: fixed;
        top: 20px;
        right: 25px;
        width: 35px;
        height: auto;
        background: #BCCDFB;
        border-radius: 20px;
        padding: 9px;
        cursor: pointer;
        z-index: 20;
    }

    .menu__liste{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #BCCDFB;
        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: #FBD1DD;
        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__image{
        border-radius: 100%;
        overflow: hidden;
        width: 100px;
        height: auto;
        align-self: flex-start;
        margin: 18px;
    }

    .infos__liste {
        width:100%;
        margin: 18px;
    }

    .footer{
        display: flex;
        position: relative;
        margin-top: 252px;
        background-color: #BCCDFB;
        min-height: 150px;
    }
    .footer:before{
        content: "";
        position: absolute;
        top: -150px;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        background-image: url(images/footer2.png);
        background-repeat: repeat-x;
        background-position: left top;
        z-index: -1;
    }

/* #endregion */

/* #region SECTION CREDITS */
    .containerCredit{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slider{
        filter: grayscale();
        border: 2px solid #fff;
        border-radius: 20px;
        max-width: 300px;
    }

    .img__credits{
        border-radius: 20px;
        width: 280px;
    }

    .slider__list{
        list-style: none;
        padding: 0;
        margin: 0;
        position: relative;
    }

    .slider__el{
        display: flex;
        justify-content: center;
    }

    .box3 a{
        color: #fff;
        text-decoration: underline #fff;
    }

    .marge .box3{
        margin: 0;
    }

    .marge{
        margin-bottom: 51px;
    }
/* #endregion */

@media (min-width: 850px){
/* #region TEXTES */
    .title--pixel{
        border-image-slice: 45 fill; 
    }

    .title--middle{
        display: flex;
        justify-content: center ;
    }

    .texte__bleu{
        background-color: #0A1725;
        margin: 0;
    }
/* #endregion */
    
/* #region IMAGES */
    .infos__image{
        width: 150px;
    }
/* #endregion */

/* #region SECTION FACT et CREDITS */
    .containerFact{
        display: grid;
        gap: 0 18px;
        grid-template-columns: repeat(4, 1fr);
    }

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

    .box2{
        display: grid;
        grid-column: 1 / 3;
    }

    .box3{
        grid-column: 1 / 3;
        margin: 0;
        background-color: #686868;
        border-radius: 0 0 20px 20px;
        box-shadow: 6px 6px rgba(0, 0, 0, 0.1);
    }

    .marge{
        grid-column: 1 / 3;
    }

    .boxCredit .box3, .boxCredit .box2{
        grid-column: 1 / 5;
    }

    .box4{
        grid-column: 3 / 5;
    }

    .containerLink{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .slider{
        max-width: 100%;
    }
/* #endregion */
    
/* #region SECTION RESEAUX*/
    .reseaux{
        position: relative;
        flex-direction: row;
        justify-content: space-evenly;
        width: auto;
        padding: 18px 36px;
        height:160px;
        margin-right: 0;
    }
    .reseaux::after{
        content: "";
        background-image: url(images/fleche-pixel.svg);
        background-repeat: no-repeat;
        width: 120px;
        height: 120px;
        position: absolute;
        bottom: -40px;
        right: -40px;
        z-index: 20;
    }

    .reseaux__item{
        flex-direction: row;
    }

    .reseaux__img{
        width: 90px;
        background-color: #FBD1DD;
        padding: 18px;
        border-radius: 100%;
    }

    .reseaux__texte{
        top: 20%;
        width: 100%;
    }

    .reseaux__img:hover{
        background-color: #0A1725;
        padding: 18px;
        border-radius: 100%;
        transform: translateY(80px);
    }
/* #endregion */

/* #region SECTION AVIS */
    .photoFond{
        background-image: url(images/alberta3@2x.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }

    .texte__deco{
        background-image: none;
    }

    .texte__deco--3{
        background-image: url(images/coeur3.svg);
        background-size: 200px;
    }

    .containerAvis{
        display: grid;
        max-width: 1000px;
        gap: 0;
        grid-template-columns: repeat(5, 1fr);
    }
    .box12{
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        padding: 0 18px 18px 0;
    }
    .box13{
        grid-column: 3 / 6;
        grid-row: 2 / 3;
        padding: 18px 0 18px 18px;
    }
    .box14{
        grid-column: 1 / 3;
        grid-row: 3 / 4;
        padding: 18px 18px 18px 0;
    }
    .box15{
        grid-column: 4 / 6;
        grid-row: 4 / 5;
        padding: 18px 0 0 18px;
    }
/* #endregion */

}

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

/* #region SECTION PROMO */
    .texte__color{
        border: 2px solid #FBD1DD;
        padding: 18px;
        margin: 0;
    }

    .img__border--box{
        display: grid;
        border: 0px solid transparent;
    }

    .img__border--not{
        display: none;
    }

    .texte__color--full{
        margin-top: 20px;
    }

    .img__border{
        margin: 0;
    }

    .containerPromo{
        display: grid;
        max-width: 1000px;
        gap: 0;
        grid-template-columns: repeat(5, 1fr);
    }

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

    .box6{
        grid-column: 5 / 6;
        grid-row: 2 / 3;
        margin-left: 20px;
    }

    .box7{
        grid-column: 2 / 5;
        grid-row: 2 / 3;
        max-width: 465px;
    }

    .box8{
        grid-column: 3 / 5;
        grid-row: 3 / 5;
    }

    .box9{
        grid-column: 1 / 3;
        grid-row: 4 / 5;
    }

    .box10{
        grid-column: 4 / 5;
        grid-row: 5 / 6;
    }
    
    .box11{
        grid-column: 4 / 5;
        grid-row: 7 / 8;
    }
/* #endregion */

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

    .menu__button, .menu__toggle{
        display: none;
    }

    .menu{
        background-color: #0A1725;
        position: fixed;
        display: flex;
        width: 100%;
        align-items: center;
        top: 0px;
        z-index: 20;
    }
    
    .menu__liste{
        position: relative;
        display: flex;
        justify-content: space-evenly;
        width: 100%;
        height: 100%;
        background-color: #0A1725;
        margin: 10px 0 0 15px; /* car le ul a un margin par défaut*/
        transform: none;
        transition: none;
    }

    .menu__el a{
        color: #fff;
        text-decoration: underline #fff;
    }
    .menu__el a:hover,
    .menu__el a:focus{
        background-color: #BCCDFB;
    }
    .menu__el--active a{
        color: #0A1725;
        background-color: #BCCDFB;
        text-decoration: underline #0A1725;
    }
/* #endregion */

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

    .footer{
        justify-content: center;
    }
}