/* The app's own canvas while it loads, with Fly's mark breathing,
   rather than a white page. */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: #f1f2f9;
}

#loading {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100dvh;
  transition: opacity 200ms ease-out;
}

#loading img {
  width: 72px;
  height: 72px;
  animation: breathe 1.6s ease-in-out infinite;
}

@keyframes breathe {
  50% {
    opacity: 0.55;
    transform: scale(0.96);
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: #191034;
  }
}

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