/* ==================================
  05.17 Shooting Star Effects
================================== */

.stars {
  position: fixed;
  top: 0;
  bottom: 0;
  display: block;
  /* left: 0; */
  right: -5%;
  width: 150%;
  opacity: 0.2;
  transform: rotate(-45deg);
}

.star {
  --star-color: #ffffff;
  --star-tail-length: 3em;
  --star-tail-height: 2px;
  --star-width: calc(var(--star-tail-length) / 6);
  --fall-duration: 9s;
  --tail-fade-duration: var(--fall-duration);
  position: absolute;
  top: var(--top-offset);
  left: 0;
  width: var(--star-tail-length);
  height: var(--star-tail-height);
  color: var(--star-color);
  background: linear-gradient(45deg, currentColor, transparent);
  border-radius: 50%;
  filter: drop-shadow(0 0 6px currentColor);
  transform: translate3d(304em, 0, 0);
  animation: fall var(--fall-duration) var(--fall-delay) linear infinite,    tail-fade var(--tail-fade-duration) var(--fall-delay) ease-out infinite;
  background: #fff;
  -webkit-transform: translate3d(304em, 0, 0);
  -moz-transform: translate3d(304em, 0, 0);
  -ms-transform: translate3d(304em, 0, 0);
  -o-transform: translate3d(304em, 0, 0);
}
@media screen and (max-width: 750px) {
  .star {
    animation: fall var(--fall-duration) var(--fall-delay) linear infinite;
  }
}
.star:nth-child(1) {
  --star-tail-length: 6.42em;
  --top-offset: 32.52vh;
  --fall-duration: 6.88s;
  --fall-delay: 9.011s;
}
.star:nth-child(2) {
  --star-tail-length: 5.6em;
  --top-offset: 41.94vh;
  --fall-duration: 7.932s;
  --fall-delay: 9.539s;
}
.star:nth-child(3) {
  --star-tail-length: 6.07em;
  --top-offset: 48.19vh;
  --fall-duration: 11.944s;
  --fall-delay: 6.129s;
}
.star:nth-child(4) {
  --star-tail-length: 6.38em;
  --top-offset: 10.39vh;
  --fall-duration: 9.12s;
  --fall-delay: 2.783s;
}
.star:nth-child(5) {
  --star-tail-length: 6.45em;
  --top-offset: 9vh;
  --fall-duration: 10.947s;
  --fall-delay: 0.378s;
}
.star:nth-child(6) {
  --star-tail-length: 5.7em;
  --top-offset: 35.17vh;
  --fall-duration: 11.904s;
  --fall-delay: 1.46s;
}
.star:nth-child(7) {
  --star-tail-length: 6.39em;
  --top-offset: 90.61vh;
  --fall-duration: 10.751s;
  --fall-delay: 5.964s;
}
.star:nth-child(8) {
  --star-tail-length: 7.43em;
  --top-offset: 78.25vh;
  --fall-duration: 10.872s;
  --fall-delay: 7.925s;
}
.star:nth-child(9) {
  --star-tail-length: 5.44em;
  --top-offset: 58.27vh;
  --fall-duration: 7.559s;
  --fall-delay: 7.013s;
}
.star:nth-child(10) {
  --star-tail-length: 5.16em;
  --top-offset: 96.34vh;
  --fall-duration: 6.269s;
  --fall-delay: 4.163s;
}
.star:nth-child(11) {
  --star-tail-length: 6.66em;
  --top-offset: 40.23vh;
  --fall-duration: 6.06s;
  --fall-delay: 1.509s;
}
.star:nth-child(12) {
  --star-tail-length: 5.35em;
  --top-offset: 44.03vh;
  --fall-duration: 9.307s;
  --fall-delay: 8.635s;
}
.star:nth-child(13) {
  --star-tail-length: 6.54em;
  --top-offset: 35.89vh;
  --fall-duration: 11.567s;
  --fall-delay: 9.014s;
}
.star:nth-child(14) {
  --star-tail-length: 7.44em;
  --top-offset: 18.28vh;
  --fall-duration: 11.725s;
  --fall-delay: 9.366s;
}
.star:nth-child(15) {
  --star-tail-length: 5.47em;
  --top-offset: 63.97vh;
  --fall-duration: 7.207s;
  --fall-delay: 4.34s;
}
.star:nth-child(16) {
  --star-tail-length: 7.47em;
  --top-offset: 37.46vh;
  --fall-duration: 8.145s;
  --fall-delay: 1.178s;
}
.star:nth-child(17) {
  --star-tail-length: 6.22em;
  --top-offset: 33.6vh;
  --fall-duration: 8.649s;
  --fall-delay: 4.862s;
}
.star:nth-child(18) {
  --star-tail-length: 7.49em;
  --top-offset: 38.88vh;
  --fall-duration: 11.038s;
  --fall-delay: 6.805s;
}
.star:nth-child(19) {
  --star-tail-length: 5.71em;
  --top-offset: 54.12vh;
  --fall-duration: 6.802s;
  --fall-delay: 1.03s;
}
.star:nth-child(20) {
  --star-tail-length: 6.21em;
  --top-offset: 30.17vh;
  --fall-duration: 8.823s;
  --fall-delay: 9.618s;
}
.star:nth-child(21) {
  --star-tail-length: 6.14em;
  --top-offset: 66.69vh;
  --fall-duration: 8.858s;
  --fall-delay: 8.811s;
}
.star:nth-child(22) {
  --star-tail-length: 5.04em;
  --top-offset: 7.16vh;
  --fall-duration: 7.087s;
  --fall-delay: 4.392s;
}
.star:nth-child(23) {
  --star-tail-length: 5.36em;
  --top-offset: 53.61vh;
  --fall-duration: 7.845s;
  --fall-delay: 0.952s;
}
.star:nth-child(24) {
  --star-tail-length: 5.16em;
  --top-offset: 94.32vh;
  --fall-duration: 7.142s;
  --fall-delay: 9.299s;
}
.star:nth-child(25) {
  --star-tail-length: 6.45em;
  --top-offset: 91.86vh;
  --fall-duration: 8.173s;
  --fall-delay: 2.012s;
}
.star:nth-child(26) {
  --star-tail-length: 6.18em;
  --top-offset: 51.11vh;
  --fall-duration: 9.446s;
  --fall-delay: 1.691s;
}
.star:nth-child(27) {
  --star-tail-length: 5.83em;
  --top-offset: 17.84vh;
  --fall-duration: 11.925s;
  --fall-delay: 9.114s;
}
.star:nth-child(28) {
  --star-tail-length: 6.08em;
  --top-offset: 19.44vh;
  --fall-duration: 8.054s;
  --fall-delay: 5.867s;
}
.star:nth-child(29) {
  --star-tail-length: 7.29em;
  --top-offset: 11.48vh;
  --fall-duration: 8.131s;
  --fall-delay: 6.43s;
}
.star:nth-child(30) {
  --star-tail-length: 5.39em;
  --top-offset: 34.88vh;
  --fall-duration: 7.109s;
  --fall-delay: 8.757s;
}
.star:nth-child(31) {
  --star-tail-length: 6.7em;
  --top-offset: 31.67vh;
  --fall-duration: 11.697s;
  --fall-delay: 6.266s;
}
.star:nth-child(32) {
  --star-tail-length: 5.92em;
  --top-offset: 2.28vh;
  --fall-duration: 9.182s;
  --fall-delay: 9.426s;
}
.star:nth-child(33) {
  --star-tail-length: 6.98em;
  --top-offset: 15.1vh;
  --fall-duration: 8.671s;
  --fall-delay: 9.678s;
}
.star:nth-child(34) {
  --star-tail-length: 6.54em;
  --top-offset: 36.45vh;
  --fall-duration: 10.394s;
  --fall-delay: 0.486s;
}
.star:nth-child(35) {
  --star-tail-length: 5.7em;
  --top-offset: 43.85vh;
  --fall-duration: 11.776s;
  --fall-delay: 7.59s;
}
.star:nth-child(36) {
  --star-tail-length: 5.6em;
  --top-offset: 79.93vh;
  --fall-duration: 10.983s;
  --fall-delay: 4.909s;
}
.star:nth-child(37) {
  --star-tail-length: 5.15em;
  --top-offset: 17.37vh;
  --fall-duration: 9.439s;
  --fall-delay: 3.968s;
}
.star:nth-child(38) {
  --star-tail-length: 5.96em;
  --top-offset: 14.48vh;
  --fall-duration: 9.768s;
  --fall-delay: 3.156s;
}
.star:nth-child(39) {
  --star-tail-length: 7.04em;
  --top-offset: 78.76vh;
  --fall-duration: 10.673s;
  --fall-delay: 6.688s;
}
.star:nth-child(40) {
  --star-tail-length: 7.45em;
  --top-offset: 67.61vh;
  --fall-duration: 7.135s;
  --fall-delay: 4.172s;
}
.star:nth-child(41) {
  --star-tail-length: 5.23em;
  --top-offset: 61.48vh;
  --fall-duration: 10.488s;
  --fall-delay: 7.473s;
}
.star:nth-child(42) {
  --star-tail-length: 5.11em;
  --top-offset: 47.43vh;
  --fall-duration: 11.155s;
  --fall-delay: 5.633s;
}
.star:nth-child(43) {
  --star-tail-length: 6.39em;
  --top-offset: 11.69vh;
  --fall-duration: 9.797s;
  --fall-delay: 2.614s;
}
.star:nth-child(44) {
  --star-tail-length: 6.43em;
  --top-offset: 69.99vh;
  --fall-duration: 9.638s;
  --fall-delay: 1.287s;
}
.star:nth-child(45) {
  --star-tail-length: 5.03em;
  --top-offset: 1.96vh;
  --fall-duration: 8.518s;
  --fall-delay: 2.639s;
}
.star:nth-child(46) {
  --star-tail-length: 7.33em;
  --top-offset: 52.62vh;
  --fall-duration: 6.876s;
  --fall-delay: 8.426s;
}
.star:nth-child(47) {
  --star-tail-length: 7.42em;
  --top-offset: 29.38vh;
  --fall-duration: 9.266s;
  --fall-delay: 4.194s;
}
.star:nth-child(48) {
  --star-tail-length: 7.26em;
  --top-offset: 56.29vh;
  --fall-duration: 6.011s;
  --fall-delay: 3.046s;
}
.star:nth-child(49) {
  --star-tail-length: 5.97em;
  --top-offset: 38.52vh;
  --fall-duration: 6.558s;
  --fall-delay: 0.792s;
}
.star:nth-child(50) {
  --star-tail-length: 6.31em;
  --top-offset: 42.41vh;
  --fall-duration: 9.012s;
  --fall-delay: 1.869s;
}
.star::before,
.star::after {
  position: absolute;
  content: "";
  top: 0;
  left: calc(var(--star-width) / -2);
  width: var(--star-width);
  height: 100%;
  background: linear-gradient(45deg, transparent, currentColor, transparent);
  border-radius: inherit;
  animation: blink 2s linear infinite;
}
.star::before {
  transform: rotate(45deg);
}
.star::after {
  transform: rotate(-45deg);
}

@keyframes fall {
  to {
    transform: translate3d(-30em, 0, 0);
  }
}
@keyframes tail-fade {
  0%,
  50% {
    width: 40px;
    opacity: 1;
  }
  70%,
  80% {
    width: 20;
    opacity: 0.4;
  }
  100% {
    width: 0;
    opacity: 0;
  }
}
@keyframes blink {
  50% {
    opacity: 0.6;
  }
}