*,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: 0.4s ease-in-out;
}

body {
  background-color: #fff;
}

a {
  text-decoration: none;
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.card {
  padding: 30px;
  min-height: 15vw;
  max-height: 18vw;
  color: #111;
  font-size: 16px;
  opacity: 0;
  transition: 0.4s ease-in-out;
  background-color: #edb702;
  overflow: hidden;
  transform: translateX(-20%);
  position: relative;
  z-index: -2;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  object-fit: cover;
  margin: auto;

  -webkit-box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.29);
  -moz-box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.29);
  box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.29);
}

.slider-container {
  max-width: 1400px;
  padding: 0 15px !important;
  position: relative;
  margin: 0 auto;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

.slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 30px;
}

.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 0vw !important;
  padding: 0 0 0 3vw;
}

.swiper-slide-active {
  transform: scale(1.2) !important;
  border-radius: 3vw;
  opacity: 1;
  z-index: 10;
  position: relative;
}

.swiper-slide-active::before {
  display: none;
}

.swiper-slide-prev {
  border-radius: 3vw;
  border-radius: 3vw;
  opacity: 1;
  transition: 0.6s ease-in-out;
  position: relative;
  z-index: -1;
  transform: translateX(0);
}

.swiper-slide-next {
  border-radius: 3vw;
  border-radius: 3vw;
  opacity: 1;
  transition: 0.6s ease-in-out;
  position: relative;
  z-index: -1;
  transform: translateX(0);
}

.swiper-slide::before,
.swiper-slide-prev::before,
.swiper-slide-next::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0.4;
  z-index: 1;
  transition: 0.6s ease;
}

.swiper-pagination-bullet {
  opacity: 1;
  background-color: #fff;
  width: 0.8vw;
  height: 0.8vw;
  box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.6);
  border-radius: 8px !important;
}

.swiper-pagination-bullet-active {
  position: relative;
}

.swiper-pagination-bullet-active::before {
  position: absolute;
  content: "";
  width: 50%;
  height: 50%;
  background-color: #edb702;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50px;
}

.swiper-container-horizontal
  > .swiper-pagination-bullets
  .swiper-pagination-bullet {
  margin: 0 0.6vw;
}

@media (max-width: 768px) {
  .swiper-container-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    z-index: 100;
  }

.swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    padding: 4vw 15px !important;
    position: relative;
    top: -3vw;
}

  .swiper-container-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    bottom: 8px !important;
    padding: 0 0 0 4vw;
  }

  .swiper-slide-active {
    transform: scale(1) !important;
  }

  .card {
    min-height: 60vw !important;
    border-radius: 7vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
  }

  .swiper-slide-prev,
  .swiper-slide-next {
    opacity: 0;
  }
}

@media (max-width: 600px) {
  .swiper-pagination-bullet {
    width: 2.6vw;
    height: 2.6vw;
  }
}

@media (max-width: 480px) {
  .swiper-pagination-bullet {
    width: 3.2vw;
    height: 3.2vw;
  }
}

.swiper-slide {
    width: 300px; /* Пример ширины */
    height: 200px; /* Пример высоты */
}


.image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Соотношение сторон 16:9 */
}
.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
