﻿.div-audio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .div-audio:hover {
        cursor: pointer;
    }

.balls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 30%;
    margin-top: 0px;
}

.ball {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #7f8c8d;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.playing .ball {
    animation: bounce 1.2s infinite ease-in-out;
}

.ball:nth-child(1) {
    animation-delay: 0s;
}

.ball:nth-child(2) {
    animation-delay: 0.2s;
}

.ball:nth-child(3) {
    animation-delay: 0.4s;
}

.ball:nth-child(4) {
    animation-delay: 0.6s;
}

.ball:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.5);
    }

    60% {
        transform: scale(1.2);
    }
}

.play-audio {
    color: #7f8c8d;
    margin-right: 0px;
    margin-top:-2px;
}

@media (max-width: 768px) {
    .balls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 80%;
        margin-top: 0px;
    }

    .play-audio {
        color: #7f8c8d;
        margin-top: -2px;
    }
}