/**
 * Snowfall Animation - Christmas/Winter Theme
 * Professional and corporate-friendly design
 */

/* Snowfall Container */
#snowfall-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* Snowflake Base Styles */
.snowflake {
    position: absolute;
    top: -10px;
    color: #fff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    animation: fall linear infinite;
    opacity: 0.8;
}

/* Falling Animation */
@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }

    100% {
        top: 110%;
        transform: translateX(100px) rotate(360deg);
    }
}

/* Different Snowflake Sizes */
.snowflake:nth-child(3n) {
    font-size: 0.8em;
    animation-duration: 15s;
    animation-delay: 0s;
}

.snowflake:nth-child(3n+1) {
    font-size: 1.2em;
    animation-duration: 20s;
    animation-delay: 2s;
}

.snowflake:nth-child(3n+2) {
    font-size: 1em;
    animation-duration: 25s;
    animation-delay: 4s;
}

/* Horizontal Movement Variation */
.snowflake:nth-child(2n) {
    animation-name: fall-alt;
}

@keyframes fall-alt {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }

    100% {
        top: 110%;
        transform: translateX(-100px) rotate(-360deg);
    }
}

/* Opacity Variation */
.snowflake:nth-child(4n) {
    opacity: 0.6;
}

.snowflake:nth-child(4n+1) {
    opacity: 0.9;
}

.snowflake:nth-child(4n+2) {
    opacity: 0.7;
}

/* Blur Effect for Depth */
.snowflake:nth-child(5n) {
    filter: blur(1px);
}

.snowflake:nth-child(5n+2) {
    filter: blur(2px);
}