* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
}

main {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.star {
  position: absolute;
  background: #fff;
  animation: twinkle var(--duration) ease-in-out forwards;
}

.star--still {
  opacity: 0.55;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
  }

  20%,
  75% {
    opacity: var(--peak);
  }

  50% {
    opacity: 0.12;
  }
}

.face {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: clamp(120px, 18vw, 220px);
  height: auto;
  filter: grayscale(1) sepia(1) saturate(6) hue-rotate(0deg);
  z-index: 1;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .face {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    will-change: auto;
  }
}
