@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700&display=swap');

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
}






li {
color: #6e6e6e;
margin-top: 5px;
font-size: 17px;
margin-left: -20px;

}

@media (min-width: 700px) {
li {
      font-size: 18px;
  color: #6e6e6e;
margin-top: 5px;

   }
}


table {
    margin-top: 15px;
    width: 100%;
    font-size: 15px;
    border-radius: 8px;
     border-collapse: collapse;
}

@media (min-width: 700px) {
      table {
    width: 75%;
    font-size: 18px;  
   }
}



/* Styles par défaut pour les deux logos */
.logo2 {
 width: 300px;   
}


.logo3 {
 width: 70px;   
}

/* Media query pour les écrans de largeur inférieure à 768 pixels (mobile) */
@media only screen and (max-width: 950px) {
  .logo3 {
    display: block; /* Afficher le deuxième logo sur les écrans mobiles */
  }

  .logo2 {
    display: none; /* Masquer le troisième logo sur les écrans mobiles */
  }
}

/* Media query pour les écrans de largeur supérieure à 768 pixels (non mobile) */
@media only screen and (min-width: 950px) {
  .logo3 {
    display: none; /* Masquer le deuxième logo sur les écrans non mobiles */
  }

  .logo2 {
    display: block; /* Afficher le troisième logo sur les écrans non mobiles */
  }
}


/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Menu xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

.menu {
    background-color: #F2F2F2;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.menu1 {
    margin-left: 5%;
}  

.container {
    display: flex;
    align-items: center;
    margin-right: 5%;
}

.input {
    border: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    width: 230px;
    outline: none;
}

@media (min-width: 700px) {
      .input {
    border: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    width: 380px;
    outline: none;
   }
}


/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Titre xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

.titles {
    margin-top: 5%;
    margin-left: 8%;
    margin-right: 8%;
    text-decoration: none;
}

@media (min-width: 700px) {
     .titles {
    margin-top: 5%;
    margin-left: 12%;
    margin-right: 12%; 
    text-decoration: none;
   }
}


h1 {
    font-weight: bold;
    margin-bottom: -10px;
    background: linear-gradient(120deg, #543AB7B3, #00ACC1B3);
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
    font-size: 30px;  
}

@media (min-width: 700px) {
h1 {
    font-size: 37px;     
   }
}


h2 {
    font-size: 20px;
    color: #6e6e6e;
}

@media (min-width: 700px) {
      h2 {
    font-size: 25px;
    color: #6e6e6e;        
   }
}


h3 {
    font-size: 18px;
    color: #6e6e6e;
    margin-top: 50px;
}

@media (min-width: 700px) {
h3 {
    font-size: 20px;
color: #6e6e6e;   
  	margin-top: 50px;
   }
}




h4 {
    color: #6e6e6e; 
}



.illustration{
     width: 95%;
  
  }

@media (min-width: 700px) {
      .illustration {
    width: 70%;     
   }
}


.illustration-g{
     width: 70%;
  
  }

@media (min-width: 700px) {
      .illustration-g {
    width: 40%;     
   }
}

/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Infos xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

.infos {
    margin-top: 5%;
    margin-left: 8%;
    margin-right: 8%;
    font-size: 19px;
    margin-bottom: 5%;
}

@media (min-width: 700px) {
      .infos {
    margin-top: 5%;
    margin-left: 12%;
    margin-right: 12%;
    font-size: 19px;
    margin-bottom: 5%;  
   }
}

p {
    color: #6e6e6e;
    margin-top: 20px;
    font-size: 17px;
}

@media (min-width: 700px) {
p {
     font-size: 18px; 
   }
}


.text-important {
     color: #1F9AC0;
     font-size: 22px;
}

.ul {

    margin-bottom: -10px;
    margin-top: 30px;

}


.description {
    color: #4F4F4F;
    font-size: 22px;
    margin-top: 60px;
}
@media (min-width: 700px) {
      .description {
    font-size: 25px; 
    margin-top: 60px;  
   }
}





/* Modifiez ces styles pour la suggestion */
.container {
    position: relative;
}

#suggestions {
    position: absolute;
    top: 100%; /* Placez la suggestion en dessous de l'input */
    left: 0;
    background-color: #fff;
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1; /* Assurez-vous que la suggestion est au-dessus de tous les autres éléments */
    font-family: lato;
    border-color:#d1d1d1 ;
    font-size: 18px;
    width: 100%;
}


.suggestion:hover{
    background-color:#DDDDDD;
    transition: 0.1s;
}

/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx formation xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

.formation1 {
    margin-left: 8%;
    margin-right: 8%;
    padding: 10px;
    padding-bottom: 20px;
    border-radius: 15px;
    margin-bottom: 50px;
    background-image: linear-gradient(120deg, #1F9AC0 50%, #4BAECC 50%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}


@media (min-width: 700px) {
      .formation1 {
    margin-left: 12%;
    margin-right: 25%;
    padding: 10px;
    padding-bottom: 20px;
    border-radius: 15px;
    margin-bottom: 50px;
    background-image: linear-gradient(120deg, #1F9AC0 50%, #4BAECC 50%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    margin-top: 30px; 
   }
}




.formation-text1{
    color: white;
    font-size: 23px;
      }

.formation-text2{
    color: white;
    margin-top: -10px;
    margin-bottom: 30px;
      }


.fourmation-bouton{
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #1F9AC0 ;
    justify-content: center;
    text-align: center;

     }




/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Waves xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */


.waves {
    position: relative;
    width: 100%;
    height: 5vh;
    margin-bottom: -7px; /* Fix for safari gap */
    min-height: 100px;
    max-height: 150px;
}

.parallax > use:nth-child(1) {
    fill: rgba(84, 58, 183, 0.4); /* #543AB7 avec opacité 0.4 */
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax > use:nth-child(2) {
    fill: rgba(84, 58, 183, 0.5); /* #543AB7 avec opacité 0.5 */
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax > use:nth-child(3) {
    fill: rgba(84, 58, 183, 0.6); /* #543AB7 avec opacité 0.6 */
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax > use:nth-child(4) {
    fill: rgba(0, 172, 193, 0.3); /* #00ACC1 avec opacité 0.3 */
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}



footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #385caf;
}


.footer-left {
	padding-top: 15px;
	padding-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 700px) {
.footer-left {  
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-self: left;
   }
}


.footer-right {
    justify-self: right;
}


.footer-link 
{
    padding-left: 20px;
    color: white;
  	margin-bottom: 10px;
    text-decoration: none;
}


@media (min-width: 700px) {
.footer-link {  
   }
}



.footer-text 
{
    color: #c7c9c8;
	font-size: 17px;
	margin-right: 20px;
  

}



/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CSS 2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */


body {
            margin: 0;
            font-family: 'Lato', sans-serif;
        }

        table {
            border-collapse: collapse;
            width: 100%;
            margin: 20px auto;
            border-radius: 8px;
        }

        table, th, td {
            border: 1px solid black;
        }

        th, td {
            padding: 10px;
            text-align: center;
        }

        select {
            width: 100%;
        }

        button {
            padding: 10px;
        }

        .button-container {
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }

        .button-container button {
            margin: 0 10px;
            padding: 10px;
            border: 1px solid #3498db; /* Contour bleu */
            border-radius: 5px;
            background-color: #fff; /* Fond blanc */
            color: #3498db; /* Texte bleu */
            cursor: pointer;
        }

        .button-container button:nth-child(odd) {
            background-color: #3498db; /* Fond bleu pour les boutons impairs (Correction) */
            color: #fff; /* Texte blanc */
        }

        .correct {
            background-color: #8FEC8F;
        }

        .incorrect {
            background-color: #FF8080;
        }

        .exercice {
            margin-left: 12%;
            margin-right: 12%;
            margin-bottom: 50px;
        }

        .correction {
            margin-top: 10px;
            text-align: center;
            font-weight: bold;
        }