/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    padding-top: 3rem;

    color: rgb(var(--bs-tertiary-color-rgb));
  }
  
  
  /* CUSTOMIZE THE CAROUSEL
  -------------------------------------------------- */
  
  /* Carousel base class */
  .carousel-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  @media (max-width: 768px) {
    .carousel-inner img {
      max-height: 400px; /* Ajuste a altura para dispositivos móveis */
    }
  }
  
  
  .carousel {
    margin-bottom: 3rem;
  }
  /* Since positioning the image, we need to help out the caption */
  .carousel-caption {
    bottom: 3rem;
    z-index: 10;
  }
  

  
  /* MARKETING CONTENT

  
  /* Featurettes
  ------------------------- */
  
  .featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
  }
  
  /* Thin out the marketing headings */
  /* rtl:begin:remove */
  .featurette-heading {
    letter-spacing: -.05rem;
  }
  
  /* rtl:end:remove */
  
  /* RESPONSIVE CSS
  -------------------------------------------------- */
  
  @media (min-width: 40em) {
    /* Bump up size of carousel content */
    .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-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 300px;
    text-align: center;
    color: #ffffff; /* Define a cor branca para todo o texto dentro do box */
    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; /* Começa invisível */
    transition: opacity 0.3s ease; 
   
  }

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

  .box2:hover .overlay {
    background-color: #00bfff; /* Deep Sky Blue */
    opacity: 1;
    z-index: -1;
  }

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

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

  .text-center {
    z-index: 2; /* coloca o conteúdo acima do overlay */
  }

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


  .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;
}
