/* Christmas Lights Canvas/Container */
#christmas-lights-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    /* Below user interaction but above background */
    overflow: hidden;
    display: block;
    /* Default visible */
}

.light-strand {
    position: absolute;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
    pointer-events: none;
}

/* Positioning the 4 strands */
.strand-top {
    top: -15px;
    /* Hang slightly off/on screen */
    left: 0;
    width: 100%;
    height: 40px;
    flex-direction: row;
}

.strand-bottom {
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 40px;
    flex-direction: row;
    transform: rotate(180deg);
}

.strand-left {
    top: 0;
    left: -15px;
    height: 100%;
    width: 40px;
    flex-direction: column;
}

.strand-right {
    top: 0;
    right: -15px;
    height: 100%;
    width: 40px;
    /* Adjusted width */
    flex-direction: column;
    transform: rotate(180deg);
    /* Flip it so bulbs point inward correctly if needed */
}


/* The Bulb */
.bulb {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    margin: 5px;
    /* Spacing */
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.4);
}

/* Wire connector (optional, simple version just implies it) */
.bulb::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 6px;
    background: #222;
    top: -4px;
    left: 4px;
    border-radius: 2px;
}

/* Colors and Animations */
.bulb:nth-child(4n+1) {
    background: #ff2525;
    /* Red */
    box-shadow: 0px 2px 15px rgba(255, 37, 37, 0.6);
    animation-name: flash-1;
}

.bulb:nth-child(4n+2) {
    background: #20ff20;
    /* Green */
    box-shadow: 0px 2px 15px rgba(32, 255, 32, 0.6);
    animation-name: flash-2;
    animation-delay: 0.5s;
}

.bulb:nth-child(4n+3) {
    background: #ffff20;
    /* Gold */
    box-shadow: 0px 2px 15px rgba(255, 255, 32, 0.6);
    animation-name: flash-3;
    animation-delay: 1s;
}

.bulb:nth-child(4n+4) {
    background: #2090ff;
    /* Blue */
    box-shadow: 0px 2px 15px rgba(32, 144, 255, 0.6);
    animation-name: flash-1;
    animation-delay: 0.2s;
}


@keyframes flash-1 {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0px 2px 20px 4px currentColor;
    }

    50% {
        opacity: 0.4;
        box-shadow: 0px 2px 5px 0px currentColor;
    }
}

@keyframes flash-2 {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0px 2px 20px 4px currentColor;
    }

    50% {
        opacity: 0.4;
        box-shadow: 0px 2px 5px 0px currentColor;
    }
}

@keyframes flash-3 {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0px 2px 20px 4px currentColor;
    }

    50% {
        opacity: 0.4;
        box-shadow: 0px 2px 5px 0px currentColor;
    }
}