html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

html, body {
    height: 100%;
}

canvas {
    display: block;
}

body {
    padding: 0; 
    margin: 0
}

#unity-container {
    width: 100%;
    height: 100%;
    position: relative;
}

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

#unity-container.unity-mobile { 
    position: fixed; 
    width: 100%; 
    height: 100% 
}

#unity-canvas {
    background: #FFFFFF;
}

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

#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#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-dark.png') no-repeat center 
}

#unity-logo img {
    max-width: 80%;
    max-height: 80%;
    pointer-events: none;
}

#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 
}


.light #unity-progress-bar-empty {
    border-color: black;
}

.light #unity-progress-bar-full {
    background: black;
}

.spinner,
.spinner:after {
    border-radius: 50%;
    width: 5em;
    height: 5em;
}

.spinner {
    margin: 10px;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    transform: translateZ(0);
    animation: spinner-spin 1.1s infinite linear;
}

@keyframes spinner-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#unity-footer { 
    position: relative 
}

.unity-mobile #unity-footer { 
    display: none 
}

#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 
}
