
body::before{
    background-color: var(--primary-color);
    background-image: none;
}

.titlepage{
    background-color: #202020b9;
    border-radius: 5px;
    margin-top: 30px;
    padding: 20px;
}

.contenedor{
    margin-top: 20px;
}
.botonera{
  display: flex;
  gap: 4px;
}

.imagen-main{
    height: 100%;
    max-height: 70vh;
    border-radius: 5px;
    object-fit: cover;
}

.container{
    margin: 0 auto;
    max-width: 1600px;
    padding: 0 15px;
}

.carousel{
  overflow: hidden;
  background-color: var(--navbar-color);
  border-radius: 5px;
}

.carousel-item-next, .carousel-item-prev, .carousel-item.active{
    display: inline-flex;
    justify-content: center;
}
.gallery .gallery_img {
    overflow: visible;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
  }

 .gallery_img img {
    width: 100%;
    height: unset;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 5px;
    filter: grayscale(50%);
    cursor: pointer;
    transition: all 0.5s;
  }
.col-4, .col-8, .col-12{
    padding-left: 5px;
    padding-right: 5px;
}

.gallery .gallery_img img:hover, .miniatura.active {
    filter: grayscale(0%); /* Apply grayscale filter */
    transform: scale(1.1);
    box-shadow: 0 0 0 1px var(--secondary-color), 0 0 0 3px rgb(255, 255, 255), 0 0 0 4px var(--secondary-color); /* Scale up the image on hover */
  }
.carousel-indicators{
    position: static;
}
  .botonera-pagination{
    position: static;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--navbar-color);
    width: auto;
    margin: 10px;
    padding: 5px;
  }
  .pagination-item{
    height: 5px !important;
    width: 5px !important;
    display: inline-block;
    text-decoration: none;
    color: black;
    cursor: pointer;
    margin: 0 10px !important;
    padding: 5px;
    border-radius: 50%;
    background-color: #e5e5e5;
    transition: background-color 0.2s, box-shadow 0.2s, scale 0.2s;
  }
  
  .pagination-item:hover,
  .pagination-item.active{
    background-color: var(--secondary-color);
    box-shadow: 0 0 5px 0 var(--secondary-color);
    color: rgb(33, 32, 32);
    scale: 1.2;
  }

  .boton{
    width: 36px;
  height: 36px;
  background: #0d0c0c;
  opacity: 1;
  font-size: 25px;
  color: #fff;
  border-radius: 60px;
  opacity: 0.7;
  }

  a.carousel-control-prev {
    position: static;
    transition: background-color 0.2s 
  }
  
   a.carousel-control-next {
    position: static;
    transition: background-color 0.2s 
  }
  
   .carousel-control-prev:hover,
   .carousel-control-prev:focus {
    width: 36px;
    height: 36px;
  }
  
   .carousel-control-next:hover,
   .carousel-control-next:focus {
    width: 36px;
    height: 36px;
  }
  
  @media screen and (max-width: 768px) {
    .contenedor{
      height: auto;
      
    }
    
    .imagen-main{
      width: 100%;
      height: auto;
      border-radius: 5px;
      object-fit: cover;
  }
.altura{
  min-height: 40vh;
  }

  footer ul.social_icon li span{
    font-size: 15px;
  }
  
    .carousel{
      height: auto;
      width: 100%;
      overflow: auto;
      position: static;
  }
  
    .gallery .gallery_img {
      overflow: visible;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 30px;
    }
  
   .gallery_img img {
      width: 100%;
      height: unset;
      aspect-ratio: 1/1;
      object-fit: cover;
      border-radius: 5px;
      filter: grayscale(50%);
      cursor: pointer;
      transition: all 0.5s;
    }


    .carousel{
      height: auto;
      width: 100%;
      overflow: auto;
      position: static;
    }
    .gallery .gallery_img {
      overflow: visible;
      width: 100px;
      height: 100%;
      display: flex;
      padding: 15px 5px;
      justify-content: center;
      align-items: center;
      margin-bottom: 0px;
    }
  
   .gallery_img img {
      width: 100%;
      height: unset;
      aspect-ratio: 1/1;
      object-fit: cover;
      border-radius: 5px;
      filter: grayscale(50%);
      cursor: pointer;
      transition: all 0.5s;
    }
    
  }