﻿.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row; /* горизонтальное расположение */
}

    .spinner div {
        width: 40px;
        height: 40px;
        margin: 5px;
        background: #fcc419; /* Изменено на желтый цвет */
        border-radius: 50%;
        animation: spinner 1.2s infinite ease-in-out both;
    }

.bouncing-dots span {
    display: inline-block;
    animation: bounce 1s infinite; /* Уменьшено время анимации до 1 секунды */
    font-weight: bold;
    color: #fcc419; /* Изменено на желтый цвет */
}

        .spinner div:nth-child(1) {
            animation-delay: -0.15s;
        }

        .spinner div:nth-child(2) {
            animation-delay: -0.06s;
        }

@keyframes spinner {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.bouncing-dots {
    display: inline-block;
    position: relative;
    font-size: 1.2rem;
}

    .bouncing-dots span {
        display: inline-block;
        animation: bounce 1s infinite; /* Уменьшено время анимации до 1 секунды */
        font-weight: bold;
    }

        .bouncing-dots span:nth-child(2) {
            animation-delay: 0.2s; /* Уменьшено время задержки для более быстрого эффекта */
        }

        .bouncing-dots span:nth-child(3) {
            animation-delay: 0.4s; /* Уменьшено время задержки для более быстрого эффекта */
        }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}
