body {
    font-family: Arial, sans-serif;
    background-color: #1c1c1c;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    padding: 20px;
    background-color: #2a2a2a;
}

h1 {
    margin: 0;
}

h2 {
    border-bottom: 1px solid #444;
    padding: 10px 0;
}

main {
    padding: 20px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    background-color: #2a2a2a;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

li:hover {
    background-color: #3a3a3a;
}

a {
    color: #1e90ff;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #2a2a2a;
}

#video-player {
    margin-top: 20px;
}

video {
    width: 100%; /* S'adapte à la largeur du conteneur */
    max-width: 600px; /* Limite la largeur maximale */
    background-color: #000; /* Fond noir pour le lecteur vidéo */
}

/* Styles pour le modal */
.modal {
    display: none; /* Caché par défaut */
    position: fixed; /* Rester en place */
    z-index: 1000; /* Au-dessus du contenu */
    left: 0;
    top: 0;
    width: 100%; /* Largeur pleine */
    height: 100%; /* Hauteur pleine */
    overflow: auto; /* Activer le défilement si nécessaire */
    background-color: rgba(0, 0, 0, 0.8); /* Fond sombre transparent */
    justify-content: center; /* Centre le contenu horizontalement */
    align-items: center; /* Centre le contenu verticalement */
}

.modal video {
    max-width: 90%; /* Limite la largeur maximale */
    max-height: 90%; /* Limite la hauteur maximale */
}

.close {
    position: absolute; /* Positionner le bouton de fermeture */
    top: 20px; /* À 20px du haut */
    right: 30px; /* À 30px de la droite */
    color: white; /* Couleur blanche */
    font-size: 40px; /* Taille du texte */
    font-weight: bold; /* Texte en gras */
    cursor: pointer; /* Curseur en forme de main */
    transition: 0.3s; /* Transition douce */
}

.close:hover {
    color: #bbb; /* Couleur au survol */
}
