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: #000000;
}

#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-progress-bar-empty {
    position: absolute;
    top: 93%;
    left: 49%;
    transform: translate(-50%, -50%);
    width: 16%;
    height: 14px;
    border: 2px solid #222;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background: #FFB300;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 235, 59, 0.7);
}

.light #unity-progress-bar-empty {
    border-color: black;
}

.light #unity-progress-bar-full {
    background: black;
}
