.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    border: 3px solid #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

#titre {
    text-align: center;
}

.note {
    font-size: 12px;
}

/* Popup de bienvenue */
.popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1500;
    animation: fadeIn 0.3s ease forwards;
}

.popup.hidden {
    display: none;
}

.popup-content {
    background-color: white;
    padding: 30px 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    animation: popupOpen 0.3s ease forwards;
    position: relative;
}

.popup-content h2 {
    margin-bottom: 15px;
    color: #c62828;
}

.popup-content p {
    font-size: 1.1rem;
    color: #333;
}

.close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    color: #888;
    transition: transform 0.2s ease, color 0.2s ease;
}

.close:hover {
    color: #c62828;
    transform: scale(1.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popupOpen {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


