
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
*{

    font-family: 'Poppins', sans-serif;
}



  body{
    background: rgb(220,242,255);
background: radial-gradient(circle, rgba(220,242,255,1) 0%, rgba(255,221,221,1) 38%, rgba(255,234,234,1) 54%, rgba(255,249,238,1) 64%, rgba(255,255,255,1) 100%);
}

  .texto-oferta{
  font-size: 30px;
  font-weight: bold;
}


.separacion{
  content: "";
  display: block;
  height: 7px;
  width: 100px;
  background-color: var(--color-principal);
}

.separacion-dos{
  content: "";
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--color-principal);
}

.text-universidad{
  color: var(--color-principal);
}

.institucion{
  border: 1px solid #1d1d1d;
  border-radius: 5px;
  width: 20%;
  margin-left: 20px;
  text-align: center;
}


/* ************ INICIO CONTENIDO PROGRAMAS ************  */

.row a{
  text-decoration: none;
} 



  .boton-cursos {
    background: #fff3f3;
    color: #da0c0c;
    border: 3px solid #c90101;
    padding: 7px 20px;
    border-radius: 1px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-block;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
}


.boton-cursos:hover {
  color: #fff; /* color de fuente hover */
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 10px 10px 14px -7px rgba(60,46,255,0.23);
-webkit-box-shadow: 10px 10px 14px -7px rgba(60,46,255,0.23);
-moz-box-shadow: 10px 10px 14px -7px rgba(60,46,255,0.23);

}


.boton-cursos::after {
  content: "";
  background: rgb(60,211,254);
  background: linear-gradient(90deg, rgb(200 0 0) 0%, rgb(255 60 60) 100%);
  position: absolute;
  z-index: -1;
  padding: 16px 20px;
  display: block;
  top: 0;
  bottom: 0;
  left: -100%;
  right: 100%;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;

}
  
.boton-cursos:hover::after {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;

}

.productos{
  background: #fff;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
  
}

.productos:hover img{
    -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    -o-transform:scale(1.1);
    transform:scale(1.05);
    transition: 0.7s;
}

.productos img{
  padding: 7px;
  transition: 0.7s;
  width: 100%;  /* Hace que la imagen ocupe todo el ancho del contenedor */
    height: 200px; /* Establece una altura fija */
    object-fit: cover; /* Recorta la imagen para que se ajuste sin deformarse */
    border-radius: 5px; /* Opcional: bordes redondeados */
}


/*fto rojo enzima*/

.imagen-container {
    position: relative;
    display: inline-block;
    width: 100%; /* Ajusta según sea necesario */
}

.imagen-container img {
    width: 100%;
    height: 200px; /* Ajusta según sea necesario */
    object-fit: cover; /* Recorta la imagen manteniendo la relación de aspecto */
    display: block;
}

.imagen-container::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 7px;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    background: linear-gradient(to bottom, rgb(255 0 0 / 55%), rgb(255 0 0 / 0%));
    pointer-events: none;
    transition: all 0.5s ease; /* Transición suave */
}

/* Cuando pase el mouse, el overlay ocupará el 100% */
.productos:hover .imagen-container::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0px;
}




/************ FIND ECONTENIDO PROGRAMAS *************/



@media (max-width: 992px){
  .texto-oferta{
    font-size: 25px;
    text-align: justify;
  }
  .boton-inscribirse,.boton-regular{
    font-size: 15px;
  }
    @media (max-width: 768px){
    
      @media (max-width: 576px){
      .texto-oferta{
        font-size: 18px;
      }
      .boton-inscribirse,.boton-regular{
        font-size: 13px;
      }
      .boton-regular{
        padding: 6px;
      }

      
        

        /* PRODUCTOS MUESTRA */

        .boton-regular-rojo{
          width: 40%;
        }

        .rounded {
            padding: 0 5px 0 5px;
        }
       
        .productos,.texto-mobil,.nav-link  {
          font-size: 13px;
        } 
        .imagen-container img{
          height: 120px;
        }

        /* END PRODUCTOS MUESTRA */


      }
  }
}

