.snowflake {
    position: fixed;
    top: -50px;
    color: rgb(255, 255, 255);
    font-size: 1em;
    user-select: none;
    pointer-events: none;
    z-index: 9999;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    text-shadow: 0 0 3px rgba(85,97,120,0.8);
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}
@keyframes fall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(var(--drift)) rotate(360deg);
        opacity: 0.8;
    }
}

.snowflake::before {
    content: '\2744';
}



.christmas-lights-container {
    position: fixed;
    top: 55px;
    left: 0;
    width: 100%;
    height: 150px; /* Höhe der hängenden Kette */
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.christmas-lights-container.active {
    opacity: 1;
}

.light-string {
    position: absolute;
    width: 100%;
    height: 100%;
}


.light-wire {
    --height: 20%;
    position: absolute;
    width: 100%;
    height: var(--height);
    background: transparent;
    opacity: 0.8;
    top: calc(var(--height) - 50px);
    left: 0;
    border-bottom: 4px solid black;

    /* Wellenform */
    border-radius: 50% / 25%;
    
    /* Optional: kleine Animation, damit es wie locker hängt */
    transform: translateY(0);
    animation: sway 2s ease-in-out infinite alternate;
}

@keyframes sway {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}


.light-bulb {
    position: absolute;
    width: 12px;
    height: 16px;
    border-radius: 40% 40% 50% 50%;
    box-shadow: 
        0 0 10px currentColor,
        0 0 20px currentColor,
        inset 0 -2px 4px rgba(0,0,0,0.3);
    animation: glow 3s ease-in-out infinite;
}

.light-bulb::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 4px;
    background: #666;
    border-radius: 2px;
}

.light-bulb::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 20%;
    width: 40%;
    height: 30%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

@keyframes glow {
    0%, 100% { filter: brightness(1.3); }
    50% { filter: brightness(1.5); }
}

.light-red { color: #ff0000; }
.light-green { color: #00ff00; }
.light-blue { color: #0088ff; }
.light-yellow { color: #ffff00; }
.light-purple { color: #ff00ff; }
.light-orange { color: #ff8800; }
.absolute-bottom-right{
    position: absolute;
    bottom: 0;
  
}

.easteregg-icon{
    z-index: 999;
    width: 120px;
    height: 120px;
    position: fixed;
    right: 5px;
    pointer-events: auto;
    bottom: 8px;
    transform-origin: center center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;

}
@media (max-width: 768px) {
    .easteregg-icon {
        width: 80px;
        height: 80px;
    }
}




.easteregg-icon:hover {
    transform: scale(1.1); /* wächst in der Mitte */
}

.snow-layer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,110 C150,100 250,50 400,60 C550,90 650,30 800,60 C950,90 1050,30 1200,60 L1200,120 L0,120 Z" fill="white" opacity="0.95"/></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 100;
    transition: height 1s ease-in-out, opacity 1s ease-in-out;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 5px rgb(139, 145, 155));
}

.snow-layer.visible {
    height: 80px;
    opacity: 1;
}