body, html {
    height: 100%;
    margin: 0;
    background-color: #000; /* Fond noir */
}

.bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    filter: brightness(50%); /* Assombrissement de la vidéo pour un meilleur contraste */
}

.language-selector img {
    width: 20px; /* Réglé à 20px ou autre selon la taille désirée */
    height: auto;
    transition: transform 0.5s;
    margin-right: 10px;
    align-self: center;
}

.language-selector {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #48464681; /* Semi-transparent */
    padding: 10px 15px; /* Ajustez selon le contenu et l'espacement souhaité */
    cursor: pointer;
    color: white;
    border-radius: 5px;
    font-size: 16px; /* Ajusté à 16px pour mieux correspondre à l'échelle d'un sélecteur */
    display: flex;
    align-items: center;
    justify-content: start;
    z-index: 1000; /* Pour s'assurer qu'il reste au-dessus des autres éléments */
    font-family: 'Noto Sans', sans-serif;
}

.language-options {
    display: none;
    position: absolute;
    left: 0; /* Aligné à gauche avec le sélecteur */
    top: 100%; /* Positionné juste en dessous du sélecteur */
    width: auto; /* Ajustez selon le contenu */
    min-width: 100%; /* Assurez-vous que la largeur minimum est celle du sélecteur */
    background-color: #33333370; /* Semi-transparent */
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
    border-radius: 5px; /* Border radius uniforme */
    overflow: hidden; /* Masque les débordements */
    font-family: 'Noto Sans', sans-serif;
}

.language-option {
    padding: 10px; /* Plus de padding pour une meilleure accessibilité */
    color: white; /* Couleur du texte */
    display: block; /* Chaque option est un bloc pour mieux gérer les clics */
}

.language-option:hover {
    background-color: #555;
}

.selected-language img {
    width: 30px;
    height: auto;
    margin-right: 8px;
}

.title {
    position: fixed;
    width: 100%;
    top: 20%;
    text-align: center;
    color: ghostwhite;
    z-index: 2;
    animation: fadeIn 2s ease-out;
    font-size: 44px; /* Taille normale */
    font-family: sans-serif;
    text-transform: uppercase;
}

.title.active {
    font-size: 48px; /* Taille agrandie pour la langue sélectionnée */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.description {
    position: fixed;
    top: 27%;
    width: 100%;
    text-align: center;
    font-size: 25px;
    color: white;
    z-index: 2;
    font-family: 'Noto Sans', sans-serif;
}

.button-container {
    position: fixed;
    width: 100%;
    top: 40%;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border-radius: 30%;
}

.button {
    font-size: 18px;
    font-weight: 300;
    padding: 12px 24px;
    margin: 10px;
    border-radius: 10px;
    color: black;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: whitesmoke;
}

.button:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.creators {
    position: fixed;
    font-size: 15px;
    font-style: italic;
    top: 50%;
    width: 100%;
    text-align: center;
    color: wheat;
    opacity: 0.8;
    z-index: 2;
    font-family: 'Noto Sans', sans-serif;
}

@media (max-width: 768px) {
    .title {
        font-size: 24px;
    }
    .description {
        font-size: 14px;
    }
    .creators {
        font-size: 12px;
    }
    .button {
        font-size: 12px;
        padding: 8px 10px;
    }
    .button-container {
        flex-direction: column;
        top: 50%;
    }
}

.line-decor {
    width: 1px; /* Épaisseur de la ligne */
    height: 50px; /* Longueur de la ligne */
    background-color: white; /* Couleur de la ligne */
}

.footer {
    position: fixed;
    display: flex;
    justify-content: center;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.footer .img img {
    margin: 10px;
    width: 170px; /* ajustez cette valeur selon vos besoins */
}
