.main-header {
    
    display: flex; /* Fixe le header en haut de l'écran */
    align-items: center;
    top: 0px ; /* Position à 0px du haut */
    left: 0px; /* Position à 0px de la gauche */
    width: 100%; /* Le header occupe toute la largeur de l'écran */
    height: 80px; /* Hauteur du header */
    justify-content: space-between;
    padding: 0 20px; /* Marges intérieures */
    z-index: 960; /* S'assurer qu'il soit au-dessus des autres éléments */
}

.LogoH {
    height: 60px;
}
.zonetextH {

    display: flex;
    flex-direction: row;
    font-size: 10px;
    gap: 10px;
    
}
.dropdownh {
    display: none;
    width: auto;
    padding: 10px;
    font-size: 20px;
    border: 1px solid #ccc;
    border-radius: 0px;
    background-color: white;
    appearance: none; /* Supprime le style natif du navigateur */
    transition: border-color 0.3s ease;
    font-weight: 700;
}

.dropdownh :focus {
    border-color: #888;
    outline: none;
    width: 100%;
    height: 100%;
}

/* Optionnel : Icône personnalisée pour la liste déroulante */
.dropdownh ::after {
    width: 100%;
    
    display: none;
    content: '';
    position: absolute;
    right: 100px;
    top: 10%;
    transform: translateY(-50%);
    border: 0px solid transparent;
    border-top-color: #888;
    pointer-events: none;
}


.linef {
    display: block;
    margin: 4px auto 0;
    width: 20px;
    height: 4px;
    border-radius: 0px;
    transition: width 0.3s ease-in-out;
}


.linef-1 {
    background-color: #e60e0e; 
}
.linet {
    display: block;
    margin: 4px auto 0;
    width: 20px;
    height: 4px;
    border-radius: 0px;
    transition: width 0.3s ease-in-out;
}


.linet-1 {
    background-color: #e60e0e; 
}

.linet-2 {
    background-color: #0e70e6; 
}

.linet-3 {
    background-color: #0ee653;
}

.linet-4 {
    background-color: #e6c40e; 
}

.expoH, .colecH, .vieH, .visiH { 
    cursor: pointer;
    transform: translateX(0);
    padding: 10px;
    margin: 15px;
}

.expoH:hover .linet {
    width: 100%; 
}
.colecH:hover .linet {
    width: 100%; 
}
.vieH:hover .linet {
    width: 100%; 
}
.visiH:hover .linet {
    width: 100%; 
}






* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.search-icon {
    width: 24px;
    height: 24px;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

.language-selector {
    position: relative;
    display: flex;
    justify-content: left;
    margin: 20px;
    font-size: 20px;
    min-width: 50px;
    
}

.selected-language {
    display: flex;
    align-items: center;
    cursor: pointer;
    
    padding: 4px 4px;
}

.arrow-icon {
    width: 40px;
    height: 40px;
    margin-left: 0px;
    margin-right: 0px;
    transition: transform 0.3s ease; /* Animation fluide */
}

.arrow-icon.rotate {
    transform: rotate(90deg); /* Rotation de 90 degrés */
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    animation: dropdownClose 0.3s forwards;
}

.language-dropdown.open {
    display: block;
    animation: dropdownOpen 0.3s forwards;
}

.language-dropdown li {
    padding: 4px 4px;
    padding-right: 30px;

    cursor: pointer;
    text-align: left; /* Alignement à gauche */
    
}

.language-dropdown li:hover {
    background-color: #e0e0e0; /* Couleur de survol */
}
/* Bouton Burger */
.burger {
    
    position: relative;
    width: 40px;
    height: 30px;
    background: transparent;
    cursor: pointer;
    display: block;
    z-index: 15000;
    align-items: center;
    display: none;
  }
  
  .burger input {
    display: none;
  }
  
  .burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: black;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }
  
  .burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
  }
  
  .burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
  }
  
  .burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-100%);
  }
  
  .burger input:checked ~ span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 0px;
    left: 5px;
  }
  
  .burger input:checked ~ span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
  }
  
  .burger input:checked ~ span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 28px;
    left: 5px;
  }
  
  /* Menu Burger */
  .burger-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Menu hors de l'écran */
    width: 100%;
    height: 110%;
    backdrop-filter: blur(10px);
    background-color: #0c0c0cce;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    z-index: 1500;
    transition: right 0.3s ease-in-out;
  }
  
  /* Lien du menu */
  .menu-linksburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  
  .menu-linksburger a {
    font-family: "Audiowide", serif;
    color: white;
    text-decoration: none;
    font-size: 25px;
    margin: 25px 0;
    transition: color 0.3s ease-in-out;
  }
  
  .menu-linksburger a:hover {
    color: #9c9c9c; /* Couleur au survol */
  }
  
  /* Classe active pour afficher le menu */
  .burger-menu.active {
    right: 0; /* Menu entre en vue */
  }
  
  .burger-menu.active .menu-linksburger {
    opacity: 1;
    transform: translateY(0);
  }
  body.no-scroll {
    overflow: hidden; /* Empêche le défilement */
    height: 100%; /* Évite les décalages d'arrière-plan */
}
  
@keyframes dropdownOpen {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 200px;
        opacity: 1;
    }
}

@keyframes dropdownClose {
    from {
        max-height: 200px;
        opacity: 1;
    }
    to {
        max-height: 0;
        opacity: 0;
    }
}
.loupesel {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

@media only screen and (max-width: 750px) {
    .main-header {
    
        display: flex; /* Fixe le header en haut de l'écran */
        align-items: center;
        top: 0px ; /* Position à 0px du haut */
        left: 0px; /* Position à 0px de la gauche */
        width: 100%; /* Le header occupe toute la largeur de l'écran */
        height: 80px; /* Hauteur du header */
        background-color: #fefefe; /* Couleur de fond */
        justify-content: space-between;
        padding: 0 20px; /* Marges intérieures */
        z-index: 960; /* S'assurer qu'il soit au-dessus des autres éléments */
    }
    .dropdownh{
        font-size: 15px;
        display: block;
    }
    .dropdownh :focus{
        display: block;
        
    }
    .dropdownh::after{
        display: block;
        
    }
    .zonetextH {
        display: none;
        
    }
    .LogoH {
        height: 40px;
    }
    .search-bar {
        display: none;
    }
    .loupesel {
        display: flex;
        flex-direction: row;
        gap: 20px;
        height: 100%;
    }
    .burger {
        display: block;
    }
}