html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    height: 100%;
}
canvas {
    display: block;
}
body {
    margin: 0;
}
#unity-container {
    width: 100%;
    height: 100%;
}
#unity-canvas {
    width: 100%;
    height: 100%;
    background: #31D45F;
}
#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}
#unity-loading-bar {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#unity-logo {
    text-align: center;
}
#unity-logo img {
    max-width: 80%;
}
#unity-progress-bar-empty {
    width: 80%;
    height: 24px;
    text-align: left;
    border: 3px solid #24ae4b;
}
#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background: #D4B031;
}
.light #unity-progress-bar-empty {
    border-color: black;
}
.light #unity-progress-bar-full {
    background: black;
}

#unity-fullscreen-button { 
    position:absolute;
    bottom:0; right:0;
    max-width: 11.875%;
    z-index: 10;
}

#unity-CoverOverlay{
    display: inline-block;
    width: 100%; 
    height: 100%; 
    position: absolute; /* parent element should be relative */
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: black;
    opacity: 0.8;
    z-index: 9;
}

#unity-WebGLCover{
    display: inline-block;
    width: 75%; 
    position: absolute; /* parent element should be relative */
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
}
