@keyframes loading {
    0% {
        transform-origin: 100% 100%;
        transform: rotate(0deg);
    }

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

.loading-overlay {
    height: 100%;
    width: 100%;
    background: #000000c7;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.loading {
    position: relative;
    display: block;
    z-index: 13;
    margin: 40vh auto;
    width: 100px;
    height: 100px;
    border: 5px solid transparent;
    border-radius: 50%;
    background-color: transparent;

    &:before {
        position: absolute;
        display: block;
        content: '';
        z-index: 12;
        top: 4px;
        left: 4px;
        width: 82px;
        height: 82px;
        border-radius: 50%;
        background-color: #383838;
    }

    &:after {
        position: absolute;
        display: block;
        top: 0;
        content: '';
        z-index: 11;
        top: 0px;
        left: 0px;
        width: 45px;
        height: 45px;
        border-radius: 200px 0 0 0;
        background: linear-gradient(45deg, rgba(0, 0, 0, 0) 0%, #459ad7 50%, #459ad7 100%);
        animation: loading .9s linear infinite;
    }
}
