/* GLOBAL STYLES */
body {
  padding-top: 3rem;
  color: rgb(var(--bs-tertiary-color-rgb));
}

/* CUSTOMIZE THE CAROUSEL */
.carousel {
  margin-bottom: 3rem;
}

.carousel-caption {
  position: absolute;
  bottom: 10%;
  left: 10%;
  z-index: 10;
  text-align: left;

  padding: 15px;
  border-radius: 5px;
  max-width: 50%;
}

.carousel-caption h3 {
  font-size: 2rem;
  line-height: 1.2;
  color: #fff;
}

.carousel-caption p {
  font-size: 1.2rem;
  color: #ddd;
}

.carousel-caption a {
  font-size: 1rem;
  padding: 10px 20px;
  display: inline-block;
  text-align: center;
  border-radius: 5px;
}

@media (max-width: 767px) {
  .carousel-caption {
    bottom: 10%;
    left: 5%;
    max-width: 90%;
    text-align: center;
  }

  .carousel-caption h3 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .carousel-caption a {
    font-size: 0.9rem;
  }
}

/* MARKETING CONTENT */
.featurette-divider {
  margin: 5rem 0;
}

.featurette-heading {
  letter-spacing: -0.05rem;
}

@media (min-width: 40em) {
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

/* CUSTOM BOXES */
.custom-box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 300px;
  text-align: center;
  color: #ffffff;
  z-index: 2;
}

.box-wrapper {
  width: 100%;
  height: 100%;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(101, 40, 224, 0);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.box1:hover .overlay {
  background-color: #ff6347;
  opacity: 1;
  z-index: -1;
}

.box2:hover .overlay {
  background-color: #00bfff;
  opacity: 1;
  z-index: -1;
}

.box3:hover .overlay {
  background-color: #ffa500;
  opacity: 1;
  z-index: -1;
}

.box4:hover .overlay {
  background-color: #099633;
  opacity: 1;
  z-index: -1;
}

.box-title {
  font-weight: bold;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}

.page-item {
  margin: 0 5px;
}

.page-link {
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid #ddd;
  color: #007bff;
  text-decoration: none;
}

.page-link:hover {
  background-color: #007bff;
  color: #fff;
}

.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
}

.page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
}

.mobile-alternative {
  background-color: #f0f8ff; /* Cor de fundo suave */
  padding: 20px; /* Espaçamento interno ao redor do conteúdo */
  border-radius: 10px; /* Bordas arredondadas */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombras leves */
  text-align: center;
  margin: 10px; /* Espaçamento externo para centralizar */
}

.mobile-alternative h3 {
  font-size: 1.8rem;
  margin-top: 0.5rem;
  color: #0056b3; /* Azul mais escuro */
}

.mobile-alternative p {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: #333;
}

.mobile-alternative a {
  font-size: 1.2rem;
  padding: 12px 25px;
  display: inline-block;
  text-align: center;
  border-radius: 5px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  margin-top: 10px;
}

.mobile-alternative a:hover {
  background-color: #0056b3;
}
