section.pagination-section, section.previous-next-section{
    position: relative;
    height: 210px;
    margin-top: 80px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.background-pagination, .background-previous-next{
    position: absolute;
    width: 420px;
    height: 420px;
    content: "";
    border-radius: 210px;
    background-color: var(--main-color-4);
    bottom : -210px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: -1;
}

.pagination-box, .previous-next-box{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
}

.previous-next-box{
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 550px;
}

.pagination-box .prev, .pagination-box .next{
    display: none;
}

.pagination-box span.current{
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    background-color: var(--main-color-1);
    color: var(--main-color-4);
    margin: 0px 2.5px;
}

.pagination-box span.dots{
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    margin: 0px 2.5px;
}

.pagination-box a{
    position: relative;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    margin: 0px 2.5px;
}

.pagination-box a:before{
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--main-color-1);
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.pagination-box a:hover:before{
    height: 5px;
}

/* _________ MEDIA QUERIES ___________ */

@media (max-width: 768px){
    
    .previous-next-box{
        -ms-flex-pack: distribute;
        justify-content: space-around;
        width: 100%;
    }
}

@media (max-width: 576px){
    
    .background-pagination, .background-previous-next{
        width: 250px;
        height: 250px;
        border-radius: 125px;
        bottom : -125px;
    }
    
    section.pagination-section, section.previous-next-section{
        height: 125px;
    }
}

