.arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: #4A90E2;
    text-decoration: none;
    background-color: #ffffff;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-left {
    left: 20px;
    content: '←';
}

.arrow-right {
    right: 20px;
    content: '→';
}

.arrow::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #4A90E2;
    border-right: 3px solid #4A90E2;
    transform: rotate(45deg);
}

.arrow-left::after {
    transform: rotate(225deg); /* Rotates the arrow to point left */
}

.arrow-right::after {
    transform: rotate(45deg); /* Rotates the arrow to point right */
}

.arrow:hover {
    background-color: #357ABD;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .arrow {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }

    .arrow-left {
        left: 10px;
    }

    .arrow-right {
        right: 10px;
    }
}
