/* Progress bar */
/* .progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.4), transparent);
    background-size: 200% 100%;
    animation: slide 1.4s linear infinite;
    z-index: 9999;
}

@keyframes slide {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .progress {
        animation: none;
        background: rgba(0, 0, 0, 0.15);
    } } */

/* skeleton */

/* .skeleton {
    width: 100%;
    height: 16px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.06) 25%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.06) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .skeleton {
        animation: none;
        background: rgba(0, 0, 0, 0.06);
    } } */

/* dots */
.dots::after {
    content: '';
    display: inline-block;
    width: .65em;
    text-align: left;
    margin-left: .4em;
    vertical-align: baseline;
    animation: dots 1s steps(3, end) infinite;
}

@keyframes dots {
    0% {
        content: '';
    }

    33% {
        content: '.';
    }

    66% {
        content: '..';
    }

    100% {
        content: '...';
    }
}

@media (prefers-reduced-motion: reduce) {
    .dots::after {
        animation: none;
        content: '...';
    } }



/* loaders */

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.12);
    border-top-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .loader {
        animation: none;
    }
}