/* ================================= HEADER ================================== */
html, body{
  margin: 0px;
  padding: 0px;
  background-color: #000000;
  color:#FFFBE7;
  scroll-behavior:smooth;
  cursor:none;
  overflow-x: hidden;

}



.flex_titre{
  display: flex;
  justify-content: center;
  align-items: center;
}

.box-img-title{
  width: 50px;
  height: 50px;
  margin: 50px;
}



/* ================================= CURSOR ================================== */



.link {
  text-decoration: none;
  color: #FFFBE7;
}

.cursor {
  position: absolute;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.outer {
  border: 2px solid #f7f7f770;
  z-index: 999;
}

.inner {
  background: #f7f7f720;
  transition: 250ms ease-out;
  z-index: 998;

}

.cursor.hover {
  transform: translate(-50%, -50%) scale(4);
  transition: transform 250ms ease-in-out;
  border: 1px solid #f7f7f770;
}

.inner.hover {
  background: #FFFBE7;
  mix-blend-mode: difference;
}




/* ================================= LENIS SMOOTH SCROLL  ================================== */

body::-webkit-scrollbar
{
  width: 10px;
  background-color: #000000;
}

body::-webkit-scrollbar-thumb
{

  border-radius: 3px;
  background-color: #FFFBE7;
  height: 100px;
}





html.lenis, html.lenis body {
height: auto;
}

.lenis.lenis-smooth {
scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
overscroll-behavior: contain;
}

.lenis.lenis-stopped {
overflow: hidden;
}

.lenis.lenis-smooth iframe {
pointer-events: none;
}





/* ================================= FONT ================================== */

@font-face {
  font-family: 'Brownbear';
  src:url(fonts/Brownbear.otf);
  }
  
  @font-face {
    font-family: 'Jakob';
    src:url(fonts/Jakob-Semi-Condensed.otf);
    }

@font-face {
font-family: 'Hey August';
src:url(fonts/Hey\ August.ttf);
}

@font-face {
font-family: 'RedHatDisplay';
src:url(fonts/RedHatDisplay-VariableFont_wght.ttf);
}

/* ================================= GLOBAL  ================================== */

a {
  cursor: none;
  font-family: 'Brownbear';
font-size: 20px;

}

h1{
  font-family: 'Brownbear';
font-size: 25px;
text-align: center;
}
  
h2{
font-family: 'Brownbear';
font-size: 55px;
text-align: center;
}

p{
font-family: 'RedHatDisplay';
font-size: 20px;

}

h3{
font-family: 'Jakob';
font-size: 45px;
max-width: 600px;
text-align: center;

}

h4{
font-family: 'Jakob';
font-size: 35px;
width: 100%;
text-align: center;
}





/*============================ NAV ========================== */
#nav{
 

display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
height: 60px;
z-index: 800;
margin-top: 10px;
/* position: fixed; */




}
 
#nav a{
color:#FFFBE7;
font-size: 25px;
padding: 0.5vw;
text-decoration: none;
transition:all 0.5s;
font-family: 'Brownbear';

}

#nav a:hover{
transition:all 0.5s;
margin-bottom: 20px;
}


/*================================ FLECHE HAUT DE PAGE  ============================*/
@keyframes fleche_anim{
  0%{
    margin-top: 33%;
  }

  50%{
    margin-top: 32.5%;
  }

  100%{
    margin-top:33%;
  }

}
#fleche {
  width:50px;
  height:50px;
  margin-left: 95%;
  margin-top: 33%;
  position:fixed;
  animation: fleche_anim 2s ease-in-out infinite ; 

  background-image: url(./images/fleche.png);
  background-size: cover;
  background-repeat: no-repeat;

  
}

#fleche:hover{
  background-image: url(./images/fleche_noir.png);
  transition: 0.5s ease-in-out;
}










/*================================ PHOTO INTRO  ============================*/
#photo_intro{
margin-top: 100px;
text-align: center;
width: 100%;



}

#photo_intro img{
width: 80%;
}


/*================================ A PROPOS ============================*/
#apropos {
padding-top: 150px;

}
#flex-apropos{
margin-top: 100px;
display: flex;
flex-direction: row;
justify-content: space-evenly;


}

.box-img-apropos{
width: 35%;
height: auto;
}
#apropos img{
width: 100%;
height: auto;

}
.box-text-apropos{
width: 500px;
text-align: center;

}

#apropos a{
  text-decoration: none;
  color: #FFFBE7;
  padding: 5px;
  transition: all 0,5s;
  font-family: 'RedHatDisplay';
  
}

#apropos:hover{
  font-size: 22px;
margin-bottom: 20px;
transition: all 0,5s;
}



/*============================== COMPETENCES ========================= */
#competences{
padding-top: 150px;
}

#flex-cpt{

margin-top: 100px;
text-align: center;
}
#competences img{
width: 8%;
}

/*================================ PROJETS =============================== */

#projets{
padding-top: 150px;

}

#projets a{
color:#FFFBE7;
text-decoration: none;
}


#flex-projets{
width: 100%;
height: auto;
display: flex;
flex-direction: column;
margin-top: 100px;
}



.box-projets{
width: 100%;
height: 350px;
border-top: #FFFBE7 solid 15px;
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
transition: ease-in-out 0.6s;

}

.box-projets:hover{
background-color: #FFFBE7;
color: #000000;
transition: ease-in-out 0.6s;
padding-bottom: 50px;
padding-top:50px;

}



#last-projets{
border-bottom: #FFFBE7 solid 15px;
}


.box-img-projets{
width: 300px;
height: 300px;
overflow: hidden;

}



.box-img-projets img{
  width: 100%;
  height: 100%;
  object-fit:cover;







}


.box-text-projets{
width: 50%;
height: 300px;
text-align: center;
line-height: 20px;
}

.box-text-projets p{
text-align: left;
}




/*========================= CONTACT ========================== */

#contact{
padding-top: 150px;


}

#contact h3{
  text-align: left;
}
#contact h2{
margin-bottom: 100px;
}

.text-contact{
margin-left: 50px;

}

#contact a{
color: #FFFBE7;
text-decoration: none;
font-family: 'RedHatDisplay';

transition: all 0,5s;
}

#contact a:hover{
  margin-bottom: 20px;
  transition: all 0,5s;

}

/*========================= DROITS ========================== */
#droits {
width: 100%;
height: 100px;
margin-top: 150px;
border-top: #FFFBE7 solid 15px;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;

}

#droits p{
text-align: center;
font-size: 15px;
width: 500px;
}





/*=========================  ========================== */
/*========================= PAGES PROJETS ========================== */
/*=========================  ========================== */

.projet{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-top: 100px;

}

.livrable{
margin-top: 100px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
embed{
width: 800px;
height: 800px;
margin-bottom: 100px;
}

.description{
width: 800px;
max-width: 800px;
}

.affiche{
width: 30%;
height:30%;
margin: 50px;
}

.affiche_petite{
  width: 70%;
height:70%;
margin: 50px;
}

.video{
width: 700px;
height: 500px;
margin-bottom: 20px;
}

.logo{
width:300px;
height: 300px;
margin: 50px;
}

.figma{
  margin: 70px;
  width: 80%;
  height: 80%;
}


.pdf{
  width: 500px;
  height:700px;
  margin: 100px;
}

    /* ========== PERSO ========== */

#gallerie_perso{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap:wrap;
  margin-top: 50px;


}

.box_gallerie{
  align-items: center;
  margin: 10px;
  width: 413px;
  height:  585px;
  overflow: hidden;
  transition: all 1s;
  max-width: 100%;


}

.box_gallerie_paysage{
  align-items: center;
  margin: 10px;
  height: 318px;
  width: 450px;
  overflow: hidden;
  transition: all 1s;

}

.box_gallerie_carre{
  align-items: center;
  margin: 10px;
  width: 413px;
  height:  413px;
  overflow: hidden;
  transition: all 1s;
  max-width: 100%;


}

.img_perso{
  width: 100%;
  height: 100%;



}

.box_gallerie:hover{
transform: scale(1.05);

}

.box_gallerie_paysage:hover{
  transform: scale(1.05);
  
  }

  .box_gallerie_carre:hover{
    transform: scale(1.05);
    
    }
  




/*========================= MEDIA QUERIES ========================== */

@media screen and (max-width:900px){

h2{
  font-size: 40px;
}
h3{
  font-size: 30px;
}
 p{
  font-size:17px;
}
.box-img-projets img{
  width: 80%;
  height: auto;
}
#competences img{
  width: 10%;
}
.box-text-apropos{
  width: 300px;

}

#fleche {
  display: none;
}


/*========================= */

.description{
  width: 600px;
}
h4{
  font-size: 20px;
}

embed{
  width: 600px;
  height: 600px;
}

.video{
  width: 500px;
  height: 300px;
}



}

@media screen and  (max-width:780px){
p{
  font-size:15px;
}
.box-img-projets img{
  width: 70%;
  height: auto;
}
h3{
  font-size: 25px;
}

#competences img{
  width: 10%;
}

.ia-typo{
  width: 40%;
height:40%;
margin: 100px;
}

.pdf{
  width: 300px;
  height:500px;
  margin: 100px;
}



}

@media screen and  (max-width:650px){


.box-projets{
  width: 100%;
  height: 100%;
  padding-top:25px ;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: space-evenly;

}

.box-img-projets{
  width: 300px;
  height: 300px;
  overflow: hidden;
}

.box-img-projets img{
  width: 100%;
  height: auto;
}
  /*========================= */

  .description{
    width: 500px;
  }
  embed{
    width: 400px;
    height: 400px;
  }
  .video{
    width: 400px;
    height: 200px;
  }

  .logo{
    width:250px;
    height: 250px;
    margin: 50px;
  }
  
}

@media screen and (max-width:550px){
p{
  font-size:15px;
}
h2{
  font-size: 40px;
}
h3{
  font-size: 20px;
}
.box-img-projets {
  width: 250px;
  height: 250px;
}
#competences img{
  width: 12%;
}

#flex-apropos{
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#fleche-haut, #fleche-bas{

  bottom: 3vh;
}

#fleche-bas{
  left: 43vw;
}

#fleche-haut{
  right:43vw;
}

.box-text-apropos{
  width: 200px;

}
  /*========================= */

  .description{
    width: 400px;
  }

  .box_gallerie{
      width: 206px;
  height:  293px;
  
  }

  .box_gallerie_paysage{
    height: 206px;
    width:  293px;
    
  
  
  }

  .box_gallerie_carre{
    height: 293px;
    width:  293px;
    
  
  
  }
  

}



@media screen and (max-width:430px){

  #nav a{
    
    font-size: 20px;

    
    }
    
#nav{
  flex-direction: column;
  margin: 30px;
}



p{
  font-size:13px;
}
h2{
  font-size: 35px;
}
h3{
  font-size: 18px;
}
.box-img-projets {
  width: 200px;
  height: 200px;
}
#competences img{
  width: 15%;
}


  /*========================= */

  .description{
    width: 250px;
  }
  embed{
    width: 200px;
    height: 200px;
  }
  .video{
    width: 350px;
    height: 150px;
  }


  
  .pdf{
    width: 200px;
    height:400px;
    margin: 100px;
  }
  
  
}

@media screen and (max-width:300px){

.box-img-apropos{
  width: 45%;
  height: auto;
}
.box-text-apropos{
  width: 300px;

}
.box-text-apropos{
  width: 150px;

}

h2{
  font-size: 25px;
}

#droits p{
  font-size: 10px;
}

#droits{
  border-top: #FFFBE7 solid 5px;
}

.box-projets{
  border-top: #FFFBE7 solid 5px;
}
  /*========================= */

  .description{
    width: 200px;
  }
  .logo{
    width:200px;
    height: 200px;
    margin: 50px;
  }

  .box_gallerie{
    width: 103px;
    height:  146px;
}

.box_gallerie_paysage{
  height: 103px;
  width:  146px;
  


}

.box_gallerie_carre{
  height: 146px;
  width:  146px;
  


}

 
}



