/* Police rétro */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body,html {
    margin: 0;
    padding: 0;
    font-family: 'Press Start 2P', cursive;
    color: white;
    overflow-x: auto;
    height: auto;
    background-color: #d4423e;
}

/* Conteneur de la vidéo */
.video-container {
    position: absolute;
    width: 100%;
    height: 100vh;
    overflow: visible;
}

/* Style de la vidéo */
#video-fond {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Contenu par-dessus la vidéo */
.contenu-page {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Titre rétro */
.titre-retro {
    font-size: 3rem;
    color: #ff00ff;
    text-shadow: 3px 3px 0 #00ff00, 5px 5px 0 #0000ff;
    margin-bottom: 1rem;
    animation: clignote 1s infinite alternate;
}

.sous-titre {
    font-size: 1.2rem;
    color: #ffff00;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 0 #000;
}

/* Animation pour le titre */
@keyframes clignote {
    from { text-shadow: 3px 3px 0 #00ff00, 5px 5px 0 #0000ff; }
    to { text-shadow: 3px 3px 0 #ff0000, 5px 5px 0 #ffff00; }
}

/* Calendrier de l'Avent */
.calendrier-avent {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    border: 3px solid #f4c807;
    max-width: 800px;
    width: 90%;
}

.calendrier-avent h2 {
    color: #f51111;
    font-size: 1.8rem;
    margin-top: 0;
}

.grille-calendrier {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-top: 1rem;
}

.case-calendrier {
    aspect-ratio: 1;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 2px solid #ff00ff;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.case-calendrier.cliquable {
    background-color: #00ff00;
    color: black;
    cursor: pointer;
}

.case-calendrier.cliquable:hover {
    background-color: #00aa00;
    transform: scale(1.05);
}

.case-calendrier.non-cliquable {
    background-color: #333;
    color: #666;
    cursor: not-allowed;
}

.case-calendrier .jour {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.retour-accueil {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    width: 80px;
    height: 80px;
    border: 3px solid #ff00ff;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    transition: transform 0.3s;
}

.retour-accueil:hover {
    transform: scale(1.1);
}

.gif-retour {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bouton de contrôle de la musique */
#musique-fond {
    display: none;
}

button[style*="position: fixed"] {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    box-shadow: 0 0 5px #00FFFF;
}

button[style*="position: fixed"]:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #de4a4a;
}

/* Page vidéo */
.video-10 {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(240, 154, 5, 0.943);
    border: 3px solid #FF00FF;
    border-radius: 10px;
    text-align: center;
    color: #e8efe8;
}

.titre-video {
    color: #FF00FF;
    font-family: 'Press Start 2P', cursive;
    margin-bottom: 1.5rem;
}

.video-enigme {
    width: 100%;
    max-height: 500px;
    border: 2px solid #00FFFF;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.suite-video {
    margin-top: 1rem;
}

.bouton-suite {
    background-color: #FF00FF;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.bouton-suite:hover {
    background-color: #FF66FF;
    transform: translateY(-2px);
}

.case-calendrier.weekend {
    background-color: #555; /* Gris foncé */
    color: #888; /* Texte gris clair */
    cursor: not-allowed;
}

/* Style pour les jours cliquables (hors week-end) */
.case-calendrier.cliquable:not(.weekend) {
    background-color: #00AA00; /* Vert pour les jours ouvrés */
    cursor: pointer;
}

/* Style pour les week-ends cliquables (si tu veux les rendre cliquables malgré tout) */
.case-calendrier.weekend.cliquable {
    background-color: #666; /* Gris légèrement plus clair */
}

.coffre-fixe {
    position: fixed;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    cursor: pointer;
}
.image-coffre {
    width: 200px;
    height: auto;
    border: 2px solid gold;
    border-radius: 5px;
    padding: 5px;
}
.image-coffre:hover {
    transform: scale(1.1);
    transition: transform 0.3s;
}

