:root {
  --launch-background: #F6F4EF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --launch-background: #0F151A;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--launch-background);
}

#splash {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--launch-background);
}

#splash picture {
  display: block;
  animation: splash-pulse 1.8s ease-in-out infinite;
}

#splash img {
  display: block;
  width: 72px;
  height: 72px;
}

@keyframes splash-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  #splash picture {
    animation: none;
  }
}
