#mainHeader.winter-mode {
    background-image: asset-url(/assets/main_images/VillaPaintingHeader_Snow-955d92d371769affc8561419d87d12d0d48d2339dbfd7ae550bb11d8e44af405.png);
}

.snowflake {
    position: absolute;
    top: -15px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    /* soft glow */

    /* We'll set these individually via inline styles */
    width: 6px;
    height: 6px;
    opacity: 0.8;
}

/* Three different flake types for variety */
.snowflake:nth-child(3n) {
    width: 3px;
    height: 3px;
}

/* tiny */
.snowflake:nth-child(3n+1) {
    width: 5px;
    height: 5px;
}

/* medium */
.snowflake:nth-child(3n+2) {
    width: 7px;
    height: 7px;
}

/* large */

/* Beautiful drifting animation */
@keyframes snowfall {
    0% {
        transform: translateX(0) translateY(-15px) rotate(0deg);
    }

    25% {
        transform: translateX(var(--drift)) translateY(80px) rotate(90deg);
    }

    50% {
        transform: translateX(calc(var(--drift) * -0.5)) translateY(160px) rotate(180deg);
    }

    75% {
        transform: translateX(calc(var(--drift) * 0.8)) translateY(240px) rotate(270deg);
    }

    100% {
        transform: translateX(var(--drift)) translateY(330px) rotate(360deg);
    }
}

/* Optional: add a second layer of slower, bigger flakes (foreground) */
.snowflake.large {
    width: 10px;
    height: 10px;
    opacity: 0.6;
    animation-duration: 20s;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

@keyframes icicle-sparkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

#holly_corner_left {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 100px;
    height: 100px;
    object-fit: scale-down;
    z-index: 4;
    overflow: hidden;
}

#holly_corner_right {
    position: absolute;
    top: -5px;
    right: -5px;
    transform: scaleX(-1);
    width: 100px;
    height: 100px;
    object-fit: scale-down;
    z-index: 4;
    overflow: hidden;
}

.holly_corner_scaled {
    width: 500px;
    /* Original size */
    height: auto;
    /* Maintain aspect ratio */
    transform: scale(0.2);
    /* Scale down to 20% */
    transform-origin: top left;
    /* Scale from the top-left corner */
}
