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%;
    background: url("background.webp") no-repeat center;
    background-size: cover;
}

#unity-canvas {
	margin-left: auto;
    margin-right: auto;
	height: 100%;
	aspect-ratio: 9/16;
	max-width: 100%
}

#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    background: url("loadscreen.webp") no-repeat center;
    background-size: cover;
}

#unity-loading-bar {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: end;
	padding-bottom: 70px;
}

#unity-logo {
    text-align: center;
}

#unity-logo img {
    max-width: 80%;
}

#unity-progress-bar-empty {
    display: flex;
    background: rgba(69, 69, 69, 0.80);
    justify-content: flex-start;
    align-items: center;
    padding: 2px;
    border-radius: 3px;
    height: 38px;
    width: 80%;
	flex-shrink: 0;
	border: 2px solid !important;
    border-color: rgb(255 255 255 / 30%) !important;
	filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.70));
}

#unity-progress-bar-full {
    border-radius: 3px;
	background: linear-gradient(180deg, #81E8FF 19.49%, #2EB5DF 89.05%);
    height: 100%;
    width: 90%;
    box-shadow: 0 10px 40px -10px #ffffff;
}

.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 #1edb00;
    transform: translateZ(0);
    animation: spinner-spin 1.1s infinite linear;
    visibility: hidden;
}

@keyframes spinner-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


p.loading-step
{
    text-align: center;
    vertical-align: middle;

    font-family: Montserrat;
    font-size: 20px;
    font-weight: 1000;
    color: #fff;
}

@keyframes blink {
    50% {
        color: transparent
    }
}

.blink_dot {
    animation: 1s blink infinite
}

.blink_dot:nth-child(2) {
    animation-delay: 250ms
}

.blink_dot:nth-child(3) {
    animation-delay: 500ms
}

@media screen and (max-width: 480px) {
    p.loading-step
    {
        font-size: 19px;
    }
}
