/*
body {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
*/
.starsContainer {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: -1;
}

.night {
    position: absolute;
    width: 100%;
    height: 0%;
    transform: rotateZ(140deg);
}

.star {
    position: absolute;
    height: 2px;
    width: 0;
    background: linear-gradient(-45deg, #FFF, rgba(0, 0, 255, 0));
    border-radius: 999px;
    filter: drop-shadow(0 0 6px #FFF);
    animation: tail 5s ease-in-out infinite,
               falling 5s ease-in-out infinite;
}

@keyframes tail {
    0%   { width: 0; }
    30%  { width: 100px; }
    60%  { width: 0; }
    100% { width: 0; }
}

@keyframes falling {
    0%   { transform: translateX(0); opacity: 1; }
    60%  { transform: translateX(300px); opacity: 1; }
    100% { transform: translateX(300px); opacity: 0; }
}

.star::before,
.star::after {
    content: "";
    position: absolute;
    top: calc(50%-1px);
    right: 0;
    height: 2px;
    background: linear-gradient(-45deg, rgba(0, 0, 255, 0), #FFF, rgba(0, 0, 255, 0));
    border-radius: 100%;
    transform: translateX(50%) rotateZ(45deg);
    animation: shining 3s ease-in-out infinite
}

@keyframes shining {
    0% {
        width: 0;
    }

    50% {
        width: 30px;
    }

    100% {
        width: 0;
    }
}

.star::after {
    transform: translateX(50%) rotateZ(-45deg);
}

.star:nth-child(1) {
    top: calc(50% - 100px);
    left: calc(50% - 250px);
    animation-delay: 1s;
}

.star:nth-child(1)::before,
.star:nth-child(1)::after {
    animation-delay: 1s;
}

.star:nth-child(2) {
    top: calc(50% - 50px);
    left: calc(50% - 200px);
    animation-delay: 10s;
}

.star:nth-child(2)::before,
.star:nth-child(2)::after {
    animation-delay: 10s;
}

.star:nth-child(3) {
    top: calc(50% - 0px);
    left: calc(50% - 150px);
    animation-delay: 20s;
}

.star:nth-child(3)::before,
.star:nth-child(3)::after {
    animation-delay: 20s;
}

.star:nth-child(4) {
    top: calc(50% - -50px);
    left: calc(50% - 200px);
    animation-delay: 28s;
}

.star:nth-child(4)::before,
.star:nth-child(4)::after {
    animation-delay: 28s;
}

.star:nth-child(5) {
    top: calc(50% - -100px);
    left: calc(50% - 250px);
    animation-delay: 40s;
}

.star:nth-child(5)::before,
.star:nth-child(5)::after {
    animation-delay: 40s;
}
