body {
  margin: 0;
  background: #000;
  color: white;
  font-family: sans-serif;
  font-weight: bold;
  padding: 0;
}

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

#unity-canvas {
  width: 100%;
  height: 100%;
  background: #000
}

#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: calc(50% + 36px);
  transform: translate(-50%, -50%) scaleX(0.1) scaleY(0.5);
  opacity: 0;
  transition: all 1s ease;
  display: block;
}

#unity-loading-bar.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

#custom-progress-bar {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 5px solid rgb(0, 183, 255);
  box-shadow: 0px 0px 50px 5px rgba(5, 143, 255, 0.5);
  border-radius: 15px;
}

.bar-segment {
  width: 30px;
  height: 50px;
  border: 3px solid rgb(0, 100, 139);
  border-radius: 15px;
  margin: 1px;
  box-sizing: border-box;
  opacity: 0;
  transform: scale(3) translateY(-20px);
  transition: opacity 0.6s ease, transform 2s ease, border-radius 1s ease;
  background: linear-gradient(to top left, rgb(63, 210, 255), rgb(0, 88, 139));
  box-shadow: 0px 0px 50px 5px rgba(5, 143, 255, 0.5);
}

.bar-segment.filled {
  opacity: 1;
  transform: scale(1) translateY(0px);
  border-radius: 5px;
}

.bar-segment.fade-out {
  opacity: 0;
  transform: scale(3) translateY(-20px);
  border-radius: 15px;
}

#unity-loading-text {
  margin-top: 30px;
  font-size: 30px;
  color: rgb(0, 183, 255);
  text-shadow: 3px 3px 5px rgba(0, 195, 255, 0.534);
  animation: pulseScale 1.34s ease-in-out infinite;
  user-select: none;
  text-align: center;
}

@keyframes pulseScale {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

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