/* RTL to LTR  */
.direction-btn {
    position: fixed;
    top: 50%;
    left: 10px;
    z-index: 999;
    color: white;
    width: 60px;
    height: 60px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, rgb(0 0 0 / 96%), rgb(255 0 0), rgb(0 0 0));
    background-size: 300% 300%;
    animation: gradientShift 1s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.direction-btn::before {
    animation: waveBtn 2s infinite;
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 100px;
}

.direction-btn::after {
    animation: waveBtn2 2s infinite;
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 100px;
}

@keyframes gradientShift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes waveBtn {
    0% {
        box-shadow: 0 0 0 1px rgba(255, 0, 21, 0.8);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(255, 0, 21, 0.8);
        opacity: 0;
    }
}

@keyframes waveBtn2 {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 21, 0.8);
    }

    100% {
        box-shadow: 0 0 0 15px rgba(255, 0, 21, 0.8);
        opacity: 0;
    }
}