html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #1f3329;
  font-family: system-ui, sans-serif;
}

#canvasHolder {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  /* the visible height on phones, whose URL bar comes and goes */
  height: 100dvh;
  background: #000;
}

#theCanvas {
  position: fixed;
  inset: 0;
  -webkit-user-select: none;
  user-select: none;
}

#loading {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 8vh;
  color: #fff6dc;
  font-size: 1.3em;
  background: #1f2d1c url(../splash/splash_landscape_1920x1080.png) center / cover no-repeat;
  transition: opacity 0.35s ease-out;
}

@media (orientation: portrait) {
  #loading {
    background-image: url(../splash/splash_portrait_1080x1920.png);
  }
}

#loading.done {
  opacity: 0;
  pointer-events: none;
}

#loading .spinner {
  width: 72px;
  height: 72px;
  animation: froglash-spin 1.2s linear infinite;
}

#loading .label {
  margin-top: 0.5em;
  text-shadow: 0 2px 0 #1f2d1c;
}

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

#blazor-error-ui {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.6rem 1.25rem;
  background: lightyellow;
  z-index: 1000;
}
