:root {
  --twinkle-duration: 4s;
}
.stars-wrapper {
  position: relative;
  pointer-events: none;
  width: 100vw;
  height: 350px;
 /* background: linear-gradient(45deg, #32043e, #1b0526);*/
  background-image: linear-gradient(45deg, #0e0422 0%, #35037c 100%);
  overflow: hidden;
}
.stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  animation: twinkle var(--twinkle-duration) ease-in-out infinite;
}
.stars:nth-child(2) {
  animation-delay: calc(var(--twinkle-duration) * -0.33);
}
.stars:nth-child(3) {
  animation-delay: calc(var(--twinkle-duration) * -0.66);
}
@keyframes twinkle {
  25% {
    opacity: 0;
  }
}
.star {
  fill: white;
}
.star:nth-child(3n) {
  opacity: 0.8;
}
.star:nth-child(7n) {
  opacity: 0.6;
}
.star:nth-child(13n) {
  opacity: 0.4;
}
.star:nth-child(19n) {
  opacity: 0.2;
}
.comet {
  transform-origin: center center;
  animation: comet 10s linear infinite;
}
@keyframes comet {
  0%, 40% {
    transform: translateX(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  60%, 100% {
    transform: translateX(-100vmax);
    opacity: 0;
  }
}
.comet-b {
  animation-delay: -3.3s;
}
.comet-c {
  animation-delay: -5s;
}
