html {
    box-sizing: border-box;
}

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

html,
body {
    height: 100%;
}

canvas {
    display: block;
}

body {
    margin: 0;
}

#title {
    text-transform: uppercase;
}

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

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

#loading-cover {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#unity-logo {
    flex: 1 1 auto;
    width: 94px;
    height: 94px;
    background: url('logo.svg') no-repeat center;
}

#unity-loading-bar {
    position: absolute;
    bottom: 7%;
    right: 0;
    left: 0;
}

#unity-progress-bar-empty {
    width: 70%;
    height: 10px;
    margin: 20px auto;
    text-align: left;
    border: 1px solid white;
    padding: 2px;
    border-radius: 20px;
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background: white;
    border-radius: 20px;
}

.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);
    }
}
