#loading{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 999;
    display: flex;
}

#loadanime{
    margin: auto;
    width: 12rem;
    height: 12rem;
    padding: 1rem;
    border-radius: 50%;
    background: linear-gradient(rgb(148, 186, 255) 20%,white 70%);
    animation: rot 1.8s linear infinite;
}

@keyframes rot{
    0%{
        transform: rotate(0deg);
    }

    50%{
        transform: rotate(-180deg);
    }

    100%{
        transform: rotate(-360deg);
    }
}

#loadanime::before{
    content: '';
    height: 14rem;
    width: 7rem;
    position: absolute;
    background-color: white;
    left: 0;
    top: 0;
}

#loadmask{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: white;
}

#loading img{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    width: 9rem;
    height: 9rem;
    object-fit: cover;
    animation: loadfade 1.8s linear infinite; 
    z-index: 5;
}

@keyframes loadfade{
    0%{
        opacity: 1;
    }

    50%{
        opacity: 0.3;
    }

    100%{
        opacity: 1;
    }
}

.loaded{
    transition: 0.5s;
    opacity: 0;
    z-index: -10!important;
}