:root {
  --loading-progress: '0';
  --landscape_loading_page: '';
  --portrait_loading_page: '';
}
body { padding: 0; margin: 0 }
#unity-container { position: absolute }
#unity-container.unity-desktop {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
#unity-container.unity-mobile { width: 100%; height: 100% }
#unity-canvas { background: #000  }
#unity-canvas { padding: 0; width: 100%; height: 100%; position: absolute; overflow: hidden; margin: auto}
.unity-mobile #unity-canvas { width: 100%; height: 100%; margin: auto}
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#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 { 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 }

#unity-loading-bar {
  position: relative;
  background: var(--landscape_loading_page) no-repeat center/cover #000;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 190px 37px 32px;
  margin: 0;
  box-sizing: border-box;
  user-select: none;
}

/* Header */
.game-logo {
  max-width: 286px;
}

/* Loading Section */
.loading {
  margin: auto;
  position: relative;
}
.loading-progress {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  font-family: Rogerex, sans-serif;
  font-size: 22px;
  translate: -50% calc(-50% - 1px);
}
.loading-progress:before{
  content: var(--loading-progress);
}

@media screen and (min-width: 992px) {
  .loading-progress {
    font-size: 30px;
  }
}

.spinner {
  max-width: 76px;
  height: auto;
  transition: rotate .3s;
  animation: spin 1s infinite linear;
}

/* Footer */
.studio-info {
  text-align: center;
  font-family: Rogerex, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.studio-info-logo {
  height: 64px;
  width: auto;
  margin-bottom: 6px;
}

@media screen and (min-width: 992px) {
  #unity-loading-bar {
    padding-top: 165px;
  }

  /* Header */
  .game-logo {
    max-width: initial;
  }

  /* Loading Section */
  .spinner {
    max-width: initial;
  }

  /* Footer */
  .studio-info {
    max-width: none;
    font-size: 16px;
  }
}

@media (orientation: portrait) {
  #unity-loading-bar {
    background: var(--portrait_loading_page) no-repeat center/cover #000;
  }

  .studio-info-logo {
    height: 40px;
    width: auto;
    margin-bottom: 0;
  }
}

@keyframes spin {
  from {
    rotate: 0;
  }

  to {
    rotate: 360deg;
  }
}
