* {
    padding: 0;
    margin: 0;
}

html {
    /* fix mobile viewport menu bar on iOS */
    height: -webkit-fill-available;
    overscroll-behavior: none;
    overflow: hidden;
}

body {
    height: 100%;
    /* fix mobile viewport menu bar on iOS */
    height: -webkit-fill-available;
    width: 100%;
    text-align: center;
}

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

/* Default values, might be overwritten by aspect ratio media queries */
#unity-canvas {
    width: 100%;
    height: 100%;
    background-color: #fff;
}

#unity-loading-container {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('splash.jpg');
    background-position: center;
    background-size: cover;
    justify-content: center;
    align-items: center;
}

#unity-loading-container.finished {
    opacity: 0;
    visibility: collapse;
}

#unity-loading-bg {
    position: absolute;
    width: 80%;
    height: 25px;
    bottom: 15px;
    background-color: #0008;
    border: 3px solid #0000;
    border-radius: 8px;
}

#unity-loading-fg {
    position: absolute;
    width: 0%;
    height: calc(100% - 3px);
    border-top: 3px solid #52bf89;
    background-color: #32BF79;
    border-radius: 5px;
    transition: 400ms linear;
}

#unity-loading-text {
    position: absolute;
    left: 10%;
    bottom: 50px;
    color: #fff;
    font: 16px 'Grandstander', 'Roboto';
}

#unity-loading-version {
    position: absolute;
    right: 10%;
    bottom: 50px;
    color: #fff;
    font: 16px 'Grandstander', 'Roboto';
}
