* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #006400, #228B22); /* Vert de Noël */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    overflow: hidden; /* Empêche le défilement de la page */
}

.countdown-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff; /* Blanc neige */
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.time-box {
    background: rgba(255, 255, 255, 0.4);
    padding: 20px;
    border-radius: 10px;
    min-width: 100px;
    color: #FF0000; /* Rouge Noël */
}

.time-box span {
    font-size: 2.2em;
    display: block;
}

.time-box p {
    margin-top: 10px;
    font-size: 1.2em;
}

/* Animation de la neige */
.snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1000;
}

.snowflake {
    position: absolute;
    top: -10px;
    z-index: 1000;
    color: white;
    font-size: 1.5em;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(100vh); }
}

/* Variations pour rendre la chute plus naturelle */
.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 10s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 12s;
    animation-delay: 1s;
}

.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 14s;
    animation-delay: 2s;
}

.snowflake:nth-child(4) {
    left: 40%;
    animation-duration: 16s;
    animation-delay: 3s;
}

.snowflake:nth-child(5) {
    left: 50%;
    animation-duration: 18s;
    animation-delay: 4s;
}

.snowflake:nth-child(6) {
    left: 60%;
    animation-duration: 20s;
    animation-delay: 5s;
}

.snowflake:nth-child(7) {
    left: 70%;
    animation-duration: 22s;
    animation-delay: 6s;
}

.snowflake:nth-child(8) {
    left: 80%;
    animation-duration: 24s;
    animation-delay: 7s;
}
