
/* christmas lights*/

.lightrope {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    margin: -15px 0 0 0;
    padding: 0;
    pointer-events: none;
    width: 100%;
}

.lightrope li {
    position: relative;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    width: 12px;
    height: 28px;
    border-radius: 50%;
    margin: 20px;
    display: inline-block;
    background: rgba(0, 247, 165, 1);
    box-shadow: 0px 4.67px 24px 3px rgba(0, 247, 165, 1);
    animation-name: flash-1;
    animation-duration: 2s;
}

.lightrope li:nth-child(2n+1) {
    background: rgba(0, 255, 255, 1);
    box-shadow: 0px 4.67px 24px 3px rgba(0, 255, 255, 0.5);
    animation-name: flash-2;
    animation-duration: 0.4s;
}

.lightrope li:nth-child(4n+2) {
    background: rgba(247, 0, 148, 1);
    box-shadow: 0px 4.67px 24px 3px rgba(247, 0, 148, 1);
    animation-name: flash-3;
    animation-duration: 1.1s;
}

.lightrope li:nth-child(odd) {
    animation-duration: 1.8s;
}

.lightrope li:nth-child(3n+1) {
    animation-duration: 1.4s;
}

.lightrope li::before {
    content: "";
    position: absolute;
    background: #222;
    width: 10px;
    height: 9.33px;
    border-radius: 3px;
    top: -4.67px;
    left: 1px;
}

.lightrope li::after {
    content: "";
    top: -14px;
    left: 9px;
    position: absolute;
    width: 52px;
    height: 18.67px;
    border-bottom: solid #222 2px;
    border-radius: 50%;
}

.lightrope li:last-child::after {
    content: none;
}

.lightrope li:first-child {
    margin-left: -40px;
}

/* Keyframes for Flash Animation */
@keyframes flash-1 {
    0%, 100% {
        background: rgba(0, 247, 165, 1);
        box-shadow: 0px 4.67px 24px 3px rgba(0, 247, 165, 1);
    }
    50% {
        background: rgba(0, 247, 165, 0.4);
        box-shadow: 0px 4.67px 24px 3px rgba(0, 247, 165, 0.2);
    }
}

@keyframes flash-2 {
    0%, 100% {
        background: rgba(0, 255, 255, 1);
        box-shadow: 0px 4.67px 24px 3px rgba(0, 255, 255, 1);
    }
    50% {
        background: rgba(0, 255, 255, 0.4);
        box-shadow: 0px 4.67px 24px 3px rgba(0, 255, 255, 0.2);
    }
}

@keyframes flash-3 {
    0%, 100% {
        background: rgba(247, 0, 148, 1);
        box-shadow: 0px 4.67px 24px 3px rgba(247, 0, 148, 1);
    }
    50% {
        background: rgba(247, 0, 148, 0.4);
        box-shadow: 0px 4.67px 24px 3px rgba(247, 0, 148, 0.2);
    }
}


/* Greeting Popup */
#greeting-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff5a5a;
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.2em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10001;
}

#snowflake-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.snowflake {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}
