body {
    position: relative;
}

.swiper {
    width: 100%;
    max-width: 75rem;
    margin: 0;
    overflow: hidden;
    padding: 10px;
    /* extra space inside for arrows */
}

.arrow {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    color: #fdba00;
}

.swiper-slide {
    background-color: white;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.25);

    text-align: center;
    padding: 40px 0;

    min-height: 220px;
    width: 220px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;

    position: relative;
    padding: 20px;
}

.swiper-slide img {
    width: 5rem;
    height: 5rem;
}

.swiper-slide p {
    font-size: 0.75rem;
    color: var(--text-color);
}

.swiper-pagination {
    position: relative;
    /* keep it inside normal flow */
    margin-top: 20px;
    /* pushes it 20px below the slides */
}


.swiper-pagination-bullet-active {
    background-color: #fdba00;
}

@media (max-width: 768px) {
    .swiper {
        height: 25rem;
        gap: 0.9375rem;
    }

    .swiper-slide {
        min-width: 11.25rem;
        min-height: 11.25rem;
        padding: 5px;
    }

    .swiper-slide img {
        height: 5rem;
        width: 5rem;
    }

    .swiper-slide p {
        font-size: 0.75rem;
    }

    .arrow.right,
    .arrow.left {
        display: none !important;
    }

    .swiper-pagination {
        position: relative;
        /* keep it inside normal flow */
        margin-top: 3px;
        /* pushes it 20px below the slides */
    }

}

@media (max-width: 540px) {
    .swiper {
        height: 20rem;
    }

    .swiper-slide {
        min-width: 6.25rem;
        min-height: 6.25rem;
    }

    .swiper-slide img {
        height: 3.5rem;
        width: 3.5rem;
    }

    .swiper-slide p {
        font-size: 0.5rem;
    }

    .swiper-pagination-bullet {
        height: 6px;
        width: 6px;
    }
}