.portada.background{
    background-image: url(https://res.cloudinary.com/upcbinary/image/upload/v1698676902/pregrado/imagenes/landings/carreras/arquitectura/landing-arquitectura-mobile_gxqelh-min_dhmxpr.jpg);
    background-color: white;
    background-size: 100%;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .portada.background{
        background-image: url(../img/Portada_Ing_Biomedica.JPG);
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }
}
.image-video-bienvenida{
    background: url('../img/preview-youtube-gastronomia.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

img.responsive-img-decana {
    border-radius: 50%; /* Redondear la imagen */
    width: 50%; /* 100% de ancho en pantallas pequeñas */
    height: auto; /* Mantener la proporción */
  }
  
  /* Estilo para pantallas grandes: imagen 120% de ancho */
  @media (min-width: 768px) {
    img.responsive-img-decana {
      width: 100%; /* 120% de ancho en pantallas grandes */
    }
  }

  img.responsive-img-directora {
    border-radius: 50%; /* Redondear la imagen */
    width: 50%; /* 100% de ancho en pantallas pequeñas */
    height: auto; /* Mantener la proporción */
  }
  
  /* Estilo para pantallas grandes: imagen 120% de ancho */
  @media (min-width: 768px) {
    img.responsive-img-directora {
      width: 120%; /* 120% de ancho en pantallas grandes */
      /* height: 80%; */
    }
  }

/* lo que la carrera tiene para ti */

.card-hover-img {
  cursor: pointer;
}

.card-hover-img img {
  display: block;
  transition: transform 0.3s ease;
}

.card-hover-img .overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-hover-img:hover .overlay-content {
  opacity: 1;
}

.card-hover-img:hover img {
  transform: scale(1.05);
}

.img-fixed {
  height: 300px;
  object-fit: cover;
}

.card-hover-img .overlay-content {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  overflow-y: auto;
  display: flex;
  align-items: center;
}

.card-hover-img:hover .overlay-content {
  opacity: 1;
}

.overlay-content p {
  font-size: 14px;
}

.img-fixed {
  height: 300px;
  object-fit: cover;
}

.slick-cards .slick-slide {
  padding: 0 10px; /* espacio entre cards */
}

.overlay-content {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  overflow-y: auto;
  display: flex;
  align-items: center;
}

.card-hover-img:hover .overlay-content {
  opacity: 1;
}

.slick-prev-custom,
.slick-next-custom {
  width: 20px;
  height: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}

.slick-prev-custom {
  left: 180px;
}

.slick-next-custom {
  right: 180px;
}

/* AJUSTE EN PANTALLAS PEQUEÑAS */
@media (max-width: 991.98px) {
  .slick-prev-custom {
    left: 10px;
  }

  .slick-next-custom {
    right: 10px;
  }
}

/* Noticias y opinión section */

@media (max-width: 992px) {
  .title-carrera {
    width: auto;
  }
}
.prev-arrow-1-black,
.next-arrow-2-black {
  top: 38%;
  width: 20px;
  height: auto;
}
.prev-arrow-black-1,
.prev-arrow-black2-2 {
  left: 10px;
}
.next-arrow-black-1,
.next-arrow-black2-2 {
  right: 10px;
}
.prev-arrow-black2-1,
.next-arrow-black2-2 {
  top: 54%;
  width: 20px;
  height: auto;
}
.img-grupo {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: inline !important;
}
.line-left-red {
  display: inline-block;
  width: 5px;
  height: 22px;
  background-color: #D50000;
}
.item-noticias figure {
  background-color: #efefef;
}
.slide-carrera {
  width: 100%;
}
img.img-carrera{
  display: inline !important;
  width: auto;
  max-width: 100%;
  height: 230px;
}
.item-noticias, .item-noticias img {
  display: block;
}
.item-noticias img {
  max-height: 248px;
  min-height: 248px;
}
.contenedor-img img, .item-noticias img, .contenedor-img-2 img {
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .item-noticias figcaption {
    min-height: 230px;
    line-height: 1.2;
  }
}

.slider-nav{
  max-height: 490px;
  overflow-y: auto;
}

.slider-nav .slick-list{
  height: auto !important;
}

.slick-arrow-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #ccc;
  color: #333;
  font-size: 24px;
  width: 40px;
  height: 40px;
  z-index: 10;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0,0,0,0.15);
}

.slick-prev-custom-noticias {
  left: -20px;
}

.slick-next-custom-noticias {
  right: -20px;
}
