/* #stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #01041F 0%, #082B33 100%);
    z-index: -1;
} */

.star {
    position: absolute;
    background-color: #fff;
    width: 1px;
    height: 1px;
    border-radius: 50%;
}

.star:before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: starTwinkle 2s infinite;
}

.shooting-star {
    position: absolute;
    width: 2px;
    height: 10px;
    background-color: #fff;
    opacity: 1;
    z-index: 1;
    transform: rotate(45deg);
    animation: shootingStarAnimation 0.5s linear forwards;
}

@keyframes starTwinkle {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(0.5);
        opacity: 0;
    }
}

@keyframes shootingStarAnimation {
    0% {
        opacity: 1;
        transform: translateX(-200px) translateY(-200px) rotate(70deg);
    }

    100% {
        opacity: 0;
        transform: translateX(200px) translateY(-300px) rotate(70deg);
    }
}

body {
    overflow: hidden;
}

/* Randomized twinkle delays */
.star:nth-child(1):before {
    animation-delay: 0.8s;
}

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

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

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

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

.star:nth-child(6):before {
    animation-delay: 0.7s;
}

/* Add more star:nth-child(n):before rules for additional stars */
.star:nth-child(7):before {
    animation-delay: 1.3s;
}

.star:nth-child(8):before {
    animation-delay: 0.6s;
}

.star:nth-child(9):before {
    animation-delay: 1.5s;
}

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

/* Continue adding star:nth-child(n):before rules for more delays */
.star:nth-child(15):before {
    animation-delay: 0.8s;
}

.star:nth-child(16):before {
    animation-delay: 1.2s;
}

.star:nth-child(17):before {
    animation-delay: 0.9s;
}

.star:nth-child(18):before {
    animation-delay: 1.4s;
}

.star:nth-child(19):before {
    animation-delay: 1.1s;
}

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

/* Add more star:nth-child(n):before rules for additional stars */
.star:nth-child(11):before {
    animation-delay: 1.3s;
}

.star:nth-child(12):before {
    animation-delay: 0.6s;
}

.star:nth-child(13):before {
    animation-delay: 1.5s;
}

.star:nth-child(14):before {
    animation-delay: 0.5s;
}