.logo {
    height: 40px; 
    width: auto;
}
.nav-link .material-symbols-outlined {
    vertical-align: middle;
}
.material-symbols-outlined { /* Effet pivote à droite puis revient à 0 */
  display: inline-block;
  transition: transform 0.3s ease;
}

.nav-link:hover .material-symbols-outlined {
  animation: rotateBack 2s ease forwards;
}

/* Définition de l’animation */
@keyframes rotateBack {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(25deg) scale(1.2);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}
/* Sur mobile, réduire la taille du logo */
@media (max-width: 576px) {
    .logo {
        height: 30px;
    }
}
.dropdown-menu.bg-dark .dropdown-item { /* Couleur du texte du menu dropdown de Formation */
    color: #a1a1a1;
}
.dropdown-menu.bg-dark .dropdown-item:hover {
    background: rgb(39, 39, 39);
}
/* Ajout d'une transition fluide à la flèche Bootstrap par défaut */
.dropdown-toggle::after {
  transition: transform 0.3s ease;
}

/* Fait pivoter la flèche lorsque le menu est ouvert */
.dropdown.show > .dropdown-toggle::after {
  transform: rotate(180deg);
}
#form-contact{
    max-width: 400px;
    margin: 100px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
input {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
input[type="submit"] {
    margin-top: 20px;
    background-color: #4caf50;
    color: #fff;
    cursor: pointer;
}
input[type="submit"]:hover {
    background-color: #35a43b;
}
#message {
    width: 100%;
}
/* Style pour le conteneur */
.g-recaptcha {
    width: 100%;
    display: flex;
    justify-content: center;
}
/* Ajuster le widget*/
.g-recaptcha iframe {
    width: 100% !important;
    height: auto;
}
p {
    margin: 0;
}
#text {
    margin-left: 25%;
    color: #45a049;
}
#bas-page {
    margin-left: 35%;
}
footer {
    color: #fff;
    bottom: 0;
    width: 100%;
}
/*Style pour la modal*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
     overflow-y: auto; /* Activer le défilement vertical */
}
/* Contenu de la modal */
.modal-content {
    position: relative;
    margin: 15% auto; /* Centrer verticalement */
    padding: 20px;
    background: #fff;
    width: 70%; /* Largeur de la modal */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Bouton pour fermer la modal */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
}
.close:hover {
    color: red;
}
#open-modal-footer, #open-mentions-legales {
    color: #fff;
    font-size: 0.7rem;
}
@media (max-width: 767px) { 
    #bas-page {
        width: auto;
        margin-left: 0;
        padding: 10px;
        text-align: center;
        }
    } 
@media (min-width: 768px) { 
    #bas-page {
        width: auto;
        margin-left: 0;
        padding: 10px;
        text-align: center;
    }
}
@media (max-width: 499px) { 
    #form-contact{
        margin: 100px 10px;
    }
}