:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #000;
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

main {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: 1rem;
}

.loading-indicator {
  position: relative;
  display: grid;
  width: min(16rem, 80vw);
  aspect-ratio: 1;
  place-items: center;
}

.loading-indicator::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid rgb(0 0 0 / 12%);
  border-top-color: #111;
  border-radius: 50%;
  animation: spin 1.6s linear infinite;
}

h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-indicator::before {
    animation-duration: 8s;
  }
}
