#unity-container {
  width: 100%;
  height: 100vh;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

#unity-container.unity-mobile {
  width: 100%;
  height: 100%;
}

#unity-canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #041427;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
}

#unity-loading-bar {
  width: 80%;
  max-width: 256px;
  opacity: 1;
  transition: opacity 2.0s ease-in;
}

#unity-loading-bar.hidden {
  opacity: 0;
}

#unity-logo, #unity-progress-bar-empty {
  width: 100%;
}

#unity-logo img {
  width: 100%;
  height: auto;
  max-width: 256px;
}

#unity-progress-bar-full {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transition: width 0.3s ease;
  border-radius: 9999px;
}

#unity-progress-bar-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  z-index: 10;
}
