/* 🌍 Importation de la police */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

/* Importation de la police Montserrat */
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Empêche le scroll vertical */
    height: 100vh; /* Garde la hauteur fixe */
}
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: black; /* Fond noir pour éviter les zones blanches */
    color: white;
}


/* 🔝 Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.8); /* Fond semi-transparent */
    padding: 10px 20px;
}

.navbar-nav .nav-link {
    color: white;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px;
}
.navbar-nav .nav-link:hover {
    color: grey; /* Couleur au survol */
}
/* Contenu principal */
.content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
}

.container {
    display: flex;
    flex-wrap: wrap;
    height: 100vh; /* Assure que rien ne dépasse */
    overflow: hidden;
}
.video-container {
    width: 50%;
    max-height: 90vh; /* Ajuste pour éviter le scroll */
    background-color: black; /* Fond noir si la vidéo ne prend pas toute la largeur */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: auto;
    max-height: 90vh; /* Empêche la vidéo d'être trop grande */
    object-fit: contain; /* Garde l'intégralité de la vidéo sans la rogner */
}

.text-container {
    width: 50%;
    height: 100vh; /* Même hauteur que la vidéo */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre horizontalement */
    text-align: center; /* Centre le texte */
    background-color: black;
    color: white;
    padding: 20px;

}


img {
    width: 20vw; /* Ajuste en fonction de la largeur de l’écran */

    height: auto;
}

/* Version mobile : texte en dessous de la vidéo */
@media (max-width: 992px) {
     html, body {
            overflow: auto; /* Active le scroll uniquement sur mobile */
            height: auto; /* Permet à la page de s’étendre si besoin */
        }
    .container {
        flex-direction: column;
        height: auto;
    }

    .video-container, .text-container {
        width: 100%;
        height: auto;
    }

    .video-container video {
        height: auto;
    }
}
