.swiper {
  --swiper-theme-color: rgb(255, 255, 255);

  /* navigation */
  --swiper-navigation-size: 44px;
  --swiper-navigation-top-offset: 50%;
  --swiper-navigation-sides-offset: 50%;
  --swiper-navigation-color: var(--swiper-theme-color);
  /* pagination */
  --swiper-pagination-color: var(--swiper-theme-color);
  --swiper-pagination-left: auto;
  --swiper-pagination-right: 8px;
  --swiper-pagination-bottom: 0;
  --swiper-pagination-top: auto;
  --swiper-pagination-fraction-color: inherit;
  --swiper-pagination-progressbar-bg-color: rgba(0, 0, 0, 0.25);
  --swiper-pagination-progressbar-size: 4px;
  --swiper-pagination-bullet-size: 8px;
  --swiper-pagination-bullet-width: 8px;
  --swiper-pagination-bullet-height: 8px;
  --swiper-pagination-bullet-inactive-color: rgb(223, 223, 223);
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-bullet-opacity: 1;
  --swiper-pagination-bullet-horizontal-gap: 4px;
  --swiper-pagination-bullet-vertical-gap: 6px;
}

.swiper-slide {
  scale: 0.75;

  & img {
    opacity: 0.5;
  }
  & img + .category {
    background-color: rgba(121, 185, 224, 1);
    color: white;
  }
}
.swiper-slide.swiper-slide-active {
  scale: 1;

  & img {
    opacity: 1;
  }
  & img + .category {
    background-color: white;
    color: var(--main-color);
  }
}

.swiper-pagination-bullet-active {
  scale: 1.5;
}

.swiper-button-next, .swiper-button-prev {
    --swiper-navigation-top-offset: calc(50% - var(--swiper-navigation-size));
    width: var(--swiper-navigation-size);
    height: var(--swiper-navigation-size);
    margin-top: var(--swiper-navigation-size)/ 2;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 1px 1px rgba(0, 0, 0, 0.1);
}

.swiper-button-next::after, .swiper-button-prev::after {
  color: var(--main-color);
  font-size: large;
  -webkit-text-stroke: 2.5px;
}

.swiper-button-next {
  right: calc(var(--swiper-navigation-sides-offset) - 27.5%);
}

.swiper-button-prev {
  left: calc(var(--swiper-navigation-sides-offset) - 27.5%);
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
  opacity: 1;
  pointer-events: auto;
}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .swiper-button-next {
    right: 0;
  }

  .swiper-button-prev {
    left: 0;
  }
}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) { }

/* `lg` applies to medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { }

/* `xl` applies to large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) { }

/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) { }
