/*
 =========================================================
 * Filo's dark theme - Shooting stars
 =========================================================
 * Page: https://filo.gg
 * Copyright 2023 iLxlo_ (https://github.com/ilxlodev)
 * Coded by iLxlo_
 =========================================================
 * Not allowed to copy substantial portions of the software without prior authorization.
 */

.shooting-stars {
  top: 0;
  left: 0;
  z-index: 0;
  width: 100vw;
  height: 100%;
  position: fixed;
  overflow: hidden;
  pointer-events: none;
}

.shooting-star {
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  position: absolute;
  border-radius: 50%;
  animation: animate 3s linear infinite;
  background: var(--filogg-color-white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 0 0 8px rgba(255, 255, 255, 0.1), 0 0 20px var(--filogg-color-white);
}

.shooting-star::before {
  top: 50%;
  height: 1px;
  content: "";
  width: 300px;
  position: absolute;
  transform: translateY(-50%);
  background: linear-gradient(90deg, var(--filogg-color-white), transparent);
}

@keyframes animate {

  0% {
    transform: rotate(315deg) translateX(0);
    opacity: 0.4;
  }
  
  70% {
    opacity: 0.4;
  }

  100% {
    transform: rotate(315deg) translateX(-100vw);
    opacity: 0;
  }
  
}

.shooting-star:nth-child(1) {
  top: 0;
  right: 0;
  left: initial;
  animation-delay: 0;
  animation-duration: calc(1s * 8);
}

.shooting-star:nth-child(2) {
  top: 0;
  right: 80px;
  left: initial;
  animation-delay:0.2s;
  animation-duration: calc(3s * 8);
}

.shooting-star:nth-child(3) {
  top: 80px;
  right: 0px;
  left: initial;
  animation-delay: 0.4s;
  animation-duration: calc(2s * 8);
}

.shooting-star:nth-child(4) {
  top: 0;
  right: 180px;
  left: initial;
  animation-delay: 0.6s;
  animation-duration: calc(1.5s * 8);
}

.shooting-star:nth-child(5) {
  top: 0;
  right: 400px;
  left: initial;
  animation-delay: 0.8s;
  animation-duration: calc(2.5s * 8);
}

.shooting-star:nth-child(6) {
  top: 0;
  right: 600px;
  left: initial;
  animation-delay: 1s;
  animation-duration: calc(3s * 8);
}

.shooting-star:nth-child(7 ) {
  top: 300px;
  right: 0px;
  left: initial;
  animation-delay: 1s;
  animation-duration: calc(1.75s * 8);
}

.shooting-star:nth-child(8) {
  top: 0px;
  right: 700px;
  left: initial;
  animation-delay: 1.4s;
  animation-duration: calc(1.25s * 8);
}

.shooting-star:nth-child(9) {
  top: 0px;
  right: 1000px;
  left: initial;
  animation-delay: 0.75s;
  animation-duration: calc(2.25s * 8);
}

.shooting-star:nth-child(10) {
  top: 0px;
  left: initial;
  right: 1100px;
  animation-delay: 2.75s;
  animation-duration: calc(2.25s * 8);
}