nav .actif  {
    background-color: #001e46;
}

.overlay {
    position: absolute;
}

video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.button {
    width: 250px;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    font-size: 30px;
    background-color: #003478;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    border-radius: 30px;
}

.button:hover {
    background-color: #002760;
}

/* Styles du popup */
.popup {
    display: none;
    /* Le popup est caché par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Fond semi-transparent */
    z-index: 9999;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 100px;
    border-radius: 10px;
    max-width: 900px;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: justify;
}
.popup-content p {
    color: #003478;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    text-align: justify;
}

.popup-content h1 {
    color: #003478;
    font-size: 40px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
}

.scrollable-content {
    max-height: 300px; /* Hauteur maximale de la zone défilante */
    overflow-y: auto; /* Activer le défilement vertical */
    padding-right: 10px; /* Légèrement espacé pour éviter que le texte touche le bord */
    scrollbar-width: none;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

.popup-content img {
    display: block;
    margin: 0 auto;
    width: 50%;
    height: auto;
    border-radius: 10px;
}
@media (max-width: 900px) {
    .popup-content {
        background-color: #fff;
        padding: 50px;
        width: 50%;
        border-radius: 10px;
        text-align: center;
        position: relative;
    }


}