.pagination {
    display: inline-block;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}

.pagination a.active {
    background-color: #00aeef;
    color: white;
    border-radius: 5px;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
    border-radius: 5px;
}

@font-face {
    font-family: 'Rowdies';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/rowdies/v15/ptRJTieMYPNBAK21zrc.ttf) format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Rowdies', cursive;
    font-size: calc(12px + 4 * ((100vw - 400px) / 400));
    line-height: 1.25;
}

@media screen and (max-width: 400px) {
    html {
        font-size: 12px;
    }
}

@media screen and (min-width: 1200px) {
    html {
        font-size: 20px;
    }
}

.page_counter {
    margin: 3rem auto;
    text-align: center;
}
.page_counter > .text {
    display: inline-block;
    position: relative;
    padding: 1rem 3rem;
    transform: translateY(-0.5rem);
    text-transform: uppercase;
    perspective: 10rem;
}
.page_counter > .text:first-of-type {
    padding-left: 4rem;
}
.page_counter > .text:first-of-type::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(10deg) translateX(calc(2rem - 3px));
    z-index: -1;
    background: #ffffff;
}
.page_counter > .text:last-of-type {
    padding-right: 4rem;
}
.page_counter > .text:last-of-type::after {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(-10deg) translateX(calc(-1rem - 6px));
    z-index: -1;
    background: #ffffff;
}
.page_counter > .counter {
    display: inline-block;
    position: relative;
    padding: 0.5rem 2rem;
}
.page_counter > .counter > .background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #00aeef;
    border-radius: 0.7rem;
}
.page_counter > .counter > .background::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: -4px;
    left: -4px;
    z-index: -1;
    border-radius: 1rem;
    border: solid #ffffff 4px;
    background: #00aeef;
}
.page_counter > .counter > .background::after {
    content: '';
    width: 80%;
    padding-top: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    border-radius: 50%;
    transform: translateX(-50%) translateY(-50%);
    border: solid #fff 4px;
    background: #00aeef;
}
.page_counter > .counter > .number {
    position: relative;
    display: inline-block;
    z-index: 1;
    transform: translateY(-2px);
    color: #ffffff;
}
.page_counter > .counter > .number:first-of-type {
    font-size: 2rem;
}
.page_counter > .counter > .number:first-of-type::after {
    content: '/';
    display: inline-block;
    padding: 0 0.2rem;
    font-size: 2.5rem;
}
.page_counter > .counter > .number:last-of-type {
    font-size: 1rem;
    transform: translateY(-0.8rem) translateX(-0.2rem);
}
@media screen and (max-width: 600px) {
    .page_counter > .text {
        display: block;
    }
    .page_counter > .text:first-of-type {
        margin-bottom: 3rem;
    }
    .page_counter > .text:last-of-type {
        margin-top: 4rem;
    }
}
