*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-size: 1.2rem;
    font-family: Popins, sans-serif;
    background-color: var(--bg-mode) !important;
}

.bordures{
    border-radius: 10px;
    padding: 10px;
    margin: 20px;
}

#theme-switch{
  height: 50px; 
  width: 50px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--color5) ;
  display: flex;
  justify-content: center; 
  align-items: center;
  border-color: var(--color3);
  }

#theme-switch svg{
  fill: var(--color3);
}

#theme-switch svg:last-child{
  display: none;
}
.darkmode #theme-switch svg:first-child{ 
  display: none;
}
.darkmode #theme-switch svg:last-child{
  display: block;
}


/* -----------------polices---------------- */
.bruno-ace-regular {
    font-family: "Bruno Ace", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
 /* -------------- couleurs---------  */

 .darkmode{
    --bg-mode: rgb(1, 0, 0);
    --color1: #e1dfdf;
    --color2: #e1dfdf;
    --color3: #1a2c1a;
    --color4: #466a3f;
    --color5: #2c3b2f;
    --color6: #32442f;
    --color7: #345167;
    --color8: #052339;
    --color9: #690c0c;
    --color10: #390505; 
    --temoi:#3c5b35;
    --grey:rgba(98, 102, 107, 0.355);
    --titre:#93a693;
    --btn:rgb(237, 237, 237);
    --camarades:#e1dfdf;
    --infosForm:#e1dfdf;
    --fondForm:#000000;
} 

:root{
    --bg-mode:#ffffff;
   --color1: #000000;
    --color2: #FFF;
   --color3: #0F5B34;
    --color4: #CBDFC7;
    --color5: #8AB993;
    --color6: #CBDFC7;
    --color7: #76c2f8;
    --color8: #065186;
    --color9: #d41616;
    --color10: #6f0707;
    --temoi:#c4c4c474;
    --grey:#e1dbdb74;
    --test:#477da3;
    --titre:rgb(23, 70, 23);
    --btn:#0F5B34;
    --camarades:#0F5B34;
    --infosForm:#2c3b2f;
    --fondForm:#ffffff;



}
.black{
    color: var(--color1);
}
.green{
    color: var(--color3);
}
.texteVert{
  color: var(--camarades);
}
/* ---------------------------header----------------------------- */
header{
 
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

header nav ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    color: var(--color1) !important;
}

.nav-link{
  color: var(--color1) !important;
}

/* boutton du menu burger */
.navbar-toggler{
    background-color: var(--color1);
}
.container-fluid{
    color: var(--color1);
}

.favicon{
    width: 40px;
    height: auto;
    
}


h1{
    color: royalblue;
    text-align: center;

}


.titreAccueil{
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--titre) !important; 
    /* margin-top: 40vh;
    margin-bottom: 30vh; */
}



.titreColor{
    font-size: 1.5rem;
    color: var(--color1);
    /* font-weight: bold; */
    display: flex;
    justify-content: center;
    margin-top: 10vh;
    margin-bottom: 2vh;
    

}

.titreColorProjets{
  font-size: 1.5rem;
  color: var(--color1);
  font-weight: bold;
  display: flex;
  justify-content: center;
  margin-top: 10vh;
  margin-bottom: 2vh;
  text-decoration: none;
  background-color: var(--color4);
  padding: 10px 6px ;
  border-radius: 10px;
  width: 200px;  
  margin: auto;
}

.titreColorProjets:hover{
    box-shadow: 0 0 20px var(--color3);
    transition: all 0.3s ease-in-out;
    background-color: var(--color3);
    color: var(--color4);
}

.isoler{
    margin-top: 0;
    margin-bottom: 8vh;
}

.gras{
    font-weight: bold;
}


.buttonLink{
    display: flex;  
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border: 4px solid var(--color3);
    color: var(--btn);
    border-radius: 50px;
    width: 180px;
    height: 40px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    margin: auto;
}

.buttonLink:hover{
    box-shadow: 0 0 20px var(--color3);
    transition: all 0.3s ease-in-out;
    background-color: var(--color2);
}



/* 
.popUpMentions{
    width: 800px;
    height: 100px;
} */

.mentions-legales {
    font-size: 0.9rem;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    border-radius: 10px;
    color: var(--color3);
    
  }

  .mentions-legales p {
    justify-content: flex-start;
    display: flex;

  }
  
  .closeBtn {
    cursor: pointer;
    color:var(--color2);
    background-color: var(--color3);
    font-weight: bold;
    float: right;
    padding: 4px 8px;
    border-radius: 3vh;
  }

  .aligner-gauche{
      text-align: left;
  }




.sources {
    font-size: 1rem;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    border-radius: 10px;
    color: var(--color3);
    
  }

  .sources a {
    justify-content: flex-start;
    display: flex;
    color: var(--color3);
    font-size: 0.9rem;


  }













/* //----------------------------------------------- taille MOBILE ------------------------------------------ */

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


    .animation{
        width: 300px;
        
    }

    .iconeStar{
        width: 100px;
        height: auto;
        margin-left: 2vh;
        margin-bottom: 10vh;
    }

    /* animation de l'etoile qui tourne vers la droite */
    @keyframes rotation {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }
      
      .iconeStar {
        animation: rotation 5s linear infinite;
      }
   
/* animation de l'etoile qui tourne très vite vers la gauvche */
    .iconeStar2{
        width: 100px;
        height: auto;
        margin-left: 25vh;
        margin-bottom: 1vh;

    }

    @keyframes rotation2 {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(-360deg);
        }
      }
      
      .iconeStar2 {
        animation: rotation2 5s linear infinite;
      }

 
    /* animation du rond qui grossis et rétricit vite */
    .iconeRond{
        width: 60px;
        height: auto;
        margin-left: 10vh;
        margin-bottom: 1vh;
        margin-top: 10vh;

    }

    @keyframes agrandissement {
        0% {
          transform: scale(0.5);
        }
        50% {
          transform: scale(1);
        }
        100% {
          transform: scale(0.5);
        }
      }
      
      .iconeRond {
        animation: agrandissement 5s linear infinite;
      }

      /* animation du rond qui grossis et rétricit vite */
    .iconeCroix{
        width: 100px;
        height: auto;
        margin-left: 2vh;
        margin-bottom: 10vh;
        margin-top: 5vh;
    }

    @keyframes agrandissement {
        0% {
          transform: scale(0.5);
        }
        50% {
          transform: scale(1);
        }
        100% {
          transform: scale(0.5);
        }
      }
      
      .iconeCroix{
        animation: agrandissement 5s linear infinite;
      }





.border-vertProfessionnel {
    padding-left: 2vh;
    border: 1px solid var(--color3);
    border-radius: 50px;
    width: 18vh;
    color: var(--color3);
    margin: 2vh;
}

.border-vertScolaire {
    padding-left: 2vh;
    border: 1px solid var(--color1);
    border-radius: 50px;
    width: 14vh;
    color: var(--color1);
    margin: 2vh;
}


.popUp{
    width: 50px;
    height: 50px;
    margin-left: 20vh;
}

.InfoPopUp {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    border-radius: 10px;
    color: var(--color3);
  }
  
  .close-btn {
    cursor: pointer;
    color:var(--color2);
    background-color: var(--color3);
    font-weight: bold;
    float: right;
    padding: 4px 8px;
    border-radius: 3vh;
  }



.texteTemoignages{
    background-color: var(--temoi);

    color: var(--color1);
    padding: 40px;
    border-radius: 40px;
    width: 300px;
    margin: auto;
    margin-bottom: 3vh;
}

.camarades{
    font-size: 1.5rem;
    color: var(--color3);

}

footer{
    background-color: #0F5B34;
    color: white;
    text-align: center;
    padding: 10px;

}

.footerLink{
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    flex-direction: column;
    display: flex;

}

footer a {
    font-size: 1rem;
    text-decoration: none;
    color: white;
    margin: 10px;
}

.popUpSources{
    width: 300px;
    height: 100px;
}

.popUpMentions{
    width: 800px;
    height: 100px;
}

.mentions-legales {
    font-size: 0.9rem;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 300px;
    max-height: 900px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    border-radius: 10px;
    color: var(--color3);
    
  }

  .mentions-legales p {
    justify-content: flex-start;
    display: flex;

  }
  


/* ------------le contenu qui défile ------------- */
.messagedefilant {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    background-color: var(--color6);
    box-sizing: border-box;
    padding: 20px; 
    display: flex;
    align-items: center; 
    font-size: large;
    
  }
  
  .contenu {
    display: inline-flex;
    white-space: nowrap;
    animation: defilement 10s linear infinite;
  }

  @keyframes defilement {
    from {
      transform: translateX(0); /* Début du texte à gauche */
    }
    to {
      transform: translateX(-100%); /* Fait défiler le texte vers la gauche */
    }
  }
  
  





/* -----------------------SECTION "À propos de moi"----------------------- */
.bg-vert5{
    background-color:var(--color5);
    color: var(--color1);
    padding: 40px;
    border-radius: 40px;
    width: 300px;
    margin: auto;
    margin-bottom: 3vh;
}

.bg-vert3{
    background-color:var(--color3);
    color: var(--color2);
    padding: 40px;
    border-radius: 40px;
    width: 300px;
    margin: auto;
    margin-bottom: 3vh;
}

.bg-vert6{
    background-color:var(--color6);
    color: var(--color3);
    padding: 40px;
    border-radius: 40px;
}

.ma_photo{
    border: 1px solid var(--color3);
    width: 300px;
    height: 300px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
}

.liens{
    align-items: center;
    height: 250px;
    width: 300px;
    margin: auto;
    padding: auto;
    gap: 30vh;
}

.buttonLink{
    display: flex;  
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border: 4px solid var(--color3);
    color: var(--color3);
    border-radius: 50px;
    width: 180px;
    height: 40px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    margin: auto;
}

.buttonLink:hover{
    box-shadow: 0 0 20px var(--color3);
    transition: all 0.3s ease-in-out;
    background-color: var(--color2);
}


/* ---------------------sous section 1 "Mon parcours"--------------------- */

.professionnel{
    margin-top: 12vh;
}


.infoScolaire{
    background-color: var(--color3);
    /* padding: 10px; */
    border-radius: 10px;
    padding: 2vh;
    color: var(--color2);

}

.interact-professionnel{
    margin: 2vh;
}

.interact-scolaire :hover{
    box-shadow: 0 0 20px var(--color3);
    transform: scale(1.1);
    background-color: var(--color4);
    color: var(--color3);
    transition: all 0.3s ease-in-out;

}

.infoProfessionnel{
    background-color: var(--color4);
    padding: 10px;
    border-radius: 10px;
    padding: 2vh;
}

.interact-professionnel :hover{
    box-shadow: 0 0 20px var(--color3);
    transform: scale(1.1);
    background-color: var(--color3);
    color: whitesmoke;
    transition: all 0.3s ease-in-out;
}

/* ----------------------sous section 2 "Mes compétences"------------------ */
.devSkills h4  {
    display: flex;
    justify-content: center;
    margin-bottom: 3vh;
}


.creaSkills h4  {
    display: flex;
    justify-content: center;
    margin-bottom: 3vh;
}


/* ---------sous section 3 "Mes centres d'intérets"------------ */
/* apparence slider */
.imgSlider{
    width: 100px;
    height: 100px;
    border-radius: 30px 20px;
    margin: auto;
    border : 1px solid var(--color3);
}

#slider {
    position: relative;
    margin: auto;
    display: flex;
    align-items: center;
    border-radius: 10px;
    margin-bottom: 2vh;
}

.fleche{
    height: 30px;
    
  }

  .gauche{
    transform: rotate(180deg);
  }



/* ---------SECTION "Mes projets"------------ */
.apercuProjets{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
    margin-bottom: 20px;
}

a img{
    width: 35vh;
    height: 20vh;
    border-radius: 10px;
}


.sousTitre{
    margin-bottom: 5vh;
    
}


h4{
    margin-top: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4vh;
}

h5{
    margin-bottom : 4vh;
}

.projets{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 5vh;
}



#project-list {
    display: flex;
  }
  
  .project-link {
    padding: 10px 15px;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
    width: 180px;
    text-align: center;
    margin: 1vh;
  }
  
  .project-link:hover {
    border-color: currentColor;
    opacity: 0.8;
  }
  
  .project-link.active {
    font-weight: bold;
    border-color: transparent;
  }
  
  #dynamic-footer {
    text-align: center;
    padding: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0;
  }


  .projects2 {
    margin: 20px auto;
    background-color: var(--grey);
    color: var(--color1);
    padding: 15px;
    border-radius: 10px;
    max-width: 700px; 
}



.texte{
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    background-color: var(--grey);
    color: var(--color1);
    padding: 15px;
    border-radius: 10px;
    max-width: 800px; 
}

.resaweb h3 {
    display: flex
;
    justify-content: center;
    align-items: center;
    color: var(--color8);
}

   



/* ------------resaweb---------------- */
.resaweb h3{
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color8);
}

.resaweb .pageProjets{
    text-decoration: none;
    color: var(--color2);
    background-color: var(--color8);
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
}

.resaweb .lien-projets {
    text-decoration: none;
    color: var(--color1);
    background-color: var(--color7);
    border-radius: 10px;
    padding: 10px;
    margin: 10px;

}

.resaweb .lien-projets :hover{
    box-shadow: 0 0 20px var(--color8);
    transition: all 0.3s ease-in-out;
}
.resaweb footer{
    background-color: var(--color8);

}
.resaweb footer a{
    color: var(--color2);
}

.centerImg{
    display: flex;
    justify-content: center;
    margin-bottom: 5vh;
}

.apercuProjets-overlay {
  position: absolute;
  color: #000000;
  margin: auto;
}










/* ---------sous section 1 "Détails projets"------------ */
.slider img{
    width: 30vh;
    height: 30vh;
    border-radius: 10px;
}




/* -------------------SECTION CONTACTS -------------------- */
.heightReduce{
    margin-top: 2vh;
    font-size: 2rem;
}

.titreColorContacts{
    font-size: 1.5rem;
    color: var(--titre) !important; 
    /* font-weight: bold; */
    display: flex;
    justify-content: center;
    margin-top: 3vh;
    margin-bottom: 5vh;
}
.info{
  font-size: 0.8rem;
  color: var(--infosForm);
}

form label{
    font-size: 1rem;
    color: var(--infosForm);
    
}

form input{
    width: 90%;
    padding: 8px;
    margin: 8px;
    border: 1px solid var(--color3);
}


/* //////test */

.text{
  text-align: center;
  font-size: 41px;
  font-weight: 600;
  -webkit-text-fill-color: transparent;
}
form{
  padding: 30px 0 0 0;
  margin-bottom: 10rem;
}
form .form-row{
  display: block;
  margin: 32px 0;
}
.form-row .input-data{
  width: 100%;
  height: 40px;
  margin: 0 20px;
  position: relative;
}
.input-data label{
  margin-left: 5px;
}
form .form-row .textarea{
  height: 70px;
}
.input-data input,
.textarea textarea{
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  font-size: 17px;
  border-bottom: 2px solid var(--infosForm);
}
.input-data input:focus ~ label, .textarea textarea:focus ~ label,
.input-data input:valid ~ label, .textarea textarea:valid ~ label{
  transform: translateY(-20px);
  font-size: 14px;
  color: var(--infosForm);
}
.textarea textarea{
  resize: none;
  padding-top: 10px;
}
.input-data label{
  position: absolute;
  pointer-events: none;
  bottom: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}
.textarea label{
  width: 100%;
  bottom: 40px;
  margin-left: 5px;
}
input{
  background-color: var(--fondForm);
  color: var(--infosForm);
}
textarea{
  background-color: var(--fondForm);

}
.input-data .underline{
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 100%;
}
.input-data .underline:before{
  position: absolute;
  content: "";
  height: 2px;
  width: 80%;
  background: var(--infosForm);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.input-data input:focus ~ .underline:before,
.input-data input:valid ~ .underline:before,
.textarea textarea:focus ~ .underline:before,
.textarea textarea:valid ~ .underline:before{
  transform: scale(1);
}

@media (max-width: 700px) {
  .container .text{
    font-size: 30px;
  }
  .container form{
    padding: 0 0 0 0;
  }
  .container form .form-row{
    display: block;
  }
  form .form-row .input-data{
    margin: 35px 0!important;
  }
  .submit-btn .input-data{
    width: 40%!important;
  }
}

.submit-btn{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
  color: var(--infosForm);
  background-color: var(--fondForm);
  padding: 10px 20px;
  border-radius: 5px;
  border: 2px, var();
  cursor: pointer;
}

    
}

/*                   FORMAT TABLETTE                        */
@media screen and (min-width:768px) and (max-width:1023px) {
     .titreAccueil{
        font-size: 3rem;
        font-weight: bold;
        color: var(--color3);
        margin-top: 40vh;
        margin-bottom: 30vh;
    }


    .animation{
        width: 600px;
        
    }

    .iconeStar{
        width: 100px;
        height: auto;
        margin-left: 2vh;
        margin-bottom: 1vh;
    }

    /* animation de l'etoile qui tourne vers la droite */
    @keyframes rotation {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }
      
      .iconeStar {
        animation: rotation 5s linear infinite;
      }
   
/* animation de l'etoile qui tourne très vite vers la gauvche */
    .iconeStar2{
        width: 100px;
        height: auto;
        margin-left: 55vh;
        margin-bottom: 1vh;

    }

    @keyframes rotation2 {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(-360deg);
        }
      }
      
      .iconeStar2 {
        animation: rotation2 5s linear infinite;
      }

 
    /* animation du rond qui grossis et rétricit vite */
    .iconeRond{
        width: 45px;
        height: auto;
        margin-left: 55vh;
        margin-bottom: 1vh;
    }

    @keyframes agrandissement {
        0% {
          transform: scale(0.5);
        }
        50% {
          transform: scale(1);
        }
        100% {
          transform: scale(0.5);
        }
      }
      
      .iconeRond {
        animation: agrandissement 5s linear infinite;
      }

      /* animation du rond qui grossis et rétricit vite */
    .iconeCroix{
        width: 100px;
        height: auto;
        margin-left: 2vh;
        margin-bottom: 1vh;
    }

    @keyframes agrandissement {
        0% {
          transform: scale(0.5);
        }
        50% {
          transform: scale(1);
        }
        100% {
          transform: scale(0.5);
        }
      }
      
      .iconeCroix{
        animation: agrandissement 5s linear infinite;
      }



    .messagedefilant {
        position: relative;
        overflow: hidden;
        white-space: nowrap;
        width: 100%;
        background-color: var(--color6);
        box-sizing: border-box;
        padding: 20px; 
        display: flex;
        align-items: center; 
        font-size: large;
      }
      
      .contenu {
        display: inline-flex;
        white-space: nowrap;
        animation: defilement 10s linear infinite;
      }
    
      @keyframes defilement {
        from {
          transform: translateX(0); /* Début du texte à gauche */
        }
        to {
          transform: translateX(-100%); /* Fait défiler le texte vers la gauche */
        }
      }
      
      
    


    .bento-grid{
        max-width: 700px;
        min-width: 600px;
        margin: auto;
        
    }

    .bg-vert5{
        background-color:var(--color5);
        color: var(--color1);
        padding: 3vh;
        border-radius: 40px;
        max-width: 500px;
        max-height:300px ;
        min-height: 250px;
    }

    
    .bg-vert3{
        background-color:var(--color3);
        color: var(--color2);
        border-radius: 40px;
        max-width: 550px;
        max-height: 300px;
        margin-right: 5vh;
        min-height: 200px;
        padding: 3vh;

    }
    
    .bg-vert6{
        background-color:var(--color6);
        color: var(--color3);
        padding: 40px;
        border-radius: 40px;
        /* max-width: 250px;
        max-height: 250px; */

    }

    .border-vertProfessionnel {
        padding-left: 2vh;
        border: 1px solid var(--color3);
        border-radius: 50px;
        width: 20vh;
        color: var(--color3);
        margin: 2vh;
    }
    .border-vertScolaire {
        padding-left: 2vh;
        border: 1px solid var(--color1);
        border-radius: 50px;
        width: 14vh;
        color: var(--color1);
        margin: 2vh;
    }

    .infos{
        max-width: 1000px;
        margin: auto;
    }

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

    .colonne{
        display: flex;
        flex-direction: column;
        justify-content: center;

    }

    .interact-dev{
        width: 600px;
        margin-bottom: 12vh;

    }

    .devSkills{
        width: 300px;
        height: 280px;
        margin: 0 auto;
        padding: 3vh;
    }
    .creaSkills{
        width: 300px;
        margin: 0 auto;
        padding: 3vh;
        height: 280px;

    }

    .interact-crea{
        width: 600px;
    }



    .infoScolaire{
        background-color: var(--color3);
        /* padding: 10px; */
        border-radius: 10px;
        padding: 2vh;
        color: whitesmoke;

    }

    .interact-professionnel{
        margin: 2vh;
    }

    .interact-scolaire :hover{
        box-shadow: 0 0 20px var(--color3);
        transform: scale(1.1);
        background-color: var(--color4);
        color: var(--color3);
        transition: all 0.3s ease-in-out;

    }

    .infoProfessionnel{
        background-color: var(--color4);
        padding: 10px;
        border-radius: 10px;
        padding: 2vh;
    }

    .interact-professionnel :hover{
        box-shadow: 0 0 20px var(--color3);
        transform: scale(1.1);
        background-color: var(--color3);
        color: whitesmoke;
        transition: all 0.3s ease-in-out;
    }


    #slider {
        width: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: auto;
    }

    .imgSlider{
        width: 300px;
    }

    .fleche{
        height: 50px;
        
      }
    
      .gauche{
        transform: rotate(180deg);
      }

    .ma_photo{
        width: 200px;
        height: 250px;
        border-radius: 40px;
        margin-right: 5vh;
    }

    .center{
        display: flex;
    }

    .liens{
        width: 250px;
        height: 300px;
    }

    footer{
        background-color: #0F5B34;
        color: white;
        text-align: center;
        padding: 10px;
    }
    
    .footerLink{
        text-align: center;
        margin-top: 20px;
        padding: 10px;
    
    }
    
    footer a {
        font-size: 1rem;
        text-decoration: none;
        color: white;
        margin: 10px;
    }

    .tailleGridProjects{
        width: 800px;
    }


    .projects2{
        max-width: 900px;
        min-width: 600px;

    }

      
    .temoignages{
        display: grid;
        gap: 5px;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        width: 100px;
        margin: auto;
    }

    .texteTemoignages{
        background-color: var(--temoi);
        padding: 4vh;
        border-radius: 10px;
        color: var(--color1);
        width: 500px;
        margin: 1vh;
    }

    .camarades{
        font-size: 1.5rem;
        color: var(--color3);

    }




/* -------------------SECTION CONTACTS -------------------- */
    .heightReduce{
        margin-top: 2vh;
        font-size: 2rem;
    }


  .colorContact{
    background-color: var(--color5);  
    width: 600px;  
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    margin-top: 15vh;
    margin-bottom: 15vh;
    
}

.contact{
    margin-bottom: 10vh;
    margin-left: 20vh;
    width: 400px;
    justify-content: center;
    align-items: center;

}

.imgMouve{
    width: 10vh;
    height: 10vh;
    border-radius: 10px;
    animation: infinite;
    animation-duration: 3s;
    animation-name: rotation;
    margin-left:10vh ;
    rotate: 20deg;

}

.linkedin{
    width: 15vh;
    height: auto;
    margin-left: 50vh;
}


.linkLinkedin{
    height: auto;
    width: 300px;
    text-decoration: none;
    color: var(--color2);
    background-color: var(--color3);
    border-radius: 10px;
    padding: 5px 8px 5px 8px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3vh;

    
}

.centerLink{
    display: flex;
    justify-content: center;
    align-items: center;
}


.linkLinkedin:hover{
    box-shadow: 0 0 20px var(--color2);
}


@keyframes rotation {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
 
}

.tailleGridProjects {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: center;
    margin:auto;
    max-width: 1000px;
    padding: 20px;
}

.gridProjets{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: auto;
    gap: 1vh;
    max-width: 700px;
    min-width: 600px;
}

.apercuProjets {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin: auto;
}



.apercuProjets:hover {
    transform: scale(1.05);
    
}

.apercuProjets-img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}

.apercuProjets-overlay {
  position: absolute;
  color: #000000;
  margin: auto;
}

.projects2 {
    margin: 20px auto;
    background-color: var(--grey);
    color: var(--color1);
    padding: 15px;
    border-radius: 10px;
    max-width: 700px; 
}

.projets{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: auto;
    gap: 0.5vh;
    width: 60px;
    justify-content: center;
    margin-bottom: 5vh;
}

.texte{
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    background-color: var(--grey);
    color: var(--color1);
    padding: 15px;
    border-radius: 10px;
    max-width: 800px; 
}

#project-list {
    display: flex;
    gap: 10px;
  }
  
  .project-link {
    padding: 10px 15px;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
    width: 180px;
    text-align: center;
  }
  
  .project-link:hover {
    border-color: currentColor;
    opacity: 0.8;
  }
  
  .project-link.active {
    font-weight: bold;
    border-color: transparent;
  }
  
  #dynamic-footer {
    text-align: center;
    padding: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0;
  }


.popUp{
    width: 50px;
    height: 50px;
    margin-left: 25vh;
    margin-top: -9vh;

}

.InfoPopUp {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    border-radius: 10px;
    color: var(--color3);
  }
  
  .close-btn {
    cursor: pointer;
    color:var(--color2);
    background-color: var(--color3);
    font-weight: bold;
    float: right;
    padding: 4px 8px;
    border-radius: 3vh;
  }

/*contact*/

.titreColorContacts{
  font-size: 1.5rem;
  color: var(--titre) !important; 
  /* font-weight: bold; */
  display: flex;
  justify-content: center;
  margin-top: 3vh;
  margin-bottom: 5vh;
}
.info{
  font-size: 1rem;
  color: var(--infosForm);
}

form label{
  font-size: 1rem;
  color: var(--infosForm);
  
}

form input{
  width: 90%;
  padding: 8px;
  margin: 8px;
  border: 1px solid var(--color3);
  color: var(--infosForm);
}


/* //////test */

.text{
  text-align: center;
  font-size: 41px;
  font-weight: 600;
  -webkit-text-fill-color: transparent;

}
form{
  padding: 30px 0 0 0;
  margin-bottom: 10rem;
}
form .form-row{
  display: flex;
  margin: 32px 0;

}
.form-row .input-data{
  width: 100%;
  height: 40px;
  margin: 0 20px;
  position: relative;

}
.input-data label{
  margin-left: 5px;

}
form .form-row .textarea{
  height: 70px;
}
.input-data input,
.textarea textarea{
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  font-size: 17px;
  color: var(--infosForm);
}
.input-data input:focus ~ label, .textarea textarea:focus ~ label,
.input-data input:valid ~ label, .textarea textarea:valid ~ label{
  transform: translateY(-20px);
  font-size: 14px;
  color: var(--infosForm);
}
.textarea textarea{
  resize: none;
  padding-top: 10px;
}
.input-data label{
  position: absolute;
  pointer-events: none;
  bottom: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}
.textarea label{
  width: 100%;
  bottom: 40px;
  margin-left: 5px;
}
input{
  background-color: var(--fondForm);
}
textarea{
  background-color: var(--fondForm);

}
.input-data .underline{
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 100%;
  border-bottom: 2px solid var(--infosForm);
}
.input-data .underline:before{
  position: absolute;
  content: "";
  height: 2px;
  width: 80%;
  background: var(--infosForm);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.input-data input:focus ~ .underline:before,
.input-data input:valid ~ .underline:before,
.textarea textarea:focus ~ .underline:before,
.textarea textarea:valid ~ .underline:before{
transform: scale(1);
}

@media (max-width: 700px) {
.container .text{
  font-size: 30px;
}
.container form{
  padding: 0 0 0 0;
}
.container form .form-row{
  display: block;
}
form .form-row .input-data{
  margin: 35px 0!important;
}
.submit-btn .input-data{
  width: 40%!important;
}
}

.submit-btn{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
  color: var(--infosForm);
  background-color: var(--fondForm);
  padding: 10px 20px;
  border-radius: 5px;
  border: 2px, var();
  cursor: pointer;
}

}









/*---------------------------------------FORMAT DESKTOP------------------------------*/

@media screen and (min-width:1024px) {

    .titreAccueil{
        font-size: 4rem;
        font-weight: bold;
        color: var(--color3);
        /* margin-top: 40vh;
        margin-bottom: 30vh; */
    }

    .animation{
        width: 700px;
        
    }

    .iconeStar{
        width: 200px;
        height: auto;
        margin-left: 2vh;
        margin-bottom: 1vh;
    }

    /* animation de l'etoile qui tourne vers la droite */
    @keyframes rotation {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }
      
      .iconeStar {
        animation: rotation 5s linear infinite;
      }
   
/* animation de l'etoile qui tourne très vite vers la gauvche */
    .iconeStar2{
        width: 200px;
        height: auto;
        margin-left: 115vh;
        margin-bottom: 1vh;

    }

    @keyframes rotation2 {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(-360deg);
        }
      }
      
      .iconeStar2 {
        animation: rotation2 5s linear infinite;
      }

 
    /* animation du rond qui grossis et rétricit vite */
    .iconeRond{
        width: 100px;
        height: auto;
        margin-left: 150vh;
        margin-bottom: 1vh;
    }

    @keyframes agrandissement {
        0% {
          transform: scale(0.5);
        }
        50% {
          transform: scale(1);
        }
        100% {
          transform: scale(0.5);
        }
      }
      
      .iconeRond {
        animation: agrandissement 5s linear infinite;
      }

      /* animation du rond qui grossis et rétricit vite */
    .iconeCroix{
        width: 100px;
        height: auto;
        margin-left: 25vh;
        margin-bottom: 1vh;
    }

    @keyframes agrandissement {
        0% {
          transform: scale(0.5);
        }
        50% {
          transform: scale(1);
        }
        100% {
          transform: scale(0.5);
        }
      }
      
      .iconeCroix{
        animation: agrandissement 5s linear infinite;
      }

      

    
    

    .messagedefilant {
        position: relative;
        overflow: hidden;
        white-space: nowrap;
        width: 100%;
        background-color: var(--color6);
        box-sizing: border-box;
        padding: 20px; 
        display: flex;
        align-items: center; 
        font-size: large;
        color: var(--color1);
      }
      
      .contenu {
        display: inline-flex;
        white-space: nowrap;
        animation: defilement 10s linear infinite;
      }
    
      @keyframes defilement {
        from {
          transform: translateX(0); /* Début du texte à gauche */
        }
        to {
          transform: translateX(-100%); /* Fait défiler le texte vers la gauche */
        }
      }
      
      
    

    .bento-grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 80px;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
        width: 800px;
        
    }

    .bg-vert5{
        background-color:var(--color5);
        color: var(--color1);
        padding: 40px;
        border-radius: 40px;
        max-width: 800px;
        max-height:4500px ;
    }

    
    .bg-vert3{
        background-color:var(--color3);
        color: var(--color2);
        border-radius: 40px;
        max-width: 550px;
        max-height: 300px;
        margin-right: 5vh;
        padding: 40px;


    }
    
    .bg-vert6{
        background-color:var(--color6);
        color: var(--color3);
        padding: 40px;
        border-radius: 40px;
        height: 300px;
    }

    .infos{
        max-width: 1000px;
        margin: auto;
    }


    .professionnel{
        margin-top: 12vh;
    }


    .infoScolaire{
        background-color: var(--color3);
        /* padding: 10px; */
        border-radius: 10px;
        padding: 2vh;
        color: var(--color2);

    }

    .interact-professionnel{
        margin: 2vh;
    }

    .interact-scolaire :hover{
        box-shadow: 0 0 20px var(--color3);
        transform: scale(1.1);
        background-color: var(--color4);
        color: var(--color3);
        transition: all 0.3s ease-in-out;

    }

    .infoProfessionnel{
        background-color: var(--color4);
        padding: 10px;
        border-radius: 10px;
        padding: 2vh;
        color: var(--color1);
    }

    .interact-professionnel :hover{
        box-shadow: 0 0 20px var(--color3);
        transform: scale(1.1);
        background-color: var(--color3);
        color: whitesmoke;
        transition: all 0.3s ease-in-out;
    }



    .border-vertProfessionnel {
        padding-left: 2vh;
        border: 1px solid var(--color1);
        border-radius: 50px;
        width: 20vh;
        color: var(--color1);
        margin: 2vh;
    }
    .border-vertScolaire {
        padding-left: 2vh;
        border: 1px solid var(--color1);
        border-radius: 50px;
        width: 14vh;
        color: var(--color1);
        margin: 2vh;
    }




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

    
    .devSkills{
        width: 400px;
        margin: 0 auto;
    }
    .creaSkills{
        width: 400px;
        margin: 0 auto;

    }

    .interact-dev{
        width: 600px;
    }

    .interact-crea{
        width: 600px;
    }

    #slider {
        width: 800px;
        display: flex;
        margin: auto;
        align-items: center;
    }

    .imgSlider{
        width: 200px;
        height: 200px;
        border-radius: 30px 20px;
        margin: auto;
        border : 1px solid var(--color3);
    }

    .fleche{
        height: 50px;
        
      }
    
      .gauche{
        transform: rotate(180deg);
      }

    .ma_photo{
        width: 250px;
        height: 250px;
        border-radius: 40px;
        margin-right: 5vh;
    }

    .center{
        display: flex;
        margin: auto;
    }
    
    .liens{
        width: 250px;
        height: 250px;
    }

    footer{
        background-color: var(--color3);
        color: white;
        text-align: center;
        padding: 10px;
    }
    
    .footerLink{
        text-align: center;
        margin-top: 20px;
        padding: 10px;
    
    }
    
    footer a {
        font-size: 1rem;
        text-decoration: none;
        color: white;
        margin: 10px;
    }


  .popUpSources{
    width: 1000px;
    height: 100px;
}

    .tailleGridProjects{
        width: 800px;
    }


    .projects2{
        width: 900px;

    }

    .popUp{
        width: 50px;
        height: 50px;
        margin-left: 30vh;
        margin-top: -9vh;
    }

    .InfoPopUp {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 500px;
        background-color: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 20px;
        z-index: 1000;
        border-radius: 10px;
        color: var(--color3);
      }
      
      .close-btn {
        cursor: pointer;
        color:var(--color2);
        background-color: var(--color3);
        font-weight: bold;
        float: right;
        padding: 4px 8px;
        border-radius: 3vh;
      }
      
    .temoignages{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
        width: 900px;
        height: 500px;
    }

    .texteTemoignages{
        background-color: var(--temoi);
        padding: 4vh;
        border-radius: 10px;
        color: var(--color1);
        width: 500px;
        min-height:550px ;
        max-height: 600px;

    }

    .camarades{
        font-size: 1.5rem;
        color: var(--camarades);

    }




/* -------------------SECTION CONTACTS -------------------- */
    .heightReduce{
        margin-top: 2vh;
        font-size: 2rem;
    }


  .colorContact{
    background-color: var(--color5);  
    width: 1000px;  
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    margin-top: 15vh;
    margin-bottom: 15vh;
    
}

.contact{
    flex-wrap: wrap;
    margin-bottom: 10vh;
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
    display: flex;
    justify-content: space-around;
    align-items: center;

}

.imgMouve{
    width: 10vh;
    height: 10vh;
    border-radius: 10px;
    animation: infinite;
    animation-duration: 3s;
    animation-name: rotation;
    rotate: 20deg;

}

.linkedin{
    width: 15vh;
    height: auto;
    margin-left: 90vh;
    margin-top: 2vh;
}


.linkLinkedin{
    height: auto;
    width: 300px;
    text-decoration: none;
    color: var(--color2);
    background-color: var(--color3);
    border-radius: 10px;
    padding: 5px 8px 5px 8px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3vh;

    
}

.centerLink{
    display: flex;
    justify-content: center;
    align-items: center;
}


.linkLinkedin:hover{
    box-shadow: 0 0 20px var(--color2);
}


@keyframes rotation {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
 
}


/* -------------------SECTION PROJECTS -------------------- */


.apercuProjets {
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin: auto;
  position: relative; 
  overflow: hidden;
  background-color: transparent;
  color: inherit;
}

.apercuProjets:hover {
  transform: scale(1.05);
}

.apercuProjets-img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.apercuProjets-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(41, 40, 40, 0.791); 
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-family: "Inter", sans-serif;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.apercuProjets:hover .apercuProjets-img {
  opacity: 0.8; 
  transform: scale(1.02);
}

.apercuProjets:hover .apercuProjets-overlay {
  opacity: 1;
  color: var(--color2);
}

.tailleGridProjects {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  align-items: center;
  margin: auto;
  max-width: 1000px;
  padding: 20px;
}

.projets {
  display: flex;
  margin: auto;
  gap: 2vh;
  justify-content: center;
  margin-bottom: 5vh;
  margin-top: 5vh;
}

.gridProjets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: auto;
  gap: 3vh;
  width: 800px;
}

.projects2 {
  margin: 20px auto;
  background-color: var(--grey);
  color: var(--color1);
  padding: 15px;
  border-radius: 10px;
  max-width: 800px; 
}

.texte {
  display: flex;
  flex-direction: column;
  margin: 20px auto;
  color: var(--color1);
  background-color: var(--grey) !important;
  padding: 15px;
  border-radius: 10px;
  max-width: 800px; 
}

#project-list {
  display: flex;
  gap: 10px;
}

.project-link {
  padding: 10px 15px;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.project-link:hover {
  border-color: currentColor;
  opacity: 0.8;
}

.project-link.active {
  font-weight: bold;
  border-color: transparent;
}

  
  #dynamic-footer {
    text-align: center;
    padding: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0;
    padding: 10px;

  }
  
 /*contact*/

 .titreColorContacts{
  font-size: 1.5rem;
  color: var(--titre) !important; 
  /* font-weight: bold; */
  display: flex;
  justify-content: center;
  margin-top: 3vh;
  margin-bottom: 5vh;
}
.info{
font-size: 1rem;
color: var(--infosForm);
}

form label{
  font-size: 1rem;
  color: var(--infosForm);
  
}

form input{
  width: 90%;
  padding: 8px;
  margin: 8px;
  border: 1px solid var(--color3);
  color: var(--infosForm);
}


/* //////test */

.text{
text-align: center;
font-size: 41px;
font-weight: 600;
-webkit-text-fill-color: transparent;
}
form{
  padding: 30px 0 0 0;
  margin-bottom: 10rem;
}
form .form-row{
display: flex;
margin: 32px 0;
}
.form-row .input-data{
width: 100%;
height: 40px;
margin: 0 20px;
position: relative;
}
.input-data label{
margin-left: 5px;
}
form .form-row .textarea{
height: 70px;
}
.input-data input,
.textarea textarea{
display: block;
width: 100%;
height: 100%;
border: none;
font-size: 17px;
color: var(--infosForm);
border-bottom: 2px solid var(--infosForm);

}
.input-data input:focus ~ label, .textarea textarea:focus ~ label,
.input-data input:valid ~ label, .textarea textarea:valid ~ label{
transform: translateY(-20px);
font-size: 14px;
color: var(--infosForm);
}
.textarea textarea{
resize: none;
padding-top: 10px;

}
.input-data label{
position: absolute;
pointer-events: none;
bottom: 10px;
font-size: 16px;
transition: all 0.3s ease;
}
.textarea label{
width: 100%;
bottom: 40px;
margin-left: 5px;
}
input{
background-color: var(--fondForm);
}
textarea{
background-color: var(--fondForm);

}
.input-data .underline{
position: absolute;
bottom: 0;
height: 2px;
width: 100%;
}
.input-data .underline:before{
position: absolute;
content: "";
height: 2px;
width: 80%;
transform: scaleX(0);
transform-origin: center;
transition: transform 0.3s ease;
}
.input-data input:focus ~ .underline:before,
.input-data input:valid ~ .underline:before,
.textarea textarea:focus ~ .underline:before,
.textarea textarea:valid ~ .underline:before{
transform: scale(1);
}

@media (max-width: 700px) {
.container .text{
  font-size: 30px;
}
.container form{
  padding: 0 0 0 0;
}
.container form .form-row{
  display: block;
}
form .form-row .input-data{
  margin: 35px 0!important;
}
.submit-btn .input-data{
  width: 40%!important;
}
}

.submit-btn{
display: flex;
justify-content: center;
align-items: center;
margin-top: 0px;
color: var(--infosForm);
background-color: var(--fondForm);
padding: 10px 20px;
border-radius: 5px;
border: 2px var();
cursor: pointer;
}

.submit-btn:hover{
  background-color: var(--color3);
  color: var(--color2);
}



}