.swiper-pagination-bullets {
  bottom: 30px !important;

}
.carousel-grid {
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(2, 1fr);
  height: 83vh;
  align-items: center;
}

.swiper-main {
  position: relative;
  background-image: url(../images/background-slider.jpg);
  background-position: top left;
  background-size: cover;
  background-attachment: fixed;
}


.swiper-main-button-prev,
.swiper-main-button-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: bold;
  width: 55px;
  height: 55px;
  padding: 10px;
  border: none;
  box-shadow: 0 0 2px #00000013;
  font-size: 1.5rem;
  background: rgb(17, 214, 24);
  background: linear-gradient(
    180deg,
    rgba(17, 214, 24, 1) 0%,
    rgba(15, 189, 21, 1) 100%
  );
  color: #062f57;
  top: calc(50% - 55px);
  z-index: 999;
  transition: 0.3s ease-in-out;
}

.swiper-main-button-prev:hover,
.swiper-main-button-next:hover {
  background: linear-gradient(180deg, #094a89 0%, #062f57 100%);
  fill: #11d618;
  transition: 0.3s ease-in-out;
}



.swiper-main-button-prev {
  left: 24px;
}
.swiper-main-button-next {
  right: 24px;
}

.swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  background-color: #212121;
}

.swiper-pagination-bullet-active {
  background-color: #062f57;
  margin-bottom: 10px !important;
}

.carousel-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  max-width: 60%;
}

.carousel__img {
  max-height: 450px !important;
}

@media only screen and (max-width: 1300px) {
  .carousel-text {
    max-width: 75%;
  }
  .carousel-grid {
    grid-template-columns: 1fr 0.6fr;
  }
}
@media only screen and (max-width: 1000px) {
  .swiper-main {
    background-image: url(../images/background-slider-mobile.jpg);
    background-repeat: no-repeat;
    background-position: center;           /* Centraliza a imagem no elemento */
    width: 2400px;               /* Faz com que a imagem cubra todo o elemento */
    background-attachment: fixed;
    background-size: contain;
  }

  .carousel-grid {
    grid-template-columns: 1fr;
    height: 100vh;
  }
  .carousel-grid img {
    display: none;
  }
  .carousel-text {
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 75%;
    padding: 6rem 0;
  }
}

@media only screen and (max-width: 800px) {
  .swiper-main-button-prev,
  .swiper-main-button-next {
    display: none;
  }
}

@media only screen and (max-width: 475px) {
  .carousel-grid {
    height: calc(100vh - 100px) !important;
    align-items: start !important;
  }
  .carousel-text {
    max-width: 95% !important;
    padding: 6rem 0 !important;
    justify-content: flex-start !important;
  }
}
@media only screen and (max-width: 360px) {
  .carousel-grid {
    height: calc(100vh - 100px) !important;
    align-items: start !important;
  }
  .carousel-text {
    max-width: 95% !important;
    padding: 2rem 0 !important;
    justify-content: flex-start !important;
  }
  .swiper-pagination-bullets {
    display: none !important;
  
  }
}
