body {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#unity-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
}

#unity-loading-bar {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    direction: rtl;
    background: url('background.png') center / cover;
    background-repeat: no-repeat;
    animation: background-breath 20s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

#unity-progress-bar-empty {
    width: 100%;
    height: 100%;
}

#unity-progress-bar-full {
    width: 100%;
    height: 100%;
    background-color: rgba(1, 1, 1, 0.4);
}

.progress-text {
    color:white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    text-align: right;
    position: absolute;
    height: 40px;
    line-height: 40px;
    bottom: 56px;
    right: 112px;
    margin: 0;
}

.loading-ring,
.loading-ring div {
    color: white;
    box-sizing: border-box;
}

.loading-ring {
    position: absolute;
    bottom: 96px;
    right: 96px;
}

.loading-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    border: 7px solid currentColor;
    border-radius: 50%;
    animation: loading-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: currentColor transparent transparent transparent;
}

.loading-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.loading-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.loading-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes background-breath {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes loading-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
