#loopLoader {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url("../images/background.jpg") no-repeat;
    background-size: cover;
    z-index: 15;
}

.logos {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100vw;
    bottom: 2rem;
}

.logos > * {
    width: 6rem;
    height: 6rem;
}

.logos > .funix {
    padding: 0.5rem;
}

.loader, #footstepsLoading {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
}

.loader {
    margin-left: -66px;
    margin-top: -66px;
    border: 6px solid white;
    border-top: 6px solid #333;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#unityProgress.progress {
    position: fixed;
    left: 0;
    top: 0;
    height: 5px;
    width: 100%;
    z-index: 20;
}

#unityProgress.progress .empty {
    background-color: #333;
    float: right;
    width: 100%;
    height: 100%;
    display: inline-block;
}
#unityProgress.progress .full {
    background-color: white;
    float: left;
    width: 0%;
    height: 100%;
    display: inline-block;
    margin-top: -5px;
}

#footstepsLoading {
    width: 80px;
    height: 80px;
    margin-left: -40px;
    margin-top: -40px;
}
#footstepsLoading div {
    position: absolute;
    right: 30px;
    width: 20px;
    height: 20px;
    background: url("../images/footsteps.svg") no-repeat;
    background-size: 100%;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
#footstepsLoading div:nth-child(1) {
    top: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
#footstepsLoading div:nth-child(2) {
    top: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
#footstepsLoading div:nth-child(3) {
    top: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
#footstepsLoading div:nth-child(4) {
    top: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(0, 24px);
    }
}




#footstepsLoadingCircle {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    width: 80px;
    height: 80px;
    margin-top: -40px;
    margin-left: -40px;
}
#footstepsLoadingCircle div {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    animation: lds-default 2.4s linear infinite;
    background: url("../images/footsteps.svg") no-repeat;
    background-size: 100%;
}
#footstepsLoadingCircle div:nth-child(1) { /* ore 3 */
    animation-delay: 0s;
    top: 50%;
    left: 100%;
    transform: rotate(180deg);
}
#footstepsLoadingCircle div:nth-child(2) { /* ore 2 */
    animation-delay: -0.2s;
    top: 28%;
    left: 93%;
    transform: rotate(150deg);
}
#footstepsLoadingCircle div:nth-child(3) { /* ore 1 */
    animation-delay: -0.4s;
    top: 7%;
    left: 72%;
    transform: rotate(120deg);
}
#footstepsLoadingCircle div:nth-child(4) { /* ore 12 */
    animation-delay: -0.6s;
    top: 0%;
    left: 50%;
    transform: rotate(90deg);
}
#footstepsLoadingCircle div:nth-child(5) { /* ore 11 */
    animation-delay: -0.8s;
    top: 7%;
    left: 28%;
    transform: rotate(60deg);
}
#footstepsLoadingCircle div:nth-child(6) { /* ore 10 */
    animation-delay: -1.0s;
    top: 28%;
    left: 7%;
    transform: rotate(30deg);
}
#footstepsLoadingCircle div:nth-child(7) { /* ore 9 */
    animation-delay: -1.2s;
    top: 50%;
    left: 0%;
    transform: rotate(0deg);
}
#footstepsLoadingCircle div:nth-child(8) {
    animation-delay: -1.4s;
    top: 72%;
    left: 7%;
    transform: rotate(330deg);
}
#footstepsLoadingCircle div:nth-child(9) {
    animation-delay: -1.6s;
    top: 93%;
    left: 28%;
    transform: rotate(300deg);
}
#footstepsLoadingCircle div:nth-child(10) {
    animation-delay: -1.8s;
    top: 100%;
    left: 50%;
    transform: rotate(270deg);
}
#footstepsLoadingCircle div:nth-child(11) {
    animation-delay: -2.0s;
    top: 93%;
    left: 72%;
    transform: rotate(240deg);
}
#footstepsLoadingCircle div:nth-child(12) {
    animation-delay: -2.2s;
    top: 72%;
    left: 93%;
    transform: rotate(210deg);
}
@keyframes lds-default {
    0%, 20%, 80%, 100% {
        /*transform: scale(1);*/
        width: 10px;
        height: 10px;
    }
    50% {
        /*transform: scale(1.5);*/
        width: 20px;
        height: 20px;
    }
}



#footstepsLoadingSteps {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 100px;
    margin-top: -50px;
    margin-left: -20px;
    display: flex;
}

#footstepsLoadingSteps .leftFootstep, #footstepsLoadingSteps .rightFootstep {
    display: flex;
    justify-content: space-between;
    height: 100px;
    width: 20px;
    flex-direction: column-reverse;
}
#footstepsLoadingSteps .rightFootstep {
    margin-left: -7px;
    margin-top: -18px;
}

#footstepsLoadingSteps .leftFootstep div, #footstepsLoadingSteps .rightFootstep div {
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: 100%;
    opacity: 0;
    animation: steps, nope;
    /*animation: fadeIn, fadeOut;*/
    animation-duration: 4s, 0s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}
#footstepsLoadingSteps .leftFootstep div {
    background-image:  url("../images/footsteps_sx.png");
}
#footstepsLoadingSteps .rightFootstep div {
    background-image:  url("../images/footsteps_dx.png");
}

@keyframes steps {
    0% {
        opacity: 0
    }
    50% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}
@keyframes nope {
    0% {
    }
    100% {
    }
}

@keyframes fadeIn {
    10% {
        opacity: 1
    }
    100% {
        opacity: 1
    }
}
@keyframes fadeOut {
    25% {
        opacity: 0
    }
    100% {
        opacity: 0
    }
}

#footstepsLoadingSteps .leftFootstep div:first-child {
    animation-delay: 0s, 1s;
}
#footstepsLoadingSteps .rightFootstep div:first-child {
    animation-delay: 0.5s, 1.5s;
}
#footstepsLoadingSteps .leftFootstep div:nth-child(2) {
    animation-delay: 1s, 2s;
}
#footstepsLoadingSteps .rightFootstep div:nth-child(2) {
    animation-delay: 1.5s, 2.5s;
}
#footstepsLoadingSteps .leftFootstep div:nth-child(3) {
    animation-delay: 2s, 3s;
}
#footstepsLoadingSteps .rightFootstep div:nth-child(3) {
    animation-delay: 2.5s, 3.5s;
}
