
*{
  
    box-sizing: border-box;
    margin : 0 ;
    padding: 0;

}


body {
    overflow-x: hidden;
  }

  @keyframes apparaitre {

    from {
        opacity: 0;
       /*scale: 0.5*/
       transform: translateX(-100px);
    }

    to {
        opacity: 1;
        /*scale: 1;*/
        transform: translateX(0px);
    }
    
}

  


/*-----------------------NAVBAR-----------------------------------*/

li , a {

    font-family: 'League Spartan' ;
    font-size: 16px ;
    color:white ;
    text-decoration: none;

}



.nav_links {
    width: 100%;
    height: 65px;
    display : flex ; 
    justify-content: space-between;
    align-items: center;
    padding :  15px 75px ;  
    background-color: #3b8c6e;
    list-style: none;
    
}

.nav_links img {
    height: 150px;
    width: 150px;
}


.nav_links li  {
    display: inline-block;
    padding : 0px 20px ;
}

.nav_links ul li a {
    position: relative;
    color: white;  /* adapte la couleur si besoin */
    text-decoration: none;
    transition: color 0.3s ease;
  }

.nav_links ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;    /* un peu en dessous du texte */
    width: 0;
    height: 2px;
    background-color: white;  /* couleur de l'underline */
    transition: width 0.3s ease, left 0.3s ease;
  }
  
  .nav_links ul li a:hover::after {
    width: 100%;
    left: 0;
  }

/*----------------------SECTION_1---------------------------------*/

.section_1 img {

    max-width: 100%;
    max-height: 100vh; /* empêche de dépasser la hauteur de l'écran */
    height: auto;
    width: 100%;
    display: block; /* évite les marges parasites */
}

.section_1  h2{

    font-family: 'Bebas Neue';
    position: absolute;
    top: 15%; /* Centre le texte verticalement */
    left: 50%; /* Centre le texte horizontalement */
    transform: translate(-50%, -50%);
    color : white;
    font-size: 55px;
}



.carre_1 {
    padding: 30px ;
    background-color: rgba(59, 140, 110, 0.5);
    height: 400px;
    width: 300px; 
    position: absolute;
    top: 200px;
    border-radius: 20px;
    left : 200px ;    

}

.carre_1 button {
    border-radius: 20px;
    height :50px ;
    width: 100px;
    border-color: white;
    border :20px ;


}

#bouton1 {
    position: absolute;
    top: 70px;
    left: 50px;
}

#bouton2 {
    position: absolute;
    top: 70px;
    left: 170px;
}

#bouton3 {
    position: absolute;
    top: 140px;
    left: 50px;
}

#bouton4 {
    position: absolute;
    top: 140px;
    left: 175px;
}

#bouton5 {
    position: absolute;
    top: 200px;
    left: 50px;
}

#bouton6 {
    position: absolute;
    top: 200px;
    left: 175px;
}

#bouton7 {
    position: absolute;
    top: 300px;
    left: 20px;
}



.carre_1 .borderau h4{
    color: white !important;
    font-size: 25px;
    font-family: 'League Spartan';
    text-align: center;
    z-index: 10 ;
    position: relative;


}

.carre_1 .borderau {

    display: flex;              /* active flexbox */
    justify-content: center;    /* centre horizontalement */
    align-items: center;
    background-color: #3b8c6e;
    height: 55px;
    width: 300px;
    position: absolute;
    top: 0px;
    left : 0px ;
    z-index: 1;
    border-top-left-radius : 20px ;
    border-top-right-radius : 20px ;
}


.carre_1 .rang1 {
    margin-bottom: 30px;
}

.carre_1 input {

    border-color: white ;
    height: 35px;
    width: 250px;
    border-radius: 10px;
    border :20px;

}





.carre_2   {
    background-color: rgba(59, 140, 110, 0.5);
    height: 650px;
    width: 300px;
    display: block;
    position: absolute;
    top: 200px;
    border-radius: 20px;
    left : 600px ;
    padding: 50px;
    color: white;
    font-family: 'League Spartan';
    padding-left: 20px;
    padding-bottom: 50px;
    
}

.carre_2 form {
    padding-top: 35px;
}

.carre_2 form input{
    border-color: white ;
    height: 35px;
    width: 250px;
    border-radius: 10px;
    border :20px;

}

.carre_2 form select{
    border-color: white ;
    height: 35px;
    width: 250px;
    border-radius: 10px;
    border :20px;

}



.carre_2 .borderau h4{

    color: white !important;
    font-size: 25px;
    font-family: 'League Spartan';
    text-align: center;
    z-index: 10 ;
    position: relative;

}
  
.carre_2 .borderau {

    display: flex;              /* active flexbox */
    justify-content: center;    /* centre horizontalement */
    align-items: center;
    background-color: #3b8c6e;
    height: 55px;
    width: 300px;
    position: absolute;
    top: 0px;
    left : 0px ;
    z-index: 1;
    border-top-left-radius : 20px ;
    border-top-right-radius : 20px ;
}






.carre_3  {
    background-color: rgba(59, 140, 110, 0.5); 
    height: 400px;
    width: 300px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 200px;
    border-radius: 20px;
    left : 1000px ;
    padding: 30px;

    
}

.carre_3 .borderau  h4{
    color: white !important;
    font-size: 25px;
    font-family: 'League Spartan';
    text-align: center;
    z-index: 10 ;
    position: relative;
}


.carre_3 .borderau {

    display: flex;              /* active flexbox */
    justify-content: center;    /* centre horizontalement */
    align-items: center;
    background-color: #3b8c6e;
    height: 55px;
    width: 300px;
    position: absolute;
    top: 0px;
    left : 0px ;
    z-index: 1;
    border-top-left-radius : 20px ;
    border-top-right-radius : 20px ;
}

.carre_3 button {
    font-family: 'League Spartan';
    border-radius: 20px;
    height: 40px;
    width: 250px;
    background-color: white;
    border-color: white;
    color: black;
    border : 3px solid white;
    position: absolute;
    top: 300px;
    padding-left: 0px;

}

.carre_3 button:hover {
    background-color: #d4d45f;
    border-color: #d4d45f;
}

.carre_3 p {
    color: white;
    font-family: 'League Spartan';
    font-size: 40px;
    margin-top: 10px;
    align-items: center;
}


.carre_2 form .erreur {
    color: red;
    font-size: 0.9em;
    margin-top: 3px;
  }
  
  .carre_3 .erreur {
    color: red;
    font-size: 0.9em;
    margin-top: 3px;
    font-family: 'League Spartan';
  }
  


/*----------------------SECTION_2---------------------------------*/

.section_2 {
    margin-top: 130px;
    margin-bottom: 100px;
    background-color: white ;
    max-width: 100%;
    max-height: 100vh; /* empêche de dépasser la hauteur de l'écran */
    height: auto;
    width: 100%;
    display: flex; /* évite les marges parasites */
    gap: 100px;
    margin-left: 210px;
    
    

}

.box_1 {
    font-family: 'League Spartan';
    padding:30px;
    background-color: #3b8c6e;
    color: white;
    height: 600px;
    width: 300px;
    border-radius: 20px;
    left : 200px ;
    font-size: 23px;
}



.box_1 h2 {
    color: black;
    position : absolute ;
    top : 1000px ;
    left: 350px;

}

.box_2 {
    font-family: 'League Spartan';
    padding:30px;
    background-color: #2e624f;
    color: white;
    height: 600px;
    width: 300px;
    border-radius: 20px;
    left : 600px ;
    font-size: 23px;
}


.box_2 h2 {
    color: black;
    position : absolute ;
    top : 1000px ;
    left: 750px;

}

.box_3 {
    font-family: 'League Spartan';
    padding:30px;
    background-color: #1d4033;
    color: white;
    height: 600px;
    width: 300px;
    border-radius: 20px;
    left : 1000px ;
    font-size: 23px;
}



.box_3 h2 {
    color: black;
    position : absolute ;
    top : 1000px ;
    left: 1150px;

}



/*---------------------FOOTER----------------------------*/

footer {

    background-color: #3b8c6e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% ;
    font-family: 'League Spartan' ; 
  
    
}

footer img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

footer #inst {

    height: 70px;
    width: 80px ;
    padding-left: 30px;
}

footer #xx{

    height: 90px;
    width: 100px ;
    padding-left: 30px;
}

footer #disc {

    height: 120px;
    width: 110px ;
    padding-left: 30px;
}




.sousPartie_1 ul {
   
    list-style: none;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap:20px ;
    
}

.sousPartie_2 ul {
   
    list-style: none;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap:20px ;
    
}

.sousPartie_3 {
    color :white;  
    padding-right : 70px;
    gap: 5px ;
    

}

.sousPartie_3 h3{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;

}

.sousPartie_3 img {
    height: 70px;
    width: 80px;
    margin-right: 10px;
  }
  

