html,
body {
    padding: 0;
    margin: 0;
    background: #000000;
    overflow: hidden;
}

#preloader-progress {
    color: #ffffff20;
    position: fixed;
    bottom: 1vmax;
    right: 1vmax;
    text-align: right;
    font-size: 2vmin;
    font-family: sans-serif;
    z-index: 999;
}

#bg_loader_blured {
    width: 100%;
    filter: blur(100px);
}

#bg_loader {
    min-height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#game_logo {
    position: absolute;
    top: 37%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#azerion_logo {
    position: absolute;
    top: 86%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#loader {
    width: 100%;
    height: 50px;
    position: absolute;
    text-align: center;
    margin-top: 250px;
    display: block;
}

#loader,
#loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}
#loader {
    margin: 60px auto;
    font-size: 10px;
    position: absolute;
    z-index: 99;
    left: 50%;
    top: 50%;
    margin-left: -5em;
    margin-top: -5em;
    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 #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#progress-bar {
    position: absolute;
    left: 50%;
    top: 74%;
    transform: translate(-50%, -50%);

    width: 796px;
    height: 68px;

    background-size: 796px 68px;
    background-image: url('./../assets/loader/progressbar-field.png');
    background-repeat: no-repeat;
}

#progress {
    position: absolute;
    width: 0%;
    height: 90%;
    margin-top: 12px;
    margin-left: 12px;
    background-size: 772px 44px;
    background-image: url('./../assets/loader/progressbar-fill.png');
    background-repeat: no-repeat;
}

@media screen and (min-aspect-ratio: 1/1) {
    #azerion_logo {
        top: 79%;
    }

    #progress-bar {
        top: 67%;
    }
}

@media screen and (max-width: 850px) {
    #game_logo {
        width: 65%;
    }

    #azerion_logo {
        width: 15%;
    }

    #progress-bar {
        width: 485px;
        height: 50px;

        background-size: 485px 50px;
    }

    #progress {
        width: 0%;
        height: 90%;
        margin-top: 6px;
        margin-left: 7px;
        background-size: 470px 38px;
    }
}

@media screen and (max-width: 500px) {
    #game_logo {
        width: 65%;
    }

    #progress-bar {
        width: 350px;
        height: 38px;

        background-size: 350px 38px;
    }

    #progress {
        width: 0%;
        height: 90%;
        margin-top: 7px;
        margin-left: 5px;
        background-size: 340px 25px;
    }
}

@media screen and (max-height: 1200px) and (min-aspect-ratio: 1/1) {
    #game_logo {
        width: 25%;
    }

    #azerion_logo {
        top: 85%;
    }

    #progress-bar {
        top: 68%;
    }
}