body{
    font-family: sans-serif;
    font-size: 16px;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 0px;
    margin: 0;
    color: var(--color-text);
    background-color: var(--color-bg);
    counter-reset: titleSection;
}






/* Header */

.headerNav__el a{
    text-decoration: none;
    color: white;
    font-family: 'jersey 25';
    font-size: 24px;
}

.headerNav__el{
    margin-bottom: 50px;
}

.headerNav__el a:hover{
    transition: 0.5s;
    color: #9A7E23;
}
.nav--header{
    background-color: black;
    width: 100%;
    height: 60px;
    position: fixed;
}

.header__Nav{
    list-style: none;
    margin-bottom: 50px;
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    height: 100%;
    width: 150px;
    
    /*100% de sa taille Ã lui donc ici 100% du viewport*/
    /*
    translate
    rotate
    scale
    */
    transition: transform.3s ease-in-out;
}

.banner--header{
    padding-top: 60px;
    position: relative;
    z-index: -10;
}

.menu__btn{
    color: white;
    background-color: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
    font-size: 30px;
    font-family: 'jersey 25';
    position: fixed;
    top: 15px;
    right: 30px;
    z-index: 10;
}

.menu__btn:hover{
    transition: 0.5s;
    color: #9A7E23;
}

.menu--open .header__Nav{
    transform: translateX(0);
}






/* Main */

.section > *:last-child{
    margin-bottom: 72px;
}

.p__big{
    font-size: 20px;
    font-family: 'albert sans';
    text-align: left;
    padding-bottom: 25px;
    grid-column: 2/-1;
    color: #CAB570;
    font-weight: 400;
}

.p__giant{
    font-size: 90px;
    text-align: left;
    color: #CCCCCC;
    font-family: 'Aldrich';
    padding-bottom: 0px;
    margin: auto;
    grid-column: 1/-1;
    display: flex;
}

p{
    margin-top: 10px;
    font-family: 'nova square';
    grid-column: 1/-1;

}

.fig__leg{
    text-align: left;
    font-size: 16px;
    color: rgb(153, 153, 153);
    font-family: 'albert sans';
    font-weight: bold;
    text-align: center;
}

.p__green{
    color: #56B039;
    font-family: 'Passion One';
    font-size: 20px;
    padding-top: 20px;
}

.p__medium1{
    text-align: left;
    grid-column: 1/-1;
}

.p__medium2{
    text-align: left;
    grid-column: 1/-1;
    margin-top: -184px;
    margin-left: 200px;
}

.p__small{
    font-size: 11px;
    font-family: 'Passion One';
    margin-top: -20px;
    color: #CAB570;
}

.p__white{
    color: #fff;
    font-family: 'Passion One';
    font-size: 16px;
    margin-top: -20px;
}







/* grid */

.section{
    display: grid;
    grid-template-columns: 1fr 5.8fr;
    column-gap: 16px;
    margin-left: 20px;
    margin-right: 20px;
    line-height: 1.4;
    margin-top: 0px;  
}











/* Image */

.image--full{
    width: 100%;
    height: 20%;
    position: relative;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-bottom: -50px;
    grid-column: 1/-1;
}

.logo__lock{
    width: 30px;
    height: 30px;
    padding-top: 5px;
    
}

.zevent{
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: -40px;
    margin-bottom: 20px;
}
.image__medium{
    width: 70%;
    height: 30%;
    position: relative;
    z-index: -10;
}

.figure--medium{
    grid-column: 1/-1;
    padding-left: O;
    text-align: center;
}

.image__link{
    width: 283px;
    height: 170px;
    padding-bottom: 20px;
    margin-top: Opx;
    margin-right: 20px;
    grid-column: 1/-1;
}

.image__medium2{
    width: 60%;
    height: 20%;
    padding-bottom: 20px;
    margin-top: Opx;
    margin-right: 20px;
}








/* Title */

.title__header{
    display: inline-block;
    background-color: black;
    color: white;
    font-size: 30px;
    font-family: 'jersey 25';
    margin-top: 0px;
}

.title--locklear{
    z-index: 10;
    margin-top: 10px;
   display: flex;
   justify-content: center;

   
}

.title--big{
    text-align: center;
    position: relative;
    font-family: 'jersey 25';
    font-size: 81px;
    padding-top: 0px;
    padding-bottom: 81px;
    margin-top: 0px;
}

.title--section{
    text-align: left;
    font-size: 36px;
    font-family: 'jersey 25';
    text-decoration: underline 1px rgb(97, 97, 97);
    text-underline-offset: 10px;
    counter-increment: titleSection;
    padding-bottom: 36px;
    grid-column: 1/-1;
}

.title--section:before{
content: "/" counter(titleSection) " ";
}

.link--factuelle{
    display: flex;
    justify-content: center;
    
}
.link--factuelle a{
    text-decoration: none;
    cursor: pointer;
    color: #9A7E23;
    font-size: 40px;
    font-family: 'jersey 25';
    margin-top: -20px;
    margin-bottom: 70px;
    
}

.link--factuelle a:hover{
    transition: 0.5s;
    color: #cab570;
}







/* Footer */

.certification{
    display: flex;
}

.img__certification{
    width: 20px;
    height: 20px;
    margin-left: 15px;
    margin-top: 12px;
}

.locklear{
    margin-left: 7px;
}

.section--footer{
    background-color: #000000;
    color: white;
    font-family: 'albert sans';
    padding: 20px;
    margin:0;
}

.footerNav{
    list-style:none;
    margin: 0 0 30px 0;
    padding: 0; 
    text-align: center;
    margin-bottom: 10px;
    
    }
    .footerNav__el{
    padding: 0 15px;
    padding-bottom: 20px;
    
    }
    .footerNav__el a{
        font-weight: normal;
        text-transform: uppercase;
        font-size: 13px;
        border:none;
        opacity: .5;
        letter-spacing: .11em;
        color:white;
        
        
    }
    .footerNav__el a:hover,
    .footerNav__el a:focus{
        opacity: 1;
    }

    .p__footer{
        font-size: 20px;
        font-weight: bold;
        opacity: 0.5;
    }

    .header__deckstop{
        opacity: 0;
    }

    .video__1{
        text-align: center;
    }



    /* DARK MODE */

:root{ /*declarer les variables*/
    --color-bg: #131313;
    --color-offset: #131313;
    --color-text: #9A7E23;
    --color-text-offset: #9A7E23;
    --color-primary: #5c2cc4;
    --color-secondary: #cab570;
}

@media (prefers-color-sheme: dark){
    :root{
        --color-bg: #000;
        --color-offset: #000;
        --color-text: #F4F4F4;
        --color-text-offset: #F4F4F4;
        --color-primary: #cab570;
        --color-secondary: #5c2cc4;
    } 
}

[data-theme="light"]{
    --color-bg: #131313;
    --color-offset: #131313;
    --color-text: #9A7E23;
    --color-text-offset: #9A7E23;
    --color-primary: #5c2cc4;
    --color-secondary: #cab570;
}

[data-theme="dark"]{
    --color-bg: #000;
    --color-offset: #000;
    --color-text: #F4F4F4;
    --color-text-offset: #F4F4F4;
    --color-primary: #cab570;
    --color-secondary: #5c2cc4;
}

.btn--darkMode{
    border: none;
    background: none;
    font-size: 20px;
    margin: 0;
    padding: 0;
    color: white;
    position: absolute;
    left: 25px;
    font-family: 'jersey 25';
    top: 20px;
}

.btn--darkMode:hover{
    color: #9A7E23;
    transition: 0.3s;
}






    @media (min-width: 650px){
        
        .section{
            display: grid;
            grid-template-columns: 1fr 1fr 2fr;
            column-gap: 18px;
        }

        .video__1{
            height: 500px;
            width: 60%;
            margin-left: 245px;
            margin-top: -50px;
        }
        
        body{
            font-size: 18px;
        }

        .title--big{
            margin-top: -30px;
            font-size: 137px;
            padding-bottom: 91px;
        }

        .title--section{
            font-size: 41px;
            padding-bottom: 41px;
        }

        .p__big{
            grid-column: 3/-1;
            font-size: 24px;
        }

        p{
            grid-column: 2/-1;
        }

        .p__giant{
            grid-column: 2/-1;
            margin-left: -5px;
        }

        .image__medium2{
            margin-left: -310px;
            width: 40%;
            margin-left: 370px;
            margin-right: 30px;
            margin-top: -100px;
        }

        .image__medium{
            margin-left: -120px;
            width: 80%;
        }

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

        .p__medium2{
            grid-column: 2/4;
            margin-top: 0px;
            margin-left: 0px;
        }

        .p__green{
            font-size: 26px;
        }

        .section> *:last-child{
            padding-bottom: 82px;
        }

        .p__white{
            font-size: 20px;
        }

        .p__small{
            font-size: 18px;
        }

        .footerNav__el a{
            font-size: 20px;
            font-weight: bold;
        }
        .footerNav__el{
            padding-bottom: 20px;
        }

        .link--factuelle a{
            font-size: 61px;
        }

        .p__footer{
            font-size: 30px;
            font-weight: bold;
            opacity: 0.5;
        }

        .header__deckstop{
            opacity: 0;
        }

        .fig__leg{
            margin-left: 340px;
        }
    }

    @media (min-width: 1024px){

         .section{
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr 3fr;
            column-gap: 20px;
        }

        .video__1{
            width: 50%;
            margin-left: 435px;

        }

        body{
            font-size: 20px;
        }

        .title--big{
            font-size: 210px;
            padding-bottom: 0px;
            top: -150px;
        }

        .title--section{
            font-size: 45px;
            padding-bottom: 45px;
            
        }

        .p__big{
            grid-column: 4/-1;
            font-size: 28px;
        }

        p{
            grid-column: 3/-1;
        }

        .p__giant{
            grid-column: 1/3;
            margin-left: 40px;
            margin-top: 0px;

        }

        .section> *:last-child{
            padding-bottom: 90px;
        }

        .p__medium1{
            margin-left: 50px;
            grid-column: 1/3;
        }

        .p__medium2{
            grid-column: 3/5;
            margin-top: 0px;
            margin-left: 0px;
        }

        .p__green{
            font-size: 30px;
        }

        .p__white{
            font-size: 24px;
        }

        .p__small{
            font-size: 20px;
        }

        .image__medium2{
            margin-left: -310px;
            width: 30%;
            margin-left: 513px;
            margin-right: 30px;
            margin-top: -100px;

        }

        .image__medium{
            margin-left: -200px;
            width: 60%;
        }

        .fig__leg{
            margin-left: 480px;
        }

        .footerNav{
            list-style:none;
            margin: 0 0 30px 0;
            padding: 0; 
            display: flex;
            justify-content: center;
            margin-bottom: 10px;
        }
    
        .footerNav__el a{
            font-size: 24px;
            font-weight: bold;
        }

        .link--factuelle a{
            font-size: 68px;
        }

        .title__header{
            font-size: 40px;
            position: absolute;
            right: 100px;
        }
    
        .logo__lock{
            width: 40px;
            height: 40px;
            position: absolute;
            right: 50px;
        }
    
        .headerdeckstop__el{
            padding: 0 15px;
            padding-top: 20px;
            
        }
    
        .menu__btn{
            opacity: 0;
        }
    
        .header__deckstop{
            position: absolute;
            list-style:none;
            padding: 0; 
            text-align: center;
            display: flex;
            z-index: 30;
            top: -19px;
            position: fixed;
            margin-left: 30px;
            opacity: 1;
        }
    
    
        .headerdeckstop__el a{
            font-weight: normal;
            text-transform: uppercase;
            font-size: 20px;
            border:none;
            opacity: .5;
            letter-spacing: .11em;
            color: white;
        }
    
        .headerdeckstop__el a:hover,
        .heaerdeckstop__el a:focus{
        opacity: 1;
        }


        .btn--darkMode{
            font-weight: normal;
            text-transform: uppercase;
            font-size: 20px;
            border:none;
            opacity: .5;
            letter-spacing: .11em;
            color: white;
            font-family: 'albert sans';
            margin-left: 550px;
            cursor: pointer;
        }
        
        .btn--darkMode:hover{
        opacity: 1;
        color: white;
        }

        .headerdeckstop__el .active{
            opacity: 1;
            font-weight: bold;
        }


    }