/* snow.css - Schneefall ohne Scroll-Block */
body {
    background: url('your-background.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* Container für Schneeflocken */
.snow {
    position: fixed;      /* fixed, damit Schneeflocken über alles hinwegfallen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* lässt Mausklicks und Scrollen durch */
    z-index: 9999;
}

/* Jede Schneeflocke */
.snowflake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 1em;
    user-select: none;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Fall-Animation */
@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.8;
    }
}

/* Schneeflocken mit unterschiedlichen Positionen & Geschwindigkeiten */
.snowflake:nth-child(1) { left: 5%; animation-duration: 6s; font-size: 12px; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 8s; font-size: 16px; }
.snowflake:nth-child(3) { left: 35%; animation-duration: 7s; font-size: 10px; }
.snowflake:nth-child(4) { left: 50%; animation-duration: 9s; font-size: 14px; }
.snowflake:nth-child(5) { left: 65%; animation-duration: 5s; font-size: 18px; }
.snowflake:nth-child(6) { left: 80%; animation-duration: 8s; font-size: 13px; }
.snowflake:nth-child(7) { left: 90%; animation-duration: 6s; font-size: 15px; }
