body {
  background-color: black;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.star {
  --star-size: random(--random-star-size, 1px, 7px, 1px);
  background-color: white;
  border-radius: 50%;
  aspect-ratio: 1/1;
  width: var(--star-size);
  position: fixed;
  top: random(0%, 100%);
  left: random(0%, 100%);
  filter: drop-shadow(0px 0px calc(var(--star-size) * 0.7) oklch(0.7 0.2 random(0, 360))) 
    drop-shadow(0px 0px calc(var(--star-size) * 3) white);
  mix-blend-mode: hard-light;

  animation: fade-in random(2s, 5s);
  animation-iteration-count: infinite;
  animation-delay: random(0s, 30s);
  animation-direction: normal;
}

.star.fourpointed {
  --star-size: random(--random-four-point-size, 20px, 60px, 1px);
  	clip-path: shape(from 50% 0%,line to 50.27% 3.25%,curve to 56% 44% with 52.39% 28.72%/54.3% 42.3%,curve to 100% 50% with 57.77% 45.77%/72.43% 47.77%,line to 96.75% 50.27%,curve to 56% 56% with 71.28% 52.39%/57.7% 54.3%,curve to 50% 100% with 54.23% 57.77%/52.23% 72.43%,line to 49.73% 96.75%,curve to 44% 56% with 47.61% 71.28%/45.7% 57.7%,curve to 0% 50% with 42.23% 54.23%/27.57% 52.23%,line to 3.25% 49.73%,curve to 44% 44% with 28.72% 47.61%/42.3% 45.7%,curve to 50% 0% with 45.77% 42.23%/47.77% 27.57%,close);
  rotate: random(element-shared, -45deg, 45deg);
}