﻿
.loading-component {
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.25);
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    gap: 4px;
    height: 40px;
    max-width: 40px;
}

    .loading .outer-one {
        display: inline-block;
        border-radius: 4px;
        animation: loading 1s ease-in-out infinite;
        animation-delay: 0;
        background-color: #562c85;
        height: 24px;
        width: 6px;
    }

    .loading .inner-one {
        display: inline-block;
        border-radius: 4px;
        animation: loading 1s ease-in-out infinite;
        animation-delay: 0.09s;
        background-color: #e8078c;
        height: 24px;
        width: 6px;
    }

    .loading .outer-two {
        display: inline-block;
        border-radius: 4px;
        animation: loading 1s ease-in-out infinite;
        animation-delay: .18s;
        background-color: #562c85;
        height: 24px;
        width: 6px;
    }

    .loading .inner-two {
        display: inline-block;
        border-radius: 4px;
        animation: loading 1s ease-in-out infinite;
        animation-delay: .27s;
        background-color: #e8078c;
        height: 24px;
        width: 6px;
    }

@keyframes loading {
    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1, 2.2);
    }

    40% {
        transform: scale(1);
    }
}
