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%;
    position: relative;
}

#unity-canvas {
    width: 100%;
    height: 100%;
    background: #231F20;
}

#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;
    pointer-events: none;
}

#unity-logo img { 
max-width: 70%;
max-height: 70%;
pointer-events: none;
}

#unity-progress-bar-empty {
    width: 40%;
    height: 30px;
    margin: 10px 20px 20px 10px;
    text-align: left;
    border: 3px solid #ffffff;
    border-radius: 40px 40px 40px 40px;
    padding: 2.5px;
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(#ffeb01, rgb(255, 162, 0));
}

.light #unity-progress-bar-empty {
    border-color: rgb(255, 255, 255);
}

.light #unity-progress-bar-full {
    background: linear-gradient(#ffeb01, #ffa200);
}

.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, 1);
    border-right: 1.1em solid rgba(255, 255, 255, 1);
    border-bottom: 1.1em solid rgba(255, 255, 255, 1);
    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-canvas {
    background: linear-gradient(140deg, rgba(255, 211, 37, 1) 0%, rgba(91, 22, 255, 1) 100%);
}

.spinner {
    border-bottom: 1.1em solid #ffeb01;
    border-left: 1.1em solid #ffeb01;
}
