.main{
  
  /*background-color: rgba(24, 75, 105, 1.0);*/
  background-color: #333;
  
  height: calc(100vh );
  margin: 0;
  
  


  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
   padding: 40px;
   padding-top: 0;
}



.ContainerI{
    position: absolute;
    left: 100%;
    top: 225px;
    
    
    animation: slideInRight 1s forwards;
}

@keyframes slideInRight {
    to {
        left: 20vw;
        
        
    }
}

.Classes {
    position: absolute;
    left: 82vw;
    top: -100%; /* Move the section outside of the parent container at the top */
    
    
    animation: slideInTop 1s forwards;
}

@keyframes slideInTop {
    to {
        top: 250px;
                
    }
}







body{
  margin: 0;
  /*background-color: rgba(24, 75, 105, 1.0);*/
  background-color: #333;
}



.menu2 {
        display: none; /* le menu est caché par défaut */
        position: absolute;
        top: 100px;
        right: 55px;
        width: auto;
        padding: 10px;
        background-color: #7FB3D5;
        
        box-sizing: border-box;
        text-align: center;
        border-radius: 10px;
        border: 2px solid black;
        z-index: 2;
      }
      .menu2 li {
        margin: 10px;
       list-style: none;
      }

      .menu2 a:hover{
    text-decoration: underline;
    cursor: pointer;
}

      .menu2 a {
        color: black;
        text-decoration: none;
        font-size: 16px;
      }
      
      /* Styles pour le bouton hamburger */
      .hamburger2 {
        position: fixed;
        top: 150px;
        right: 10px;
        z-index: 9999;
        width: 40px;
        height: 40px;
        background-color: #7FB3D5;
        border-radius: 5px;
        border: 2px solid black;  
        align-items: center;
        justify-content: center;
        cursor: pointer;
      }
      .hamburger2 span {
        transform: translate(0px, 5px);
        width: 70%;
        height: 3px;
        background-color: black ;
        display: block;
        margin: 5px;
        transition: all 0.3s ease-in-out;
      }









/* Styles pour le menu */
      .menu {
        display: none; /* le menu est caché par défaut */
        position: absolute;
        top: 50px;
        left: 10px;
        width: auto;
        padding: 10px;
        background-color: #333;
        padding: 10px;
        box-sizing: border-box;
        text-align: center;
        border-radius: 10px;
        border: 2px solid gray;
        z-index: 2;
      }
      .menu li {
        margin: 10px;
       list-style: none;
      }

      .menu a:hover{
    text-decoration: underline;
    cursor: pointer;
}

      .menu a {
        color: #D3C58A;
        text-decoration: none;
        font-size: 16px;
      }
      
      /* Styles pour le bouton hamburger */
      .hamburger {
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 9999;
        width: 40px;
        height: 40px;
        background-color: #333;
        border-radius: 5px;  
        align-items: center;
        justify-content: center;
        cursor: pointer;
      }
      .hamburger span {
        transform: translate(0px, 5px);
        width: 70%;
        height: 3px;
        background-color: #D3C58A ;
        display: block;
        margin: 5px;
        transition: all 0.3s ease-in-out;
      }

      



 .hamburger.active span:nth-child(1) {
  top: 0;
  transform: translateY(13px) translateX(8px) rotate(90deg);
}

.hamburger.active span:nth-child(2) {
  top: 0;
  transform: translateY(5px) rotate(90deg);
}

.hamburger.active span:nth-child(3) {
  top: 0;
  transform:translateY(-3px) translateX(-8px) rotate(90deg);
}


.Classes{

width: 9.9vw;
background-color: rgba(237, 238, 225, 0.8) ;
padding: 10px;
border: 3px solid black;
border-radius: 20px;

}

.Classes a{

    font-family: Pacifico;
    color: black;
    font-weight: bold;
    font-size: 22px;
    text-decoration: none;

}

.Classes a:hover{
    text-decoration: underline;
    cursor: pointer;
}


.containercontenu{
position: absolute;
left: 22vw;

top: 225px ;

background-color: rgba(213, 216, 220 , 0.8) ;

border: 3px solid black;
border-radius: 20px;
width: 50vw;
padding-left: 10px;
}




.Bienvenue{
position: absolute;
left: 50%;
transform: translate(-50%);
top: 225px ;

background-color: rgba(213, 216, 220 , 0.8) ;

border: 3px solid black;
border-radius: 20px;
width: 950px;

}





.BienvenueIndex{

margin-top: 10px;
background-color: rgba(237, 238, 225 , 0.8) ;

border: 3px solid black;
border-radius: 20px;
width: 55vw;

}

.Actus{
margin-top: 10px;


background-color: rgba(237, 238, 225, 0.8) ;

border: 3px solid black;
border-radius: 20px;
width:55vw;

}

.bouton{

background-color: rgba(127, 179, 213, 0.7);
width : 200px;
    border: 2px solid black;
    border-radius: 10px;
    padding: 8px;
    color: black;  
   
}

.bouton a{

    font-family: Pacifico;
    color: black;
    font-weight: bold;
    font-size: 22px;
    text-decoration: none;

}

 .bouton a:hover{
    text-decoration: underline;
    cursor: pointer;
}


.titredivers{
  width: 50%;
}

.Persodivers, .Perso {
  position: absolute;
  top: 10px;
  right: 10px;
}

.Perso li, .Persodivers li {
  background-color: #7FB3D5;
  border: 2px solid black;
  border-radius: 10px;
  padding: 8px;
  color: black;
  list-style: none;
  display: inline;
  float: right;
  margin-right: 20px;
}

.Perso a, .Persodivers a {
  font-family: Pacifico;
  color: black;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
}

.Perso a:hover, .Persodivers a:hover {
  text-decoration: underline;
  cursor: pointer;
}

.hdivers {
  display:none;
}





.u{
  text-decoration: underline;
}
/* repertoire */
.repertoire{

position: absolute;
top: 5vh;
left: 50%;
transform: translate(-50%);
  /* le 20px représente la marge entre les div */
  margin-top: 20px;
  margin-bottom: 20px;
  
background-color: rgba(77, 130, 158  , 1.0) ;

border: 3px solid black;
border-radius: 20px;
width: 70vw;
height: 300px; 
overflow-y: auto;

}
.repertoire li{
  list-style: none;}

.repertoire h1, .repertoire h2{
   
    color: #F5E077 ;
    
}


.repertoire a{

    font-family: Pacifico;
    color: lightgray  ;
    font-weight: bold;
    font-size: 22px;
    text-decoration: none;

}

.repertoire a:hover{
    text-decoration: underline;
    cursor: pointer;
}



/* chapitre */

.chapitre{

flex-basis: calc(33% - 5px);
  /* le 20px représente la marge entre les div */
  margin-top: 20px;
  margin-bottom: 20px;
  
background-color: rgba(237, 238, 225, 0.8) ;

border: 3px solid black;
border-radius: 20px;
width: 410px;
height: 300px; 
overflow-y: auto;

}

.chapitre h1, .chapitre h2{
   
    color: rgba(24, 75, 105 , 1.0)  ;
    
}


.chapitre a{

    font-family: Pacifico;
    color: black  ;
    font-weight: bold;
    font-size: 22px;
    text-decoration: none;

}

.chapitre a:hover{
    text-decoration: underline;
    cursor: pointer;
}


header img {
  height: 100%; /* ajuste la hauteur de l'image */
  width: 100%; /* ajuste la largeur de l'image pour qu'elle couvre toute la largeur de l'en-tête */
  object-fit: cover; /* ajuste la façon dont l'image est affichée pour qu'elle couvre toute la zone définie par height et width */
 
    width: 100%;
    object-fit: cover;
}








#searchform input {
    border-radius: 5px;
    padding: 3px;
}


.container{
    
  position: absolute;
  left: 50%;
  top: 240px;
  transform: translate(-50%);
  width: auto;
  min-width: 50vw;
  height: auto;
  font-weight: bold;
  border: 2px solid black;
  border-radius: 20px;
  background-color: rgba(23, 135, 142  , 0.6);;
  
  padding-right: 60px;
  padding-bottom: 15px;
  padding-top: 15px;
  margin-bottom: 20px;
   }
   

.containercpt{
    
  position: absolute;
  left: 50%;
  top: 150px;
  transform: translate(-50%);
  width: auto;
  min-width: 75vw;
  height: auto;
  font-weight: bold;
  border: 2px solid black;
  border-radius: 20px;
  background-color: rgba(23, 135, 142  , 0.6);
  
  padding-right: 60px;
  padding-bottom: 15px;
  padding-top: 15px;
   }

.containercpt label {
  color: #FCF3CF;
}

.containerconnect{
    
  position: absolute;
  left: 50%;
  top: 280px;
  transform: translate(-50%);
  width: auto;
  max-width: 90vw;
  min-width: 30vw;
  height: auto;
  font-weight: bold;
  border: 2px solid black;
  border-radius: 20px;
  background-color: rgba(23, 135, 142  , 0.6);
  
  padding-right: 40px;
  padding-bottom: 15px;
  padding-top: 15px;
   }
.containerconnect label {
  color: #FCF3CF;
}


   table{
   transform: translate( 10%, 5%);
   }
tbody{
  border: none;
  cursor: default;
}

   td{
    
    padding-left: 15px;
    padding-bottom: 8px;
   }
label{
  text-align: right;
  
  font-size: 20px;
  font-weight: bold;
}
.td1{
  text-align: right;
  font-size: 22px;

}




  #suggestions li {
    cursor: default;
}
#suggestions li:hover {
    text-decoration: underline;
}

#suggestions {
  color: black;
    position: absolute;
    top: calc(100% + 5px); /* 5px est l'espacement entre la barre de saisie et les suggestions */
   border-radius: 15px;
    width: 80%; /* Largeur de la barre de saisie */
    background-color: lightgray; /* Couleur de fond pour le conteneur des suggestions */
    border: 1px solid gray; /* Bordure pour le conteneur des suggestions */
    z-index: 1; /* Pour passer par dessus le texte en dessous */
}

input[type="submit"] {
  border-radius: 5px;
  padding: 3px;
  padding-left: 5px;
  padding-right: 5px;
  cursor: pointer;
}

input {
    background-color: rgba(208, 209, 210 , 0.8);
    border-radius: 5px;
    padding: 5px;

}

a{

    font-family: Pacifico;
    color: black  ;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;

}

a:hover{
    text-decoration: underline;
    cursor: pointer;
}

.td1{
  text-align: right;
}

#suppcpt{
  position: absolute;
  left: 40px;
  bottom: 10px;
  
}

.Retrait input[type="submit"] {

    padding: 5px 10px;
    background-color: #ddd;
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-style: initial;
    text-decoration: underline;
    font-weight: initial;
    font-size: 14px;
    margin-top: 0px;
   
  }

  

  .containerCompte{
    padding-left: 20;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
  min-width: 600px;
  width: auto;
  height: auto;
  padding-bottom: 20px;
  font-weight: bold;
  border: 2px solid black;
  border-radius: 15px;
  border-radius: 15px;
  background-color: #3B250F;
  color:  #F7DC6F;
   }

   .lab1{
  text-align: right;
  color:  #F7DC6F;
  font-weight: bold;
}

.sub1 {
  background-color: lightgray;
  }

  .MCo{
  color: #D3C58A;
                          font-size: 16px;
                          font-weight: bold ;
                          background-color: #522E08;
                          position: absolute;
                          left: 50%;
                          top: 60%;
                          transform: translate(-50%, -60%);
                          width: auto;
                          max-height: 80%;

                          height: auto;
                          
                          overflow: auto;
                          padding: 40px;
                          padding-top: 15px;
                          padding-bottom: 15px;
                          border-radius: 15px;
                          border: 2px solid #D3C58A;
                          
}



/* niveau est chapitre de la page contenu */

#Niveau , #Chapitre {
  padding: 5px;
  font-size: 20px;
  border-radius: 5px;
  border: 2px solid black;
}

.containerAjtR{
position: absolute;
left: 77vw;

top: 290px ;
font-weight: bold;

background-color: rgba(213, 216, 220 , 0.8) ;

border: 3px solid black;
border-radius: 20px;
width: 15vw;
padding:20px;
}

.containerAjtR a {
  font-weight: bold;
  font-size: 22px;
}

.containerEP1{
position: absolute;
left: 22vw;

top: 225px ;

background-color: rgba(213, 216, 220 , 0.8) ;

border: 3px solid black;
border-radius: 20px;
width: 50vw;
padding-left: 10px;
}



/*.EPflex{

display: flex;


}
*/


@media (max-width: 767px) {


.ContainerI{
    position: absolute;
    left: 100%;
    top: 225px;
    
    
    animation: slideInRight 1s forwards;
}

@keyframes slideInRight {
    to {
        left: 2vw;
        
        
    }
}



@keyframes slideInTop {
    to {
        top: 235px;
                
    }
}

.Classes {
    position: absolute;
    left: 63vw;
    top: -100%; /* Move the section outside of the parent container at the top */
    
    
    animation: slideInTop 1s forwards;
}
.Classes{
          left: 63vw;
          width:28vw;
          overflow-x: auto;
          padding: 2vw;

          
        }

        .Classes a{
          font-size: 16px;
          font-weight: bold;
        }
        
        .Actus{
          width: 95vw;
          overflow-x: auto;
        }



        body, .main{
          padding: 1vw;
        }
        .img {
          display: none;
        }
        
        

        .chapitre{
          flex-basis: calc(47% - 5px );
          height: 230px;
          font-size: 10px;
          margin-top: 10px;
          margin-bottom: 10px;
        }
        .chapitre a{
          font-size: 12px;
        }
        .containercontenu{
          left: 2vw;
          width: 92vw;
          padding-left: 5px;
        }
        .containercontenu table{
          transform: translate(-10px);
        }
        .EPflex {
                    display: flex;
                    flex-direction: column;
                  }

        .containerEP1 {
          position: initial;
          
          left: 2vw;
          width: auto;
          margin-bottom: 10px; /* Ajoutez une marge en bas pour séparer les div */
          margin-top: 20px;
          padding-left: 10px;
          margin-left: 0;
        }

        .containerEP1 table{
          transform: translate(-10px);
        }

        .containerAjtR {
          position: initial;
          top: initial;
          left: 2vw;
          width: auto;
          margin-top: 10px; /* Ajoutez une marge en haut pour séparer les div */
        }
        select {width: auto;}
        table{
          padding: 0;
        }
        form{
          padding-left: 0;
          margin-left: 0;
        }
        .container{
          padding-right: 10px;
          padding-left: 5px;

        }
        .container table{

          transform: translate(-10px);
        }
        .New{
          display: none;
        }
        #suppcpt{
          left: 50%;
          transform: translate(-50%);
        }

        .Persodivers {
        display: none; /* Masquer .Persodivers sur les appareils mobiles */
        }

        .hdivers {
        display: block; /* Afficher .hdivers sur les appareils mobiles */
        }
        .titredivers{
          width: 75%;
        }
        .repertoire{
          width: 95vw;
        }
       
        
}