#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;
    z-index: 10;
}

.logos > * {
    width: auto;
    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: #eaf1f2;
    float: right;
    width: 100%;
    height: 100%;
    display: inline-block;
}
#unityProgress.progress .full {
    background-color: #b34c39;
    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;
    }
}

@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;
}


#waves-container {
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
}

#waves-filler {
    background: rgb(0,172,193);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 100px;
}

#waves-boat {
    position: absolute;
    z-index: 10;
    margin-left: -125px;
    margin-top: -125px;
    left: 50%;
    width: 250px;
    height: 250px;
    background: url('../images/maps/ico_ship.png') no-repeat;
    background-size: 100% 100%;
    animation: boatFloating 10s infinite alternate, boatRowing 2s infinite;
}

@keyframes boatFloating {
    0% {
        transform: translateY(0px) rotate(-5deg);
    }
    100% {
        transform: translateY(30px) rotate(5deg);
    }
}

@keyframes boatRowing {
    0% {
      background-image: url('../images/maps/ico_ship.png');
    }
    50% {
      background-image: url('../images/maps/ico_ship_sx.png');
    }
  }


.waves {
    position:relative;
    width: 100%;
    height:100px;
}

/* Animation */

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height:40px;
        min-height:40px;
    }
}
