body {
  padding: 0;
  margin: 0;
  background-color: black;
}

#unity-container {
  position: absolute;
}

#unity-container.unity-desktop {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#unity-container.unity-mobile {
  position: fixed;
  width: 100%;
  height: 100%;
}

#unity-canvas {
  background: url('background-loading.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.unity-mobile #unity-canvas {
  width: 100%;
  height: 100%;
}

#unity-loading-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#unity-logo {
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  /* max-width: 500px; */
  aspect-ratio: 2 / 1;
  background: url('unity-logo-dark.png') center center/contain no-repeat;
}

#unity-progress-bar-empty {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: clamp(20px, 3vh, 30px); /* Adaptive height between 20-30px */
  background-color: #002320;
}

#unity-progress-bar-full {
  height: 100%;
  width: 0%;
  background: #FF8A00;
  transition: width 0.3s ease;
}

#unity-progress-bar-empty p {
  position: absolute;
  /* top: 21%; */
  margin: 0px;
  padding: 0px;
  z-index: 0;
  text-align: center;
  color: white;
  width: 100%;
  font-weight: 400;
  font-family: Arial, Helvetica, sans-serif;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(12px, 1.5vh, 16px); /* Adaptive font size */
}

#unity-footer {
  position: relative;
}

.unity-mobile #unity-footer {
  display: none;
}

#unity-webgl-logo {
  float: left;
  width: 204px;
  height: 38px;
  background: url('webgl-logo.png') no-repeat center;
}

#unity-build-title {
  float: right;
  margin-right: 10px;
  line-height: 38px;
  font-family: arial;
  font-size: 18px;
}

#unity-fullscreen-button {
  cursor: pointer;
  float: right;
  width: 38px;
  height: 38px;
  background: url('fullscreen-button.png') no-repeat center;
}

#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: white;
  padding: 10px;
  display: none;
}
