﻿:root {
    --ball-color: #ffc107;
    --backdrop-color: rgba(0, 0, 0,.5);
}

@keyframes bouncing-loader {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0.1;
        transform: translateY(-1rem);
    }
}

.bouncing-loader {
    display: flex;
    justify-content: center;
}

    .bouncing-loader > div {
        width: 2rem;
        height: 2rem;
        margin: 3rem 0.2rem;
        background: var(--ball-color);
        border-radius: 50%;
        animation: bouncing-loader 0.8s infinite alternate;
    }

        .bouncing-loader > div:nth-child(2) {
            animation-delay: 0.2s;
        }

        .bouncing-loader > div:nth-child(3) {
            animation-delay: 0.4s;
        }

        .bouncing-loader > div:nth-child(4) {
            animation-delay: 0.6s;
        }

/*.backdrop {
    display: grid;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border: solid;
    background: var(--backdrop-color);
    justify-content: center;
    align-items: center;
}*/
