










/* ----------------------------VIDEO PROMOCION INICIO---------------------------------- 
.encabezado {
  background-color: #3BB0A5; 
  color: white;
  padding: 20px;
  text-align: center;
  width: 100%;
}
.video-container {
  position: relative;
  margin: 0 auto; 
  width: 90%; 
  max-width: 90%; 
  padding-bottom: 56.25%; 
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

h10 {
  margin-top: 1;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
  padding: 2;
}
 ----------------------------VIDEO PROMOCION FIN---------------------------------- */




/* Fondo del contenedor que abarca el contenido */
.content-section {
  background-color: #f58220; /* Mismo color que el header */
  padding: 20px; /* Espacio dentro del contenedor */
  width: 100%;
  box-sizing: border-box; /* Asegura que el padding no afecte el tamaño del contenedor */
}
/* Fondo del contenedor que abarca el contenido con el mismo color que el custom-header1 */
.content-section1 {
  background-color: #0089d0; /* Mismo color que el header custom-header1 */
  padding: 20px; /* Espacio dentro del contenedor */
  width: 100%;
  box-sizing: border-box; /* Asegura que el padding no afecte el tamaño del contenedor */
}
.content-section2 {
  background-color: #a6ce39; /* Mismo color que el header custom-header1 */
  padding: 20px; /* Espacio dentro del contenedor */
  width: 100%;
  box-sizing: border-box; /* Asegura que el padding no afecte el tamaño del contenedor */
}

/* ----------------------------ALGUNOS CURSOS MOOC---------------------------------- */


.custom-header {
  background-color: #f58220;
  text-align: center;
  padding: 10px 0;
  position: relative;
  margin-top: 10px;
  width: 80%; 
  margin: 10px auto; /* Centro y margen superior reducido */
}

.custom-header__medio {
  display: inline-block;
  margin: 0;
  font-size: 18px; /* Tamaño de fuente más pequeño */
  font-family: "Arial", sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  color: #ffffff; /* Color negro */
}



.custom-header1 {
  background-color: #0089d0;
  text-align: center;
  padding: 10px 0;
  position: relative;
  margin-top: 10px;
  width: 80%; 
  margin: 10px auto; /* Centro y margen superior reducido */
}

.custom-header__medio1 {
  display: inline-block;
  margin: 0;
  font-size: 18px; /* Tamaño de fuente más pequeño */
  font-family: "Arial", sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  color: #ffffff; /* Color negro */
}





.custom-header3 {
  background-color: #a6ce39;
  text-align: center;
  padding: 10px 0;
  position: relative;
  margin-top: 10px;
  width: 80%; 
  margin: 10px auto; /* Centro y margen superior reducido */
}

.custom-header__medio3 {
  display: inline-block;
  margin: 0;
  font-size: 18px; /* Tamaño de fuente más pequeño */
  font-family: "Arial", sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  color: #ffffff; /* Color negro */
}










.banda {
  width: 80%; /* Limita el ancho al 80% de la pantalla */
  margin: 0 auto; /* Centra el contenido */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Ajusta el número de columnas automáticamente */
  grid-gap: 20px; /* Espacio entre las tarjetas */
}

.tarjeta {
  background: #ffffff;
  text-decoration: none;
  color: #444;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%; /* Asegura que todas las tarjetas tengan la misma altura */
  transition: all 0.3s ease-in-out;
}

.tarjeta:hover,
.tarjeta:focus {
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2);
}

.tarjeta article {
  padding: 20px; /* Aumenta el padding alrededor del texto */
}

.tarjeta h1 {
  font-size: 16px; /* Letras más pequeñas */
  margin: 0;
  color: #000000; /* Color negro */
}

.miniatura {
  width: 100%;
  padding-bottom: 66.67%; /* Relación de aspecto 3:2 (1080x720) */
  background-size: cover;
  background-position: center;
}


@media (max-width: 600px) {
  .banda {
    grid-template-columns: repeat(2, 1fr); /* Dos tarjetas en cada fila en pantallas pequeñas */
    grid-gap: 20px; /* Asegura que haya suficiente espacio entre las tarjetas */
  }
  .tarjeta h1 {
    font-size: 12px; /* Letras más pequeñas */
    margin: 0;
    color: #000000; /* Color negro */
  }
}
/* ----------------------------ALGUNOS CURSOS MOOC---------------------------------- */










/* ----------------------------TUTORIALES CECAVI--------------------------------- */


/* ----------------------------TUTORIALES CECAVI--------------------------------- */







/* -----------------------------VENTANA MODAL PROMOCION APP INICIO----------------------------------*/

.unique-header {
  background: rgba(255, 255, 255, 0.8);
  padding: 40px 0;
  text-align: center;
}

.promo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  margin: 0 auto;
  padding: 20px;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #fff;
}

.app-logo {
  width: 150px;
  margin-bottom: 1px;
}

h1 {
  margin: 0 0 10px;
  font-size: 2.5em;
  color: #6A82FB;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

p {
  margin: 0 0 30px;
  font-size: 1.2em;
}

.promo-image {
  width: 100%;
  max-width: 1024px;
  height: auto;
  margin-bottom: 1px;
}

#openModalBtn {
  margin: 20px;
  padding: 10px 20px;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Estilos para la ventana modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  text-align: center;
  position: relative;
  border-radius: 5px;
  width: 100%;
  max-width: 400px;
}

.close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  cursor: pointer;
}

.modal-button {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  background-color: #000000;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
}

.modal-content img {
  max-width: 100%;
  max-height: 300px;
  margin: 0 auto;
}

/* Media Query para pantallas pequeñas */
@media screen and (max-width: 768px) {
  .promo-container {
    padding: 10px;
  }

  h1 {
    font-size: 2em;
  }

  p {
    font-size: 1em;
  }

  #openModalBtn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .modal-content {
    width: 90%;
  }
}

.unique-header2 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  background-color: #f9f9f9;
}

.promo-container2 {
  text-align: center;
  max-width: 1200px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.app-logo2 {
  width: 100%;
  height: auto;
  max-width: 100%;
  margin-bottom: 10px;
}

h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

p {
  font-size: 1.2em;
  color: #555;
}

/* Media Query para pantallas pequeñas */
@media screen and (max-width: 768px) {
  .promo-container2 {
      padding: 10px;
  }

  h1 {
      font-size: 1.5em;
  }

  p {
      font-size: 1em;
  }
}
/* -----------------------------VENTANA MODAL PROMOCION APP  FIN----------------------------------*/



.responsive-image {
  width: 80%; 
  height: auto;
  display: block;
  margin: 10px auto; /* Margen superior e inferior de 20px */
}



/* ----------------------------imagenes ins----------------------------------*/


.custom-header2 {
  background-color: #00AEEF;
  text-align: center;
  padding: 1px 0;
  margin: 0 auto; /* Eliminamos el espacio arriba con margin-top 0 */
  margin-bottom: 20px; /* Aumentamos el espacio inferior */
  width: 100%;
}

.custom-header__medio2 {
  display: inline-block;
  margin: 0;
  font-size: 24px;
  font-family: "Arial", sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  color: #FFFFFF;
}


.container2 {
  text-align: center;
  width: 100%; /* Ajustado al 80% de la pantalla */
  margin: 0 auto;
  overflow: hidden; /* Oculta el contenido que se desborda */
  position: relative;
}

.carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  width: max-content; /* Ajusta el ancho automático según el número de imágenes */
}

.carousel-track a {
  display: inline-block;
  margin: 0 30px; /* Aumentamos más la separación entre imágenes */
}

.carousel-track img {
  max-width: 150px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

/* Estilos para modo responsive */
@media screen and (max-width: 768px) {
  .custom-header2 {
    width: 90%; /* Más pequeño en pantallas móviles */
  }

  .custom-header__medio2 {
    font-size: 12px; /* Reduce el tamaño de la fuente */
  }

  .container2 {
    width: 90%; /* Contenedor más pequeño en pantallas móviles */
  }

  .carousel-track a {
    margin: 0 10px; /* Menos espacio entre imágenes en pantallas pequeñas */
  }

  .carousel-track img {
    max-width: 70px; /* Imágenes más pequeñas en pantallas móviles */
  }
}






/* -----------------------------imagenes in--------------------------------*/



/* --------------------------ALE INICIO-------------------------------*/
.container-ale {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0; /* Reduce el espacio superior e inferior */
}

.card-container-ale {
  display: flex;
  width: 80%; /* Ocupa el 80% de la pantalla en modo normal */
  background-color: #3BB0A5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: center;
}

.image-container-ale, .text-container-ale {
  flex: 1;
  width: 50%; /* La imagen y el texto ocupan cada uno el 50% */
}

.image-container-ale img {
  width: 100%;
  height: auto;
}

.text-container-ale {
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-container-ale h2 {
  margin-top: 0;
}

.button-ale {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #3BB0A5;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
}

.button-ale:hover {
  background-color: #26766e;
}

/* Modo responsive */
@media (max-width: 768px) {
  .card-container-ale {
      flex-direction: column;
      text-align: center;
      width: 80%; /* En responsive también ocupa el 80% */
  }

  .image-container-ale, .text-container-ale {
      width: 100%; /* Imagen y texto ocupan el 100% en responsive */
  }

  .text-container-ale {
      padding: 20px;
  }
}


/* --------------------------ALE FIN------------------------------*/




/* ------------------------VIDEO---------------------------*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.custom-container {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.custom-video-background {
  background-color: #ff007b;
  padding: 2rem;
  border-radius: 8px;
  width: 100%;
  max-width: 1500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.custom-video-header {
  background-color: #e60073;
  color: #ffffff;
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.custom-video-header h2 {
  margin: 0;
  font-size: 1.5rem;
  display: inline-block;
}

.custom-view-more-button {
  color: #ffffff;
  background-color: #ffffff33;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s;
  margin-left: 1rem;
}

.custom-view-more-button:hover {
  background-color: #ffffff55;
}

.custom-videos-row {
  display: flex;
  gap: 1rem; /* Espacio entre videos */
  flex-wrap: wrap;
  justify-content: center;
}

.custom-video-container {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  width: 100%;
  max-width: 30%; /* Tres videos juntos ocupan 80% */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.custom-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.custom-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0 0 8px 8px;
}

.custom-video-description {
  padding: 1rem;
  color: #333;
  font-size: 1rem;
  background-color: #f0f0f0;
  font-weight: bold;
}

/* Estilos responsivos */
@media (max-width: 992px) {
  .custom-video-container {
      max-width: 48%; /* Dos videos por fila */
  }
}

@media (max-width: 768px) {
  .custom-video-container {
      max-width: 100%; /* Un video por fila */
  }
}