/* Styles de base pour la page 
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

/* ---------------------------------- */
/* Styles du conteneur et des flèches */
.menu-container {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-arrow {
    background-color: transparent;
    border: none;
    color: #555;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    outline: none;
}

.nav-arrow:hover {
    color: #007bff;
}

.nav-arrow.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none; /* Empêche le clic */
}

/* ---------------------------------- */
/* Styles du menu minimaliste */
.horizontal-menu {
    flex: 1; /* Permet au menu de prendre l'espace restant */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
    /* Masquage de la barre de défilement */
    scrollbar-width: none;  /* Firefox */
}

/* Masquage pour Webkit (Chrome, Safari, etc.) */
.horizontal-menu::-webkit-scrollbar {
    display: none;
}

.horizontal-menu ul {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px; 
    border-bottom: 1px solid #ddd;
}

.horizontal-menu li {
    flex-shrink: 0;
    position: relative; 
}

.horizontal-menu a {
    display: block;
    padding: 15px 0; 
    text-decoration: none;
    color: #555;
    transition: color 0.3s;
}

.horizontal-menu li.active a {
    color: #007bff; 
}

.horizontal-menu li::after { 
    content: '';
    position: absolute;
    bottom: -1px; 
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #007bff;
    transform: scaleX(0); 
    transform-origin: right;
    transition: transform 0.3s ease-out;
}

.horizontal-menu li.active::after {
    transform: scaleX(1);
}

nav.horizontal-menu a{
  text-transform: uppercase;
  font-size:0.8rem;
}

.horizontal-menu-content {
  padding: 1rem;
  padding-top: 2rem;
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  border-bottom-right-radius: .25rem;
  border-bottom-left-radius: .25rem;
}