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: white;
}

#loading-cover {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 10;
    flex-direction: column;
}

#background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

#unity-loading-bar {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

#unity-logo {
    width: 80%;
    height: 80vh;
    margin-bottom: auto;
}
#unity-logo img {
    margin-top: 5vh;
    width: 100%;
    height: 100%;
    max-height: 45vh;
    object-fit: contain;
}

#unity-progress-bar-container{
    width: 100vw;
    height: 10vh;
    max-height: 35px;
    min-height: 25px;
    margin: 0 0 6vh 0;
    text-align: left;
}

#unity-progress-bar-empty {
    width: 92%;
    margin: 0 auto auto auto;
    border: 5px solid rgb(135, 19, 1);
    border-radius: 5em;
    background-color: rgb(180, 47, 0);
    overflow: hidden;
    position: relative;
    height: 100%;
}

#unity-progress-bar-full {
    width: 40%;
    height: 100%;
    background: linear-gradient(to top, rgb(247, 115, 1), rgb(255, 217, 0));
    border-radius: 4em;
    font-size: calc(0.5em + 1vmin);
    font-weight: 800;
    line-height: 1.5;
    color: rgb(255, 236, 141);
    font-family: "Nyasha Sans", sans-serif;
    position: absolute;
    border: 3px solid rgb(240, 108, 1);
    align-content: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    text-shadow:
            2px 0 0 rgb(240, 136, 10),
            0 2px 0 rgb(240, 136, 10),
            -2px 0 0 rgb(240, 136, 10),
            0 -2px 0 rgb(240, 136, 10);
}
