:root {
  color-scheme: light dark;
}

body {
  margin: 0;
}

#splash {
  align-items: center;
  background: Canvas;
  display: flex;
  height: 100dvh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 9999;
}

#splash img {
  animation: splash-breathe 1s ease-in-out infinite alternate;
  opacity: 0.66;
  transition: opacity 0.4s;
}

#splash.is-initialized img {
  animation: splash-zoom 0.33s ease-in-out forwards;
  opacity: 0.05;
}

@keyframes splash-breathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(0.95);
  }
}

@keyframes splash-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  #splash img,
  #splash.is-initialized img {
    animation: none;
  }
}
