/**
 * Style of next and previous buttons
 */

.prev,
.next {
    width: 35px;
    height: 35px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    border-radius: 0 3px 3px 0;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    background-color: white;
    opacity: .9;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 20px;
    border-radius: 50%;
    z-index: 999999;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-size: 1.8rem;
    -webkit-transition: color .5s;
    -o-transition: color .5s;
    transition: color .5s;
}
.prev {
    left: 45px;
}
.next {
    right: 45px;
}
.prev:hover,
.next:hover {
    color: var(--main-orange);
}
/* RESPONSIVE */
@media screen and (max-width: 750px) {
    .prev,
    .next {
        font-size: 1.5rem;
    }
}
@media screen and (max-width: 580px) {
    .prev,
    .next {
        font-size: 1.2rem;
        padding: 15px;
    }
    .prev {
        left: 40px;
    }
    .next {
        right: 40px;
    }
}
@media screen and (max-width: 480px) {
    .prev,
    .next {
        font-size: 1rem;
        padding: 10px;
    }
    .prev {
        left: 30px;
    }
    .next {
        right: 30px;
    }
}
@media screen and (max-width: 380px) {
    .prev {
        left: 20px;
    }
    .next {
        right: 20px;
    }
}