body {
    padding: 0;
    margin: 0;
    background-color: #61a0af;
}

#unity-container {
    position: absolute
}

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

    #unity-container.unity-mobile {
        position: fixed;
        width: 100%;
        max-width: 600px;
        aspect-ratio: 9 / 16;
        /* Optional for centering */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

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

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

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none
}

#unity-logo {
    width: 154px;
    height: 130px;
    background: url('unity-logo-light.png') no-repeat center
}

#unity-progress-bar-empty {
    width: 141px;
    height: 18px;
    margin-top: 10px;
    margin-left: 6.5px;
    background: url('progress-bar-empty-light.png') no-repeat center
}

#unity-progress-bar-full {
    width: 0%;
    height: 18px;
    margin-top: 10px;
    background: url('progress-bar-full-light.png') no-repeat center
}
#unity-footer {
  position: absolute;
  bottom: 10px;   /* distance from bottom */
  right: 10px;    /* distance from right, change to left:10px; for bottom-left */

}

#unity-logo-title-footer {
    float: left;
    width: 102px;
    height: 38px;
    background: url('unity-logo-title-footer.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
}

#unity-canvas:fullscreen {
  width: auto;
  height: 100vh;       /* fill screen height */
  aspect-ratio: 9 / 16;
  margin: auto;
  display: block;
  max-height: 100vh;
  max-width: 100vw;
  background: black;   /* black bars if needed */
}

#orientation-blocker {
  position: fixed;
  inset: 0;                 /* shorthand: top/left/right/bottom = 0 */
  width: 100vw;
  height: 100vh;
  background: black;
  display: none;            /* hidden by default */
  z-index: 9999;

  /* Centering */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;       /* makes text/gif align properly */
}

#orientation-blocker img {
  display: block;           /* removes inline extra space */
  max-width: 40%;
  max-height: 40%;
  margin: auto;             /* fallback centering */
}
