@keyframes leftRightBounce {
    0% {
        transform: translateX(0);
        animation-timing-function: ease(0.8, 0, 1, 1);
    }
    50% {
        transform: translateX(5px);
        animation-timing-function: ease(0, 0, 0.2, 1);
    }
    100% {
        transform: translateX(0);
    }
}

.bounce-horizontal {
    animation: leftRightBounce 1s infinite;
}

/* Rotate icon left */
.bounce-horizontal.left {
    animation: leftRightBounce 1s infinite;
    rotate: 180deg;
}