#equalizer {
    display: flex;
    align-items: center;
    height: 30px;
    gap: 5px;
}

#equalizer span {
    display: block;
    width: 6px;
    height: 10px;
    border-radius: 3px;
    background: #ff6600;
}

#equalizer.playing span {
    animation: equalizerBar 1s infinite alternate ease-in-out;
}

#equalizer span:nth-child(2) {
    animation-delay: .2s;
}

#equalizer span:nth-child(3) {
    animation-delay: .4s;
}

#equalizer span:nth-child(4) {
    animation-delay: .6s;
}

#equalizer span:nth-child(5) {
    animation-delay: .8s;
}

@keyframes equalizerBar {
    from {
        height: 5px;
    }
    to {
        height: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #equalizer.playing span {
        animation: none;
    }
}
