:root {
    touch-action: pan-x pan-y;
    height: 100%
}

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: black;
}
#unity-container {
    position: absolute;
}
#unity-container.unity-desktop
{
    width: calc(540 * 100vh / 960);
    height: 100%;
    left: calc((100vw - (540 * 100vh / 960)) / 2);

}
#unity-container.unity-mobile {
    width: 100%;
    height: 100%
}
#unity-canvas {
    background: #231F20
}
.unity-mobile #unity-canvas {
    width: 100%; height: 100%
}
#unity-loading-bar {
    /*background: url("Background.png") no-repeat center;*/
    background-size: cover;
    z-index: 1;
    height: 100%;
    width: 100%;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    top: 0;
    left: 0;
}
#unity-logo {
    width: 200px;
    height: 130px;
    background: url('webgl-logo-2.png') no-repeat center;
    background-size: contain;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)

}
#unity-progress-bar-empty {
    width: 10%;
    height: 30px;
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 85%;
    transform: translate(-50%, -50%);
    background: url('progress-bar-empty-dark.png') no-repeat center;
    background-size: cover;
}
#unity-progress-bar-full {
    width: 0%;
    height: 20px;
    background: yellow;
    margin: 1px;
}
#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-mobile-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

#adContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: antiquewhite; */
    z-index: 1;
    /* display: none; */
  }
