body{
    font-family: sans-serif;
    font-size: 16px;
    margin: 0 0 0 0px;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}








/* 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 */


.p__section3{
    margin-right: 50px;
}

.orange{
    color: var(--color-text-offset);
}

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


.skillsList__el{
    opacity: 0;
    list-style: none;
    transform: translateX(-100%);
    transition: opacity 100ms ease-in, transform 500ms ease-out;
    position: absolute;
    min-height: 200px;
    width: 100%;
    overflow-x: hidden;
    
}

.skillsList__el--visible{
    opacity: 1;
    z-index: -1;
    transform: translateX(0%);
    position: relative;
    margin-right: 20px
}

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


.gamesList__el{
    opacity: 0;
    list-style: none;
    transform: translateX(-100%);
    transition: opacity 100ms ease-in, transform 500ms ease-out;
    position: absolute;
    min-height: 260px;
    width: 100%;
    overflow-x: hidden;
    
}

.gamesList__el--visible{
    opacity: 1;
    z-index: -1;
    transform: translateX(0%);
    position: relative;
    margin-left: -10px;
    margin-right: 30px;
}

p{
    font-size: 16px;
    font-family: 'Albert sans';
    font-weight: regular;
    line-height: 1.4;
    margin-left: 30px;
    
    

}

.background__sec2{
    position: relative;
    z-index: -10;
    width: 100%;
    height: 264px;
    background-color: var(--color-primary);
}




.link--factuelle{
    display: flex;
    justify-content: center;
    margin-left: 10px;
}
.link--factuelle a{
    text-decoration: none;
    cursor: pointer;
    font-size: 35px;
    font-family: 'albert sans';
    margin-top: 40px;
    margin-bottom: 70px;
    color: var(--color-text-offset);
    
}

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










/* Image */

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

.image__big{
    width: 300px;
    height: 380px;
}

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

.imagesection2{
    display: flex;
}


.image__el{
    list-style: none;
    opacity: 0;
    z-index: -1;
    transform: translateX(0%);
    transform: translateY(-55%);
    position: absolute;
    margin:auto;
    margin-bottom: -150px;
    transition: opacity 0ms ease;
    width: 201px;
    height: 276px;
}

.image__el--active{
    opacity: 1;
    z-index: -1;
    transform: translateX(0%);
    transform: translateY(-55%);
    position: relative;
    margin-bottom: -100px;
    display: flex;
    justify-content: center;
    margin-left: 55px;
}

.img__certification{
    padding-top: 8px;
}







/* bouton */

.btn__number{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin-right: 100px;

    
}

.btn__numberG{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin-right: 100px;

    
}

.number{
    padding-right: 20px;
    font-weight: bold;
}

.number--active{
    padding-right: 20px;
    font-weight: bold;
    color: orange;
}

.numberG{
    padding-right: 20px;
    font-weight: bold;
}

.numberG--active{
    padding-right: 20px;
    font-weight: bold;
    color: #CC2DFF;
}


.number:first-child{
    padding-left: 20px;
}

.btn__Dhover{
    background-color: var(--color-text-offset);
    margin-top:10px;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: none;
    padding: 0;
    margin-right: -50px;
    margin-bottom: 10px;
    
    cursor: pointer;
    box-shadow: 0px 4px 0px white;
    
    /* masquer texte */
    white-space: nowrap;
    text-indent: 100%;
    overflow: hidden;
    background-image: url(images/Vector.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.btn__Dhover:hover{
    margin-bottom: 0px;
    transition: transform.3s ease-in-out;
    box-shadow: 0px 0px 0px;
}

.btn__Dhover2{
    background-color: var(--color-text-offset);
    margin-top:10px;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: none;
    padding: 0;
    margin-right: 150px;
    margin-bottom: 10px;
    
    
    cursor: pointer;
    box-shadow: 0px 4px 0px white;
    
    /* masquer texte */
    white-space: nowrap;
    text-indent: 100%;
    overflow: hidden;
    background-image: url(images/PC/mobile/Vector.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.btn__Dhover2:hover{
    margin-bottom: 0px;
    transition: transform.3s ease-in-out;
    box-shadow: 0px 0px 0px;
}

.btn__DhoverG{
    background-color: var(--color-primary);
    margin-top:10px;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: none;
    padding: 0;
    margin-right: -50px;
    margin-bottom: 10px;
    
    cursor: pointer;
    box-shadow: 0px 4px 0px white;
    
    /* masquer texte */
    white-space: nowrap;
    text-indent: 100%;
    overflow: hidden;
    background-image: url(images/Vector.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.btn__DhoverG:hover{
    margin-bottom: 0px;
    transition: transform.3s ease-in-out;
    box-shadow: 0px 0px 0px;
}

.btn__Dhover2G{
    background-color: var(--color-primary);
    margin-top:10px;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: none;
    padding: 0;
    margin-right: 150px;
    margin-bottom: 10px;
    
    cursor: pointer;
    box-shadow: 0px 4px 0px white;

    /* masquer texte */
    white-space: nowrap;
    text-indent: 100%;
    overflow: hidden;
    background-image: url(images/PC/mobile/Vector.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.btn__Dhover2G:hover{
    margin-bottom: 0px;
    transition: transform.3s ease-in-out;
    box-shadow: 0px 0px 0px;
}







/* 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: 'Aldrich';
    grid-column: 1/-1;
    padding-bottom: 36px;
    margin-left: 30px;
    
}







/* Div */

.présentation__lock{
    text-align: center;
}

.title__skills{
    display: flex;
    justify-content: center;
    font-size: 35px;
    font-family: 'passion one';
    margin-bottom: 20px;
}

.title__comp{
    display: flex;
    font-size: 20px;
    font-family: 'passion one';
    margin-bottom: 20px;
}

.title__section{
    display: flex;

}

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







/* 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;
}



/* DARK MODE */

:root{ /*declarer les variables*/
    --color-bg:  #0c0216;;
    --color-offset:  #0c0216;
    --color-text: rgb(224, 224, 224);
    --color-text-offset: #ffa500;
    --color-primary: #CC2DFF;
    --color-secondary: #9A7E23;
}

@media (prefers-color-sheme: dark){
    :root{
        --color-bg: #000;
        --color-offset: #000;
        --color-text: #F4F4F4;
        --color-text-offset: #9a9a9a;
        --color-primary: #9a9a9a;
        --color-secondary: #CC2DFF;
    } 
}

[data-theme="light"]{
    --color-bg:  #0c0216;;
    --color-offset:  #0c0216;
    --color-text: rgb(224, 224, 224);
    --color-text-offset: #ffa500;
    --color-primary: #CC2DFF;
    --color-secondary: #9A7E23;
}

[data-theme="dark"]{
    --color-bg: #000;
    --color-offset: #000;
    --color-text: #F4F4F4;
    --color-text-offset: #9a9a9a;
    --color-primary: #9a9a9a;
    --color-secondary: #CC2DFF;
}

.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 2fr 1fr;
        column-gap: 18px;
    }

    .skillsList{
        grid-column-start: 2;
    }

    .gameslist{
        grid-column-start: 2;
        margin-top: -50px;
    }

    .présentation__lock{
        grid-column: 2/3;
    }

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

    .btn__number{
        grid-column: 2/3;
        margin-bottom: 50px;
    }

    .btn__numberG{
        grid-column: 2/3;
        margin-bottom: 50px;
    }

    .title--section{
        display: flex;
        flex-direction: row;
        grid-column-start: 1;
        padding-bottom: 41px;
        font-size: 41px;
    }

    .title--section .white{
        margin-right: 10px;
    }

    p{
        font-size: 18px;
    }

    .title__comp{
        font-size: 24px;
    }

    .image--full{
        height: 20%;
    }

    .skillsList__el{
        min-height: 200px;
    }

    .gamesList__el{
        min-height: 250px;
    }

    .btn__Dhover2{
        margin-right: 300px;
    }

    .btn__Dhover2G{
        margin-right: 300px;
    }

    .image__big{
        width: 393px;
        height: 500px;
    }
    
    .image__el{
        height: 350px;
    }

    .background__sec2{
        grid-column: 1/-1;
        height: 300px;
    }

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

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

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

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

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

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

    .header__deckstop{
        opacity: 0;
    }

    .image__el--active{
        margin-left: 110px;
    }

}


@media (min-width: 1024px){

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

    .skillsList{
        grid-column: 2/5;
        padding-top: 200px;
        padding-left: 0px;
    }

    .gameslist{
        grid-column: 2/5;
        grid-row-start: 3;
        padding-top: 70px;
        padding-left: 10px;
    }

    .présentation__lock{
        grid-column: 1/2;
    }

    .btn__Dhover2{
        margin-right: 150px;
    }

    .btn__Dhover2G{
        margin-right: 150px;
    }

    .btn__number{
        grid-column: 1/2;
        margin-bottom: 50px;
    }

    .btn__numberG{
        grid-column: 1/2;
        margin-bottom: 50px;
        margin-top: 0;

    }

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

    .imgsection2{
        grid-column: 1/2;
        margin-left: 33px;

    }

    .image__el{
        height: 450px;
        margin-bottom: -300px;
    }

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

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

    p{
        font-size: 20px;
    }

    .p__section3{
        grid-column: 1/4;
    }

    .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;
    }

    .image__el--active{
        margin-left: 30px;
    }

    .menu__btn{
        opacity: 0;
    }

    .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: -15px;
        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;
    }
}












