html,
body {
  margin: 0;
  padding: 0;
}

#canvas-frame {
  width: 100vmin;
  height: 100vmin;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#canvas-frame canvas {
  width: 100% !important;
  height: 100% !important;
}

.loader-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100px, 15vw);
  height: min(100px, 15vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: min(60px, 10vw);
  height: min(60px, 10vw);
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: rgba(255, 255, 255, 0.8);
  animation: spin 1s ease-in-out infinite;
}

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