html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  position: relative;
}
canvas {
    display: block;
}
body {
    margin: 0;
}

#unity-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: Black;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#unity-canvas {
  display: block;
  background: #001F4E;
  width: 100%;
  height: auto;
}

#loading-cover {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
}

#unity-loading-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90vw;
  max-width: 600px;
  padding: 2vh;
  box-sizing: border-box;
}

#unity-logo {
  text-align: center;
  margin-bottom: 3vh;
}

#unity-logo img {
  width: 35%;
  height: auto;
}

#unity-progress-bar-empty {
  width: 100%;
  max-width: clamp(0px, 40vw, 400px);
  height: 25px;
  margin: 2vh 0;
  border: 1px solid #EBE6E6;
  border-radius: 12px;
  padding: 2px;
  overflow: hidden;
  text-align: left;
  box-sizing: border-box;
}
#loading-text {
  margin-top: 1vh;
  font-size: clamp(14px, 2vw, 18px);
  color: #EBE6E6;
  text-align: center;
  font-family: sans-serif;
}
#unity-progress-bar-full {
  height: 100%;
  width: 0%;
  background: #EBE6E6;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.spinner {
  width: clamp(0px, 5vw, 50px);
  height: clamp(0px, 5vw, 50px);
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #EBE6E6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-top: 2vh;
}

