html {
  height: 100%;
}

body {
  background-color: black;
  height: 100vh;
  margin: 0 auto;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#unity-container {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  background-image: url("/TemplateData/assets/loading_screen_background.png");
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
  background-image: url("/TemplateData/assets/loading_screen_background.png");
  background-size: cover;
  background-position: center;
}

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

#unity-loading-bar {
  position: absolute;
  left: 50%;
  display: none;
  z-index: 20;
  top: 90%;
  transform: translate(-50%, -50%);
}
#unity-progress-bar-empty {
  width: 141px;
  height: 18px;
  margin-top: 10px;
  margin-left: 6.5px;
  background: url("/TemplateData/progress-bar-empty-dark.png") no-repeat center;
}
#unity-progress-bar-full {
  width: 0%;
  height: 18px;
  margin-top: 10px;
  background: url("/TemplateData/progress-bar-full-dark.png") no-repeat center;
}

@media (min-width: 1201px) {
  #unity-container {
    width: calc(9 * 100vh / 16);
    max-width: 1200px;
  }
}

@media (min-width: 426px) and (max-width: 1200px) {
  #unity-container {
    width: calc(9 * 100vh / 16);
    height: 100vh;
    max-width: 100vw;
  }
}

@media (max-width: 425px) {
  #unity-container {
    width: 425px;
  }
}
