@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');



html {
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    scroll-behavior: smooth;
    /*overflow-x: hidden;*/
}


body {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    width: 100vw;
    height: 100vh;
    position: relative;
    text-decoration: none;
    overflow-x: hidden;
}


.page{
    padding: 15vw;
    padding-top: 7vw;
}


a {
    text-decoration: none;
}

p{
    color: rgb(161, 161, 161);
    font-size: 13pt;
    font-weight: 400;
}

h1{
    font-size: 36pt;
    color: #C35C05;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    
}


h2{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18pt;
    margin: 0;
    color: #515860;
}

h3{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15pt;
    margin: 0;
    color: #515860;
}

.highlight{
    color: #515860;
    font-family: 'Poppins', sans-serif;
}

.lien{
    color: #C35C05;
    font-family: 'Poppins', sans-serif;
}





/*-----  HEADER  --------*/


header{
    z-index: 1000;
    position: fixed;
    width: 100vw;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    background-color: white;
    border-bottom: solid 2px #f7f7f7 ;
    
}

.header-home{
    display: initial;
    justify-self: flex-start;
    padding: 1vw;
    padding-left: 4vw;
    font-size: 17pt;
    font-weight: 600;
    color: #C35C05;
}

.header-menu{
    justify-self: flex-end;
}

.header-text{
    color: #515860;
    padding-right: 5vw;
    padding-top: 1vw;
    padding-bottom: 1vw;
    font-size: 15pt;
}

.active{
    color: #515860;
}


/*-----  FOOTER  --------*/

footer{
    background-color: #FDE6D2;
    padding: 2vw;
    display: flex;
    flex-direction: column;
}

.footer-text1{
    color: #C35C05;
    align-self: center;
    text-align: center;
}

.footer-copyright{
    color: #C35C05;
    align-self: center;
}

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

.reseaux-img{
    margin: 2vw;
}



/*-------------- INDEX -------------------------*/

/*-----  TOPPER  --------*/

.name{
    font-size: 45pt;
    text-align: left;
    font-weight: 600;
}


.topper{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 0;
}


.bio{
    font-size: 14pt;
    line-height: 25pt;
    width: 30vw;
    margin-top: 3vw;
    margin-bottom: 4vw;
}

.home-pic{
    width: 30vw;
    margin: 5vw;
}


.bouton{
    position: relative;
    padding: 0.8vw;
    padding-left: 1.7vw;
    padding-right: 1.5vw;
    color: white;
    font-size: 13pt;
    font-weight: 400;
    background-color: #C35C05;
    border-radius: 4px;
}


.bouton:hover{
    box-shadow: 0px 0px 13px #cfcfcfb7;
}




/*-----  WORK  --------*/

.work{
    position: relative;
    padding-top: 5vw;
    display: flex;
    flex-direction: column;
}


.work-list{
    position: relative;
    display: grid;
    grid-template-columns: 25vw 25vw 25vw;
    align-items: center;
    margin: 2vw;
    justify-content: center;  
    justify-items: center;
    align-items: center;
}



.work-vignette{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    justify-self: center;
    align-items: center;
    width: 80%;
    background-color: white;
    border: solid 2px #f7f7f7 ;
    margin: 2vw;
    border-radius: 5px;
}

.work-vignette:hover{
    box-shadow: 0px 0px 10px #e1e1e1d0;
}



.work-img{
    width: 100%;
    border-radius: 2% 2% 0% 0%;
    margin-bottom: 2vw;
}

.work-name{
    align-self: center;
    font-weight: 600;
    font-size: 20pt;
    margin: 0;
}


.work-description{
    align-self: center;
    font-size: 15pt;
    margin: 2vw;
    text-align: center;
}


#slider-4-vignette {
    overflow: hidden;
    width: 100%;
   
}

#slider-4-vignette figure{
    position: relative;
    width: 500%;
    margin: 0;
    left: 0;
    
    animation: 10s slider-4-vignette infinite;
}
#slider-4-vignette figure img {
    float: left;
    width: 20%;
    border-radius: 2% 2% 0% 0%;
    margin-bottom: 2vw;
}




@keyframes slider-4-vignette{
    0%{
        left: 0;
    }
    20%{
        left: 0;
    }
    25%{
        left: -100%;
    }
    45%{
        left: -100%;
    }
    50%{
        left: -200%;
    }
    70%{
        left: -200%;
    }
    75%{
        left: -300%;
    }
    95%{
        left: -300%;
    }
    100%{
        left: -400%;
    }
}


/*-------------- TUTORIALS -------------------------*/


.tutorial-list{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    justify-content: center;  
    justify-items: center;
}


.tutorial-vignette{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-self: center;
    justify-content: center;
    width: 100%;
    background-color: white;
    margin: 2vw;
    border-radius: 5px;
    background-color: white;
    border: solid 2px #f7f7f7 ;
}

.tutorial-vignette:hover{
    box-shadow: 0px 0px 10px #e1e1e1d0;
}

.tutorial-link{
    display: flex;
    justify-content: center;
}



.tutorial-link img{
    width: 40vw;
    justify-self: center;
    margin: 1vw;
    border-radius: 4pt;
}




.tutorial-ink{
    padding: 0;
    margin: 2vw;
    align-self: center;
    border-radius: 4px;
}

.tutorial-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3vw;
}

.tutorial-name{
    align-self: left;
    font-weight: bold;
    font-size: 20pt;
    margin: 0;
}

.tutorial-description{
    align-self: left;
    font-size: 13pt;
    line-height: 19pt;
    text-align: left;
    padding-top: 2vw;
}

.tutorial-bouton{
    width: 11vw;
    text-align: center;
    color: #C35C05;
    font-weight: 500;
    background-color: #FDE6D2;
    padding: 0.7vw;
    margin-top: 2vw;
    border-radius: 4px;
}


.bouton-stroke-tutorials{
    position: relative;
    padding: 0.8vw;
    padding-left: 1.7vw;
    padding-right: 1.5vw;
    color: #C35C05;
    font-size: 13pt;
    font-weight: 500;
    background-color: white;
    border-radius: 4px;
    border: solid 2px #C35C05;
    cursor: pointer;
    margin: 1vw;

}

.bouton-stroke-tutorials :hover{
    box-shadow: 0px 0px 13px #cfcfcfb7;
}

.bouton-icone-tutorials{
    width: 10%;
    margin-right: 1vw;
    align-self: center;
}

/*-------------------- about ------------------*/


.about{
    padding: 15vw;
    padding-top: 10vw;
    display: flex;
    flex-direction: column;
}

.about-top{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.about-bot{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.about-text{
    width: 40vw;
}


.bouton-stroke{
    position: relative;
    padding: 0.8vw;
    padding-left: 1.7vw;
    padding-right: 1.5vw;
    color: #C35C05;
    font-size: 13pt;
    font-weight: 500;
    background-color: white;
    border-radius: 4px;
    border: solid 2px #C35C05;
    cursor: pointer;
}

.bouton-stroke:hover{
    box-shadow: 0px 0px 13px #cfcfcfb7;
}


.bouton-icone{
    width: 3%;
    margin-right: 1vw;
    align-self: center;
}


.about-pic{
    width: 40%;
    height: 40%;
    border-radius: 4px;
    margin-top: 10vw;
    margin-right: 5vw;
}


.about-contact{
    padding-top: 5vw;
    display: flex;
    flex-direction: column;
    align-self: center;
    align-items: center;
    width: 50vw;
    background-color: white;
    box-shadow: 0px 0px 13px #E1E1E1;
    margin-top: 10vw;
    padding-bottom: 5vw;
    border-radius: 4px;
}


.contact{
    text-align: center;
    font-size: 14pt;
}

.contact-titre{
    font-size: 20pt;
}

.popup .overlay{
    position: fixed;
    top: 0px;
    left:0px;
    width:100vw;
    height: 100vh;
    background: rgba(0,0,0, 0.7);
    z-index: 1;
    display: none;
}

.popup .content{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(0);
    background-color: #fff;
    width: 450px;
    height: 220px;
    z-index: 2;
    text-align: center;
    padding:20px;
    box-sizing: border-box;
    border-radius: 3px;
    
    
}

.popup .close-btn{
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 30px;
    width: 30px;
    height: 30px;
    background: #222;
    color:#fff;
    font-size: 25px;
    font-weight: 300;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
}

.popup.active .overlay{
    display: block;
}

.popup.active .content{
    transition: all 300ms ease-in-out;
    transform: translate(-50%,-50%) scale(1);
}




/*-------------------- projets ---------------------------*/

pre {
    height: auto;
    max-height: 500px;
    overflow: auto;   
    color:#000000;
    background:#dfdddd;
    border-radius: 4px;
}

.projet{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5vw;
    padding-top: 5vw;
}

.top-img{
    width: 60vw;
    margin-top: 2vw;
    border-radius: 4px;
}

.infos{
    margin-top: 2vw;
    display: flex;
    flex-direction: row;
    width: 60vw;
    justify-content: space-between;
 
}

.info-div{
    align-self: flex-start;
    display: block;
    padding: 1vw;
    border: solid 2px #f7f7f7 ;
    border-radius: 5px;
}

.infos-p{
    font-size: 12pt;
    margin: 0;
    margin-top: 0.5vw;
}


.video{
    display: block;
    width: 45vw;
    height: 25vw;
    padding-top: 4vw;
    border-radius: 4px;
}


.titre-partie{
    font-family: 'Poppins', sans-serif;
    font-size: 20pt;
    margin: 0;
    text-align: left;
    justify-self: left;
    color:#C35C05;
}


.projet-image{
    width: 47vw;
    margin-top: 4vw;
    border-radius: 4px;
}


.projet-texte{
    padding-top: 5vw;
}




.projet-paragraphe{
    padding-top: 1vw;
    width: 45vw;
    margin: 0;
    line-height: 20pt;
    font-size: 13pt;
    font-family: 'Poppins', sans-serif;
}


.projet-point{
    width: 40vw;
    margin: auto;
    padding-top: 1vw;
    line-height: 20pt;
    font-size: 13pt;
    font-family: 'Poppins', sans-serif;
}

.projet-important{
    padding-top: 2vw;
    width: 45vw;
    line-height: 25pt;
    font-size: 18pt;
    font-family: 'Poppins', sans-serif;
    color: #C35C05;
}


.projet-soustitre{
    justify-self: left;
    padding-top: 5vw;
    margin: 0;
    line-height: 17pt;
    font-size: 15pt;
    font-weight: bold;
}

.projet-série{
    display: grid;
    padding-top: 4vw;
    grid-template-columns: 20vw 20vw 20vw;
    align-items: center;
    justify-content: center;  
    justify-items: center;
}

.projet-série-deux{
    display: grid;
    grid-template-columns: 25vw 25vw;
    align-items: center;
    justify-content: center;  
    justify-items: center;
}

.projet-série-images{
    width: 18vw;
    border-radius: 2pt;
}

.projet-série-images-deux{
    width: 22vw;
    border-radius: 4px;
    margin-top: 4vw;
}


.projet-galerie{
    position: relative;
    display: grid;
    grid-template-columns: 20vw 20vw 20vw;
    align-items: center;
    margin: 0vw;
    padding: 0;
    padding-top: 4vw;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

.projet-galerie-img{
    width: 19vw;
    margin: 0;
    padding: 0.5vw;
    border-radius: 13px;
}

.projet-galerie-photo{
    width: 22vw;
    padding: 2vw;
}


#v0 {
    position: sticky;
    z-index: -10;
    width: 60vw;
    border-radius: 4px;
    bottom: 40px;
}

#set-height{
    display: block;
}

.caroussel-container{
    width: 47vw;
    margin-top: 4vw;
    border-radius: 4px;
    overflow: hidden;
    position: relative;

}


.caroussel-slide{
    display: flex;
    width: 100%;
    height: 600px;
}



#prevBtn{
    position: absolute;
    top: 50%;
    z-index: 10;
    left: 5%;
    cursor: pointer;
}
#nextBtn{
    position: absolute;
    top: 50%;
    z-index: 10;
    right: 5%;
    cursor: pointer;
}



.video-projet{
    width: 60vw;
    margin-top: 4vw;
    border-radius: 4px;
}

.video-in-projet{
    width: 47vw;
    margin-top: 4vw;
    border-radius: 4px;
}


.titre-projet{
    font-size: 36pt;
    color: #C35C05;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    position:relative;
    
    
}

#projet-série-video-deux { 
    width: 850px; 
    height: auto; 
    
} 

.clear{
    clear: both;
}

.image-layout-grid{
    position: absolute;
    justify-content: center;
    
    margin-top: 10px;
    
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 300px));
    
    column-gap: 10px;
    row-gap: 10px;
}
.image-layout{
    width: auto;
    height: 300px;
    object-fit: cover;
    
}

#slider-4-images {
    overflow: hidden;
    width: 47vw;
    margin-top: 4vw;
}

#slider-4-images figure{
    position: relative;
    width: 235vw;
    margin: 0;
    left: 0;
    
    animation: 20s slider-4-images infinite;
}
#slider-4-images figure img {
    float: left;
    width: 47vw;
    
    border-radius: 4px;

  
}
@keyframes slider-4-images{
    0%{
        left: 0;
    }
    20%{
        left: 0;
    }
    25%{
        left: -47vw;
    }
    45%{
        left: -47vw;
    }
    50%{
        left: -94vw;
    }
    70%{
        left: -94vw;
    }
    75%{
        left: -141vw;
    }

    95%{
        left: -141vw;
    }
    100%{
        left: -188vw;
    }
}

#slider-8-images {
    overflow: hidden;
    width: 47vw;
    margin-top: 4vw;
}

#slider-8-images figure{
    position: relative;
    width: 423vw;
    margin: 0;
    left: 0;
    
    animation: 40s slider-8-images infinite;
}
#slider-8-images figure img {
    float: left;
    width: 47vw;
    
    border-radius: 4px;

  
}
@keyframes slider-8-images{
    0%{
        left: 0;
    }
    10%{
        left: 0;
    }
    12.5%{
        left: -47vw;
    }
    22.5%{
        left: -47vw;
    }
    25%{
        left: -94vw;
    }
    35%{
        left: -94vw;
    }
    37.5%{
        left: -141vw;
    }
    47.5%{
        left: -141vw;
    }
    50%{
        left: -188vw;
    }
    60%{
        left: -188vw;
    }
    62.5%{
        left: -235vw;
    }
    72.5%{
        left: -235vw;
    }
    75%{
        left: -282vw;
    }
    85%{
        left: -282vw;
    }
    87.5%{
        left: -329vw;
    }
    97.5%{
        left: -329vw;
    }
    100%{
        left: -376vw;
    }
    
}


.image-detail{
    width: 800px;
    
    border-radius: 4px;
}
#image-map{
    width: 100%;
}



.popup-detail .content{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(0);
    background-color: rgb(236, 236, 236);
    width: 450px;
    height: max-content;
    z-index: 2;
    text-align:justify;
    padding:20px;
    box-sizing: border-box;
    border-radius: 4px;
}

.popup-detail .close-btn{
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 30px;
    width: 30px;
    height: 30px;
    background: #222;
    color:#fff;
    font-size: 25px;
    font-weight: 300;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
}

.popup-detail.active .overlay{
    display: block;
}

.popup-detail.active .content{
    transition: all 300ms ease-in-out;
    transform: translate(-50%,-50%) scale(1);
}
.area{
    display: block;
    cursor: pointer;
    
}

.image-popup{
    width: 80%;
    border-radius: 4px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    
}


/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/


@media screen and (max-width: 1000px) {

    

    
    .page{
        padding: 5vw;
        padding-top: 7vw;
    }

    .work-list{
        display: grid;
        grid-template-columns: 40vw 40vw;
        align-items: center;
        margin: auto;
        justify-content: center;  
    }


    .tutorial-list{
        grid-template-columns: 100vw;
        margin: auto;
    }

    .tutorial-vignette{
        width: 85vw;
        margin: auto;
        margin-bottom: 2vw;
    }
    
    
    .tutorial-link img{
        width: 40vw;
        margin-top: 5vw;
        margin-bottom: 5vw;
    
    }

    .tutorial-description{
        align-self: left;
        font-size: 10pt;
        line-height: 15pt;
    }

    .tutorial-bouton{
        width: 25vw;
    }

    .about-illu{
        width: 18vw;
    }
    
    .about-contact{
        width: 60vw;
    }




    .projet{
        padding-top: 7vw;
    }

    .top-img{
        width: 80vw;
        margin-top: 2vw;
    }

    .infos{
        margin-top: 2vw;
        width: 80vw;
    }

    .info-div{
        margin: 1vw;
    }

    .video{
        width: 80vw;
        height: 50vw;
        
    }
    

    .projet-image{
        width: 60vw;
    }
    

    .projet-paragraphe{
        width: 80vw;
        margin: auto;
    }

    .caroussel-container{
        width: 60vw;
    
    }

    .caroussel-slide{
       
        height: 300px;
    }


}



/*////////////////////////////////////////////////////////////////////////////*/

@media screen and (max-width: 500px) {

    h1{
        font-size: 25pt;
        
    }
    
    h2{
        padding: 4vw;
        margin: auto;
        text-align: center;
    }
    
    .exp{
        padding: 0;
    }
    
    .page{
        padding: 2vw;
        padding-top: 2vw;
    }

    footer{
        padding: 4vw;
    }
    
    .header{
        height: 15vw;
    }
    
    .header-text{
        padding-right: 5vw;
        padding: 4vw;
        padding-bottom: 2vw;
        font-size: 16pt;
    }

    .header-home{
        display: none;

    }

    .topper{
        flex-direction: column-reverse;
        padding: 10vw;
        padding-top: 30vw;
    }

    .name{
        font-size: 40pt;
        margin: 0;
        padding-bottom: 10vw;
        padding-top: 10vw;
    }


    .bio{
        width: 80vw;
        margin-top: 3vw;
        margin-bottom: 15vw;
        font-size: 13pt;
        line-height: 21pt;
    }

    .contact{
        font-size: 13pt;
    }


  
    .home-pic{
        width: 75vw;
        padding: 2vw;
    }

    .boutons{
        flex-direction: column;
        flex-wrap: wrap;
    }

    .bouton{
        padding: 3vw;
        padding-left: 7vw;
        padding-right: 7vw;
        font-size: 13pt;
    }

    .bouton-stroke{
        padding: 3vw;
        padding-left: 7vw;
        padding-right: 7vw;
        font-size: 13pt;
    }
    
    .bouton-icone{
        width: 4%;
        padding-right: 3vw;
    }

    .work{
        padding: 2vw;
        padding-top: 15vw;
    }

    .work-list{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .work-vignette{
        margin: auto;
        padding-bottom: 2vw;
        margin-bottom: 10vw;
    }


    .work-description{
        padding-bottom: 2vw;
        font-size: 14pt;
    }


    .tutorial-bouton{
        width: 54vw;
        
        padding: 3vw;
        margin-top: 2vw;
        border-radius: 4px;
    }

    .tutorial-vignette{
        flex-direction: column;
        width: 90vw;
        padding-top: 3vw;
        margin-bottom: 4vw;

    }

    .tutorial-text{
        justify-content: center;
        align-items: center;
        padding: 7vw;
        padding-top: 10vw;
    }

    .tutorial-description{
        padding-bottom: 4vw;
        padding-top: 2vw;
        font-size: 12pt;
        line-height: 18pt;
    }
    

    .tutorial-link img{
        width: 85vw;
        margin: auto;
    }


    .about{
        padding: 10vw;
        padding-top: 30vw;
        display: flex;
        flex-direction: column;
    }

    .about-top{
        flex-direction: column-reverse;
        align-items: center;
    }

    .about-text{
        margin: auto;
        width: 100vw;
    }

    .about-bouton{
        padding: 2vw;
        padding-left: 7vw;
        padding-right: 7vw;
        color: white;
        font-size: 18pt;
    }

    .about-pic{
        margin-bottom: 10vw;
        width: 100%;
    }
    

    .about-contact{
        width: 90vw;
        margin-top: 20vw;
        margin-bottom: 20vw;
    }





    .projet{
        padding-top: 15vw;
    }


    .top-img{
        width: 95vw;
    }

    .infos{
        width: 95vw;
        flex-direction: column;
        align-content: center;
    }


    .info-div{
        margin: auto;
        margin-bottom: 2vw;
        padding:5vw;
        width: 82vw;
    }

    
    .projet-image{
        width: 90vw;
    }

    .video{
        width: 90vw;
        height: 55vw;
    }
    
    .projet-texte{
        width: 90vw;
        padding: 2vw;
    }


    .projet-paragraphe{
        width: 90vw;
        margin: auto;
    }


    .projet-point{
        width: 90vw;
        padding-top: 3vw;
    }
    
    .projet-important{
        padding-top: 4vw;
        width: 90vw;
    }

    .projet-série{
        grid-template-columns: 30vw 30vw 30vw;
    }

    .projet-série-deux{
        grid-template-columns: 45vw 45vw;
    }

    .projet-série-images{
        width: 25vw;
    }

    .projet-série-images-deux{
        width: 40vw;
    }

    .projet-galerie{
        grid-template-columns: 30vw 30vw 30vw;
    }
    
    .projet-galerie-img{
        width: 27vw;
        margin: 0;
        padding: 1vw;
        border-radius: 6px;
    }

    .caroussel-container{
        width: 90vw;    
    }

    

}