html,
body {
  /* margin: 0;
  padding: 0;
  */
  
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
}
#unity-container {
  /* position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  aspect-ratio: 9 / 16; */

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#unity-canvas {
  touch-action-delay: none;
  touch-action: none;
  -ms-touch-action: none;
  width: 100%;
  height: 100%;
  background: black;
}
.rotate-device-popup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  z-index: 9999; /* Ensure it's on top of everything */
  pointer-events: none; /* Allows interaction with elements underneath */
  display: none;
}

.rotate-device-popup-content {
  text-align: center;
}
#unity-logo { width: 154px; height: 130px; background: url('unity-logo.png') no-repeat center }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('progress-bar-empty.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full.png') no-repeat center }
@media only screen and (max-width: 600px) {
  #unity-container {
    aspect-ratio: unset;
    width: 100%;
    height: 100%;
  }
}
