.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0 40px;
    width: 100%;
}

.dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #444;
    border-radius: 50%;
    animation: bounce 1s infinite ease-in-out;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}
.dot:nth-child(3) {
    animation-delay: 0.4s;
}
.dot:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}
