html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: #000;
  color: #fff;
  font-family: sans-serif;
  overflow: hidden;
}

#container {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

#status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#message {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  letter-spacing: 0.02em;
  display: none;
}

#loading-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  display: none;
  overflow: hidden;
}

#loading-progress {
  width: 15%;
  height: 100%;
  background: rgba(255, 255, 255, 0.55);
  transform: translateX(-100%);
}

#loading-bar.is-indeterminate #loading-progress {
  animation: loading-slide 1.1s ease-in-out infinite;
}

@keyframes loading-slide {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(667%);
  }
}

#canvas {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: none;
}
