body.page-loading{
    overflow: hidden;
}

body:not(.page-loading) .page-loader{
    display: none;
}
.page-loader{
    
    background-image: url(/public/img/background.webp);
    background-position: center top;
    background-size: 100% auto;
    background-repeat: repeat;

    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;

    z-index: 999999;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;

    transition: all 0.25s ease-in-out;
}
.page-loader > div{
    width: 1304px;
    margin-left: auto;
    margin-right: auto;
}
.page-loader img{
    pointer-events: none;
    user-select: none;
}
.page-loader > img{
    width: 64px;
}
.page-loader > div:nth-child(2) > div{
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
}
.page-loader > div:nth-child(2) > div > img{
    filter: drop-shadow(0px 0px 128px rgba(34, 201, 198, 1)) drop-shadow(4px 4px 0px rgb(0, 0, 0)) drop-shadow(0px 0px 32px rgba(255, 255, 255, 0.5));
}
.page-loader > div:nth-child(2) > div > img:nth-child(1){
    width: 933px;
}
.page-loader > div:nth-child(2) > div > img:nth-child(2){
    width: 274px;
}
.page-loader > div:nth-child(3){
    height: 16px;
    background: white;
    border-radius: 16px;
    position: relative;
}
.page-loader > *:nth-child(4){
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    opacity: 0.5;
    text-decoration: none;
    font-size: 25px;
}
.page-loader > div:nth-child(3) > div{
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    border-radius: 100px;
    background: #22C9C6;
    border-top: 2px solid white;
    box-sizing: border-box;
    
    -webkit-box-shadow: 0px 0px 16px 0px rgba(34, 201, 198, 1);
    -moz-box-shadow: 0px 0px 16px 0px rgba(34, 201, 198, 1);
    box-shadow: 0px 0px 16px 0px rgba(34, 201, 198, 1);
    overflow: hidden;

    transition: all 0.15s ease-in-out;
}
.page-loader > div:nth-child(3) span{
    position: absolute;
    top: 50%;
    left: calc(1304px / 2);
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: white;
    font-weight: 500;
}
.page-loader > div:nth-child(3) > span{
    color: #22c9c6;
}


@media screen and (max-width: calc(1312px + 2em)){
    .page-loader > div:nth-child(2) > div > img:nth-child(1){
        width:488px;
    }
    .page-loader > div:nth-child(2) > div > img:nth-child(2){
        width: 143px;
    }
    .page-loader > div{
        width: 682px;
    }
    .page-loader > img{
        width: 40px;
    }
    .page-loader{
        gap: 70px;
    }
    .page-loader > *:nth-child(4){
        bottom: 50px;
        font-size: 15px;
    }
    .page-loader > div:nth-child(3) span{
        left: calc(682px / 2);
    }
}
@media screen and (max-width: calc(720px + 2em)){
    .page-loader > div:nth-child(2) > div > img:nth-child(1){
        width:301px;
    }
    .page-loader > div:nth-child(2) > div > img:nth-child(2){
        width: 88px;
    }
    .page-loader > div{
        width: 301px;
    }
    .page-loader > img{
        width: 41px;
    }
    .page-loader{
        gap: 60px;
    }
    .page-loader > *:nth-child(4){
        bottom: 60px;
    }
    .page-loader > div:nth-child(3) span{
        left: calc(301px / 2);
    }
    .page-loader > div:nth-child(2) > div{
        flex-direction: column;
        gap: 14px;
        justify-content: center;
        align-items: center;
    }
}