html {
    height: 100%;
    font-size: 14px;
  }
  
body {
    margin-top: 0; /* Retirer la marge du haut, elle n'est plus nécessaire */
}
  
/* Navbar Styles */
.navbar {
    background-color: #f4f4f4 !important; /* Couleur claire */
    color: #333;
    padding: 0; /* Pas de padding pour maximiser l'économie d'espace */
    font-size: 16px; /* Réduire légèrement la taille de la police */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7); /* Ombre sous la navbar */
    height: 40px; /* Fixer la hauteur de la navbar */
    display: flex;
    align-items: center; /* Aligner les éléments verticalement */
    position: fixed !important; /* fixe la navbar a l'image quand on defile la page */
    top: 0; /* Positionne la navbar en haut de l'écran */
    left: 0; /* Assure que la navbar est alignée à gauche */
    width: 100%; /* La navbar occupe toute la largeur de la page */
    z-index: 10000; /* Garantit que la navbar reste au-dessus du contenu */
}
  
.navbar .navbar-nav .nav-link:hover {
    color: #009dff !important; /* Rouge pour les liens survolés */
}
/* Cibler le conteneur navbar et forcer la couleur de fond */
.navbar.bg-body-tertiary {
    background-color: #e9e9e9 !important; /* Gris très clair */
}

/* Cibler spécifiquement les éléments enfants de la navbar */
.navbar .navbar-brand {
    background-color: #e9e9e9 !important; /* Pour s'assurer que le logo aussi soit affecté */
}

/* Centrer les éléments du menu */
.navbar-nav {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    width: 100%;
}

  
.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}
  
.navbar ul li {
    display: inline-block;
    position: relative;
    margin-right: 10px;
}
  
.navbar ul li a {
    color: #333;
    padding: 5px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s, color 0.3s;
    line-height: 1;
}
  
.navbar ul li a:hover {
    color: black;
}
  
.navbar ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #e50e0ec5;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    list-style: none;
}
  
.navbar ul li:hover > ul {
    display: block;
}
  
.navbar ul li ul li {
    display: block;
    position: relative;
    margin-right: 10px;
}
  
.navbar ul li ul li a {
    padding: 10px 20px;
    font-size: 16px;
}
  
.dropdown-menu {
    display: none;
}
  
.LogoEstrappes {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligne le logo à gauche */
    width: auto; /* Évite que le logo ne prenne trop de place */
}

.LogoEstrappes img {
    height: 40px; /* Même hauteur que le texte de la navbar */
    width: auto; /* Conserve les proportions */
}

.LogoEstrappesPetit img {
    max-height: 40px !important;
    width: auto !important;
}

/* Info Message - Responsive */
.info-message {
    background-color: black;
    color: white;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    font-size: 3vh;
    margin-top: 40px;
    text-align: center;
    max-height: 50px;
    height: 50px;
    overflow: hidden;
}

.info-message img {
    width: auto;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    margin: 5px 10px;
}

.info-message p {
    flex: 1;
    text-align: center;
    margin: 0 10px;
    min-width: 150px;
    font-size: 2.5vh;
    line-height: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bouton Contact*/
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background-color: #4fb2d3;
    color: white;
    font-size: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
    z-index: 1000;
  }
  
  .floating-btn:hover {
    background-color: #000000;
  }

  
  .footer-socials {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-socials img {
    width: 10vw;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.footer-socials img:hover {
    transform: scale(1.2);
}

  

@media screen and (max-width: 768px) {
    .info-message {
        font-size: 2.2vh;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 5px;
    }
    .info-message img {
        height: 35px;
    }
    .info-message p {
        font-size: 2vh;
        margin: 0 10px;
        flex-grow: 1;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .info-message {
        font-size: 2vh;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: auto;
        flex-wrap: wrap;
        padding: 5px 10px;
    }
    .info-message img {
        height: 30px;
    }
    .info-message p {
        font-size: 1.8vh;
        text-align: center;
        line-height: normal;
        white-space: normal;
    }
}