@import url('https://fonts.googleapis.com/css?family=Open+Sans|Roboto');

/*---------------------------------------------------------------------------------------- */
/*-------------------------- Variables --------------------------------- */
/*---------------------------------------------------------------------------------------- */


/*---------------------------------------------------------------------------------------- */
/*-------------------------- Imagen Galeria --------------------------------- */
/*---------------------------------------------------------------------------------------- */


.seccion-carrusel{
  padding: 100px 0px 100px 0px;
  border-top: 5px solid var(--color-borde-margen-arriba);
}

.portafolio {
    width: 100%;
    height: 100%;
    text-align: center;

    background-size: cover;
    /* margin: 6rem 0 4rem; */

}

.titulo-carrusel{
    padding:0 10px 10px 10px; 
    margin-bottom:40px;
    color: #2677ce;
}



#servicios-titulo::after{
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #1f6ba7;
  margin: 10px auto 0;
  border-radius: 2px;
}

.contenedor-carousel{
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
    width: 100%;
    overflow: hidden;
    align-items: center;
}

  .owl-carousel .item img {
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
  }

  .custom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }


  .custom-prev,
  .custom-next {
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: #081220;
    cursor: pointer;
    transition: color 0.3s;
  }

  .custom-prev:hover,
  .custom-next:hover {
    color: #007bff;
  }

  .card {
    height: 100%;
    
  }

  .card-img-top {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .card-body{
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

    .card-body h4{
margin-top: 0.5rem;
margin-bottom: 0;
  }

/*---------------------------------------------------------------------------------------- */
  
/*--------------------------------------------------------------
-----------------------  Respónsive  ---------------------------
----------------------------------------------------------------*/
@media (max-width: 1230px) {

.portafolio {
    /* padding: 0 9% 5rem; */
    margin: 0;
}

  }


@media screen and (max-width: 900px){
  .titulo-carrusel{
      font-size:60px;
  }

} 


@media only screen and (max-width: 730px)  {
   
  .seccion-carrusel{
    padding: 50px 0px 50px 0px;
  }

  .titulo-carrusel{
    padding:0
  }
}




@media screen and (max-width: 368px){
    
  .titulo-carrusel{
    font-size:45px;
  }

} 

