.main-slides {
}

.main-slides .swiper {
  width: 100%;
  height: auto;
}

.main-slides .swiper-slide {
  text-align: left;
  height: auto;
}
.main-slides .slide {
  position: relative;
  height: 70vh;
}

.main-slides .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-slides .slide .overlay {
  background-color: rgba(0, 0, 0, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 1rem;
}
.main-slides .slide .overlay h2 {
  color: white;
  font-size: 3.5rem;
  text-transform: capitalize;
  max-width: 600px;
  font-weight: 600;
}
.main-slides .slide .overlay h3 {
  font-size: 1.5rem;
  color: #bdaf8e;
  text-transform: capitalize;
  font-weight: 600;
}

.main-slides .swiper-button-next {
  color: #bdaf8e;
  background-color: white;
  width: 50px;
  height: 40px;
  top: auto;
  bottom: 40px;
  right: 40px;
  border-radius: 0;
}
.main-slides .swiper-button-next::after {
  font-size: 18px;
  content: "";
}
.main-slides .swiper-button-next img {
  width: 20px;
}
.main-slides .swiper-button-prev {
  color: #bdaf8e;
  background-color: white;
  width: 50px;
  height: 40px;
  top: auto;
  left: auto;
  bottom: 40px;
  right: 100px;
  border-radius: 0;
}
.main-slides .swiper-button-prev::after {
  font-size: 18px;
  content: "";
}
.main-slides .swiper-button-prev img {
  width: 20px;
}

@media screen and (max-width: 768px) {
  .main-slides .slide {
    position: relative;
    height: 60vh;
  }
  .main-slides .slide .overlay {
    grid-template-columns: 1fr;
  }
  .main-slides .slide .overlay .text {
    text-align: center;
  }
  .main-slides .slide .overlay .text h2 {
    max-width: 100%;
    font-size: 2.6rem;
    padding-inline: 1rem;
  }
  .main-slides .slide .overlay .dummy {
    display: none;
  }

  .main-slides .swiper-button-prev {
    bottom: 40px;
    right: 50%;
    width: 50px !important;
    height: 40px !important;
  }
  .main-slides .swiper-button-next {
    bottom: 40px;
    right: 35%;
    width: 50px !important;
    height: 40px !important;
  }
}
