/* Inspired by https://codepen.io/amyth91/pen/DzYGaK */

footer:has(#lightings) {
    overflow-y: hidden;
}

#lightings {
    bottom: -150px;
    position: absolute;
    width: 100%;
}

#lightings div {
    border-radius: 50%;
    height: 20px;
    width: 100%;
    position: relative;
    margin: auto;
}

#lightings div:first-child {
    animation: one 5s ease-in-out infinite alternate;
}
#lightings div:nth-child(2) {
    width: 90%;
    animation: two 4s ease-in-out infinite alternate;
}
#lightings div:nth-child(3) {
    width: 80%;
    animation: three 3s ease-in-out infinite alternate;
}
#lightings div:nth-child(4) {
    width: 70%;
    animation: four 2s ease-in-out infinite alternate;
}
#lightings div:last-child {
    width: 60%;
    animation: five 1s ease-in-out infinite alternate;
}

@keyframes one {
    from {
        box-shadow: 0 0 250px 20px #473c78;
    }

    to {
        box-shadow: 0 0 100px 15px #f72a3b;
    }
}

@keyframes two {
    from {
        box-shadow: 0 0 250px 20px #18c499;
    }

    to {
        box-shadow: 0 0 100px 15px #d8f05e;
    }
}

@keyframes three {
    from {
        box-shadow: 0 0 250px 20px #ffdd00;
    }

    to {
        box-shadow: 0 0 100px 15px #3e33ff;
    }
}

@keyframes four {
    from {
        shadow: 0 0 250px 20px #781848;
    }

    to {
        shadow: 0 0 100px 15px #f2bbe9;
    }
}

@keyframes five {
    from {
        box-shadow: 0 0 250px 20px #42f2a1;
    }

    to {
        box-shadow: 0 0 100px 15px #f4f6ad;
    }
}
