body {
    background: black; /* Changer le fond en noir */
    /* background: url('background.jpg') no-repeat center center fixed; */
    background-size: cover;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    text-align: center;
}

h1 {
    margin-top: 50px;
    font-size: 3em;
    text-shadow: 2px 2px 5px #000;
}

.calendar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px;
    margin: 50px auto;
}

.door {
    position: relative;
    width: 100px;
    height: 140px;
    margin: 10px;
    perspective: 1000px;
}

.door.locked {
    cursor: not-allowed;
}

.door.locked .front {
    background-color: rgba(128, 128, 128, 0.7); /* Grisé */
    cursor: not-allowed;
}

.door .face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border: 2px solid #fff;
    border-radius: 10px;
    transition: transform 0.6s;
}

.door .front {
    background-color: rgba(255, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
}

.door .back {
    background-color: rgba(0, 128, 0, 0.7);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.door.flipped .front {
    transform: rotateY(180deg);
}

.door.flipped .back {
    transform: rotateY(360deg);
}

button {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #ddd;
}

#mute-button {
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 2em;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

#mute-button:hover {
    color: #ddd;
}

/* Styles pour l'effet de neige sur toute la page */
.snow-container {
    position: fixed; /* Changer de absolute à fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Modifier les flocons de neige pour tomber plus vite */
.snowflake {
    position: absolute;
    top: -10px;
    width: 5px;
    height: 5px;
    background: white;
    opacity: 0.8;
    border-radius: 50%;
    animation: fall 8s linear infinite; /* Réduire la durée pour accélérer la chute */
}

@keyframes fall {
    to {
        transform: translateY(100vh); /* Faire tomber les flocons sur toute la hauteur de la fenêtre */
        opacity: 0;
    }
}

footer {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 0.9em;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    color: #ddd;
}