html {
   scroll-behavior: smooth;
   display: block;
   height: 100%;

   /*height: 100%; /*test pour que le site soit complétement responsive ? A supprimer plus tard sûrement*/
}
 
 body{
   /*border: 3px solid #ba1414;*/
   height: 100%; /*test pour que le site soit complétement responsive ? C'était en fit-content de base */
   display: flex;
   flex-direction: column;
   margin: 0;
   padding: 0;
   background-color: rgb(255, 255, 255);


  


   
   
}





header {
   display: flex; /* important pour permettre aux éléments enfants d'être flexible dans le bloc*/
   justify-content: space-between;
   width : 100%;
   margin-right: 0;
   margin-top: 0;
   background-color: rgba(234, 240, 255, 0.315);
   border: 0.5px solid rgba(156, 201, 243, 0.708);

}



.left_infos {
   display: flex;
   flex-direction: column; /*aligne verticalement les éléments enfants*/
   border: 1px solid black;
   padding: 10px;
   padding-top: 15px;
   background-color: rgba(201, 221, 239, 0.507);
   border-radius: 20px;
   margin-left: 10px;

}


.titre_monportfolio {

   /*border: 3px solid cyan;*/
   justify-content: center;
   font-size: 25px;
   margin-top: 10px;

}



.menu {
   width: fit-content;
   list-style: none;
   /*border: 3px solid black;*/
   display: flex;
   float: right;
   margin-right: 10px;
   padding-right: 10px;
   
   
}

.menu-rspv {
   width: fit-content;
   list-style: none;
   /*border: 3px solid black;*/
   display: flex;
   flex-direction: column;
   align-items: center;
   
   
}

li {
   padding: 10px;


}

li a {
   font-size: 20px;
}

.photo {
   width: 350px;
   height:350px;
   border-radius: 50%;
   object-fit: cover;
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
   
}









.presentation {
   display: flex;
   /*border: 3px solid rgb(183, 40, 40);*/
   justify-content: center;
   width: 100%;
   margin-left: 0;
   padding-left: 10px;
   padding-right: 10px;


}







article {
  /* border: 3px solid rgb(44, 197, 118);*/
   display: flex;
   flex-direction: column;
   width:615px;
   height:fit-content;
   margin-left: 150px;
   justify-content: center;
}




.swiper {
   width: 810px;
   height: 410px;
   background-color: rgba(243, 248, 253, 0.91);
   box-shadow: -1px 5px 10px rgba(0, 0, 0, 0.3);
   border-radius: 8%;
   flex: 1;
 }


.Découvrez{
   transition: transform 0.3s ease;
}

.Découvrez:hover {
 text-decoration: none;
 transform: scale(1.1);
}



p, h2 {
   color: aliceblue;
}



.contact_infos{


   color: black;
   font-size: 13px;
   display: flex;
   width: 80%;
   height: fit-content;
   text-align: center;
}


.titre-contact {
   color: black;
   font-size: 50px;
   width: 100%;
   text-align: center;
}


footer {
   display: flex;
  /*bottom: 0;*/
   width: 100%;
   height: 100%;
   background-color: black;
   padding: 15px;
   justify-content: space-around; /*Pour espacer les éléments et les centrer dans la div parent*/


   
}



.tothetop {
   position: fixed;
   z-index: 10; /* Permet de placer et faire défiler un élément au dessus d'un autre. Plus le nombre est grand, plus il sera placé haut*/
   /* ¨Pour fonctionner, z-index doit être suivi d'un postion, soit fixed, absolute ou relative*/
   margin-top: 670px;
   margin-left: 20px;
   scale: 3;
}

.tothetop:hover {

   text-decoration: none;
}


.projects-container {
   display: flex;
   width: 100%;
   height: fit-content;
}




.pos-f-t {
   display: none;
}


.common-class {
   display: none;
   position: absolute;
   background-color: rgb(27, 26, 26);
   color: white;
   padding: 5px 10px;
   border-radius: 5px;
   font-size: 12px;
   white-space: nowrap;
   z-index: 1000;
}



.skills-common {
   cursor: pointer;
}



/* --------------------------PARTIE RESPONSIVE-----------------------------------------------------------------------*/


.left_infos-rspv {
   display: flex;
   flex-direction: column; /*aligne verticalement les éléments enfants*/
   border: 1px solid black;
   padding: 10px;
   padding-top: 15px;
   background-color: rgba(201, 221, 239, 0.507);
   border-radius: 20px;
   margin-left: 10px;

}


.menu-rspv {
   width: fit-content;
   list-style: none;
   /*border: 3px solid black;*/
   display: flex;
   margin-right: 10px;
   padding-right: 10px;
   
   
}



.titre_monportfolio-rspv {

   /*border: 3px solid cyan;*/
   justify-content: center;
   font-size: 25px;
   margin-top: 10px;

}


.h2-presentation {
   margin-left: 220px; font-size: 25px; color: black;
}

.burger {
   display: none;
   cursor: pointer;
}

.hide_nav {
   display :none;
}

.show_nav {
   background-color: rgba(201, 218, 245, 0.681);
    width: 100%;
    height: fit-content;
   padding-left: 40%;
   padding-top: 10px;
   padding-bottom: 10px;
}


.burger_close {
   display: none;
}

#submit {
   width: 250px;
   margin-left: 28%;
}



/*---------------------------------------------------- PARTIE RESPONSIVE---------------------------------------------------*/




@media screen and (max-width:980px) {
   
   header {
      width: 100%;
   }



   .projects-container {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      height: fit-content;
      gap: 20px;
      
   
   }

   footer {

      gap: 0;
      flex-direction: column;
      align-items: center;  
      
     
   }

.tothetop {
   display: none;
}


.presentation {

   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 20px;
}

article {
   margin: 0;
   scale: 0.9;
   width: 100%;
   gap: 5px;
}

.h2-presentation {
 
   margin: 0;
   display: flex;
   justify-content: center;

}



.burger {
   display: flex;
}



.menu {
   display: none;
}


form {
   max-width: 100%;
}

#submit {
   width: 50%;
   margin-left: 25%;
}





.swiper {
   width: 80%;
   height: fit-content;
   padding-bottom: 30px;
}


.videos{
   width: 100%;
}
}








@media screen and (max-width:668px) {

   .swiper {
      width: 100%;
      height: fit-content;
      padding-bottom: 30px;
      padding-left: 0;
      padding-right: 0;
   }

   .citation_container {
      width: 50%;

   }

}

@media screen and (max-height:600px) {

   .tothetop {
      display: fixed;
      margin-top: 550px;
   }

}

@media screen and (max-width:1024px) {

   .tothetop {
      display: none;
   
   }

}

ight:600px) {

   .tothetop {
      display: fixed;
      margin-top: 550px;
   }



}



@media screen and (max-width:1024px) {

   .tothetop {
      display: none;
   
   }

}

