.dots span {
    display: inline-block;
    animation: bounce 1.4s infinite ease-in-out both;
}

    .dots span:nth-child(1) {
        animation-delay: 0s;
    }

    .dots span:nth-child(2) {
        animation-delay: 0.2s;
    }

    .dots span:nth-child(3) {
        animation-delay: 0.4s;
    }

@keyframes bounce {
    0%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-6px);
    }
}
