video.background-video {
    width: 100%;
}

.video-home h1 {
    font-size: 9rem;
    font-family: 'Oswald', sans-serif;

}

.video-home p {
    font-size: 1.2rem;
    color: white;
}

.video-home {
    position: relative;
    width: 100%; /* Vous pouvez spécifier une largeur ou utiliser 100% pour la largeur totale */
    height: 0; /* pour le padding-bottom */
    padding-bottom: 56.25%; /* ratio 16:9 */
    overflow: hidden;
}

.video-home video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff; /* ou toute autre couleur */
    font-size: 2em; /* ou la taille que vous souhaitez */
    text-align: center;
}

.btn-book {
    background: transparent;
    color: white;
    font-size: 25px;
    padding: 0.5rem 2rem;
    border: solid #efd348 4px;
    border-radius: 21px;
    font-family: 'Rubik', sans-serif;
    font-weight: bold;
}

.btn-book:hover {
    background: #F9D70C;
    transition: 0.5s;
    color: white;
    text-decoration: unset;
}

.btn-book:hover a{
    color: white;
    text-decoration: unset;
}

.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background-color: rgba(0, 0, 0, 0.1); */
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 12;
}

.custom-header.dark {
    background-color: white;
}

.logo{
    z-index: 10;
}

.logo img {
    max-width: 75px;
    z-index: 10;
}

@media only screen and (max-width: 1200px) {
    .logo img {
        max-width: 65px;
    }

    .header ul {
        font-size: 17px !important;
    }

}

.header ul {
	list-style: none;
    font-size: 20px;
    padding: 0;
    margin: 0;
    padding-left: 20px;
    display: flex;
}

.header ul li a {
    color: white;
    font-weight: bold;
}

.header ul li a:hover {
    text-decoration: none !important;
}

.main-navbar a:hover{
    text-decoration: none !important;
}

.main-navbar a {
    color: white;
    margin-left: 20px;
    font-size: 20px;
    font-weight: bold;
    line-height: 31px;
    position: relative;
    display: inline-block;
}

.dark {
    color: black !important;
}

.main-navbar {
    margin-left: auto;
    display: flex;
}

.burger-menu .burger-icon {
    display: none; /* Hidden by default */
    cursor: pointer;
}

.burger-menu .burger-icon div {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 6px 0;
}


@media screen and (max-width: 768px) {
    .burger-menu .burger-icon {
        display: block; /* Show burger icon on mobile */
    }
    .main-navbar {
        display: none; /* Hide menu items by default */
    }
    .main-navbar {
        position: fixed; /* Ou absolute selon votre layout */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* Prend toute la hauteur de la vue */
        background-color: rgba(0, 0, 0, 0.9); /* Fond semi-transparent, ajustez selon le besoin */
        display: flex;
        flex-direction: column; /* Aligner les liens verticalement */
        justify-content: center; /* Centrer les liens verticalement */
        align-items: center; /* Centrer les liens horizontalement */
        transform: translateX(-100%); /* Cacher par défaut */
        transition: transform 0.5s ease; /* Effet de déroulement */
        z-index: 1001; /* Assurez-vous qu'il est au-dessus d'autres éléments */
    }

    .main-navbar.active {
        transform: translateX(0); /* Afficher le menu */
        z-index: 9;
    }

    /* Ajuster le style des liens pour qu'ils soient plus adaptés à un affichage plein écran */
    .main-navbar.active a {
        color: #fff; !important; /* Couleur des liens */
        font-size: 24px; /* Taille des liens */
        text-decoration: none;
        margin: 10px 0; /* Espacement entre les liens */
    }

    .main-navbar.active ul {
        display: block;
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .main-navbar.active li {
        margin-bottom: 3rem;
    }

    .order-menu{
        background: #F9D70C;
        padding: 1rem 2rem;
        border-radius: 3rem;
    }

    .video-home h1 {
        font-size: 3rem;
    }

    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px; /* Ajustez la taille selon le besoin */
        color: #fff; /* La couleur de la croix */
        cursor: pointer;
        display: block !important;
    }

    .video-home p {
        display: none;
    }

    .btn-book {
        font-size: 13px;
    }

}

.close-menu {
   display: none;
}
/* Ajoute le pseudo-élément pour l'effet de ligne */
.main-navbar a::after {
    content: '';
    position: absolute;
    left: 0; /* Aligné à gauche du lien */
    bottom: -5px; /* Positionné juste en dessous du texte du lien */
    width: 100%; /* Assure que la largeur est la même que celle du lien */
    height: 2px; /* Hauteur de la ligne */
    background-color: #f3d84a; /* Couleur de la ligne */
    transform: scaleX(0); /* Commence caché */
    transform-origin: bottom left; /* Point d'origine pour l'animation */
    transition: transform 0.3s ease-in-out; /* Animation douce */
}

/* Animation de la ligne au survol */
.main-navbar a:hover::after, .main-navbar a:focus::after {
    transform: scaleX(1); /* Affiche la ligne en pleine largeur */
}
