@media (max-width: 768px) {

/* =====================
   BASE
===================== */
body {
  font-size: 16px;
  line-height: 1.6;
}

section,
main,
header,
footer {
  width: 100%;
  overflow-x: hidden;
}

/* =====================
   HEADER
===================== */
header {
  height: 70px;
  padding: 20px 5px;
  justify-content: space-evenly;
}

.parte01, .logo1 {
  display: none;
}

.parte02 {
  width: 80%;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.parte03 {
  width: auto;
}

    .logo2 {
      display: flex;
      height: 80px;
      padding: 8% 0;
      align-items: flex-start;
      margin: 0;
  }

/* =====================
   MENÚ FULL SCREEN
===================== */
.menu-fila,
.ventajas-container,
.perfiles-container,
.caracteristicas,
.descargas {
  flex-direction: column;
  align-items: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 60px;
    text-decoration: none;
    color: white;
    line-height: 1;
    transition: 0.3s;
}

.menu-content {
  overflow:scroll;
}

.menu-fila {
  margin: 6% 0;
}

.menu-columna {
  width: 80%;
  margin: 2% 0;
}

.menu-content a {
    font-size: 1em;
}

.menu-content h3 {
    width: 80%;
    font-size: 1.2em;
    margin: 0;
    font-weight: 600;
    text-align: center;
    color: white;
    margin: 0 0 2%;
    text-transform: uppercase;
    padding: 0 0 6px;
    border-bottom: 1px solid white;
}

   #intro {
            width: 70%;
            margin: -30px auto 0;
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        #intro-programa {
            font-size: 1em;
            line-height: 1.8;
            color: #333;
        }

        .iconos-caracteristicas {
            font-size: 2em;
            margin: 0 0 10px;
            filter: drop-shadow(5px 1px 10px cyan);
        }

        .enfasis {
            font-weight: 700 ;
        }

        .turquesa {
            color: rgba(19,162,153,1);
        }

        .cobalto {
            color: rgb(15, 45, 144);
        }



/* =====================
   HERO PRINCIPAL
===================== */
#principal {
  height: 90vh;
  padding: 100px 16px 40px;
  justify-content: center;
}

.principal-message-block {
  width: 100%;
  align-items: center;
  text-align: center;
}

.principal-message-block h1 {
  font-size: 1.8em;
}

.principal-message-block p {
  font-size: 1em;
}

/* Video de Fondo */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}


/* =====================
   INTRO
===================== */
.home-intro,
#intro,
main {
  width: 100%;
  padding: 20px;
  margin: 0 auto;
}

/* =====================
   BANNER PROGRAMA
===================== */
.banner-programa {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  aspect-ratio: 1/1;
  width: 100%;
  background-color: white;
  background-image: url(img/banner-derecho.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 0 0 4%;
}

.banner-danna {
    aspect-ratio: 1 /1;
    width: 100%;
    background-color: white;
    background-image: url(img/articulos/banner-dannaydanny-c.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    padding: 0 0 4%;
}

        .banner-programa h2 {
            font-size: 1.6em;
            font-weight: 500;
            text-transform: uppercase;
            color: white;
            text-shadow: 4px 4px 8px black;
            line-height: 1.2;
        }

.textos-banner-programa {
  width: 100%;
  padding: 0 16px;
  text-align: center;
}

h1 {
  font-size: 2.2em;
}

/* =====================
   GRID IMÁGENES
===================== */
.viewport {
  width: 80%;
  height: 1600px;
  aspect-ratio: unset;
}

.grid-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.item {
  height: 220px;
}

/* =====================
   CARACTERÍSTICAS
===================== */
.caracteristicas {
  width: 100%;
  padding: 0 16px;
}

.caracteristicas div {
  width: 100%;
}

/* =====================
   MAPA CURRICULAR
===================== */
.divs-container {
  grid-template-columns: repeat(5, 1fr);
}

.materias-container {
  padding: 20px;
}

.numero-div {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    width: 48px;
    background: white;
    border-radius: 10px;
    text-align: center;
    font-size: 1.8em;
    font-weight: bold;
    color: #00CED1;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}



/* =====================
   VENTAJAS
===================== */
.ventaja {
  width: 140px;
  margin: 0 0 8%;
}

.ventajas-competitivas h2 {
      color: white;
      font-size: 1.6em;
      text-transform: uppercase;
      text-align: center;
      margin: 4% 8%;
  }

/* =====================
   PERFILES
===================== */
.perfiles {
  width: 96%;
  height: auto;
  margin: 0 auto 12%;
}

.perfiles-container {
  width: 100%;
  padding: 0 16px;
}

.perfilIngreso, .perfilEgreso {
  width: 100%;
  margin: 8% 0 12%;
  height: auto;
}

  .perfilIngreso h2,  .perfilEgreso h2 {
      font-size: 1.6em;
      font-weight: 700;
  }

.boton {
    color: white;
    max-width: 80%;
    font-size: 1em;
    text-transform: uppercase;
    background: linear-gradient(to right, rgb(13, 194, 164) 10%, rgb(15, 45, 144) 100%);
    padding: 1%;
    margin: 1% auto 1%;
    display: block;
    border-radius: 20px;
    text-decoration: none;
    text-align: center;
    transition: all .4s linear;
    font-weight: 600;
}

/* =====================
   ÁREAS DE TRABAJO
===================== */
.areas-trabajo {
  display: flex;
  flex-direction: column;
  height: auto;
}

.area-trabajo-texto {
  padding: 20px;
}

.area-trabajo-foto {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: 400px;
  border-radius: 0;
}

        .area-trabajo-texto h2 {
            font-size: 1.8em;
            text-align: center;
        }

/* =====================
   GALERÍA
===================== */
.container-galeria {
  width: 100%;
  padding: 0 16px;
}

   .container-galeria h2 {
             font-size: 1.6em;
        }

  .container-galeria p {
      color: black; 
      margin:0 auto 40px;
      text-align: center;
      font-size: .9em;
      width: 80%;
  }

#imagenPrincipal {
  height: 240px;
}

.miniaturas {
  grid-template-columns: repeat(3, 1fr);
}

/* =====================
   HERO INTERACTIVO
===================== */
.hero {
  width: 80%;
  height: auto;
  flex-direction: column;
}

.left,
.right {
  width: 100%;
}

/* =====================
   ARTÍCULO
===================== */
.articulo {
  width: 100%;
  padding: 16px;
}

.articulo__titulo {
  font-size: 2em;
}

.articulo a {
    text-decoration: none;
    color: #0a5096;
    font-weight: 700;
}

.articulo a:hover {
    color:#00CED1;
}

.articulo figure {
    margin: 1.6em 0;
}   

.articulo figure img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  margin: 1rem 0;
}

/* =====================
   DESCARGAS
===================== */
.folleto,
.descarga {
  width: 100%;
  margin-bottom: 24px;
}

        .folleto {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40%;
        }

.notas {
  height: auto;
}

.cturquesa p {
  text-align: center;
}

/* =====================
   FOOTER
===================== */
.footer-logo {
    display: flex;
    justify-content: center;
    width: 90%;
    height: 120px;
    padding: 4% 0 2%;
}

.identidad {
    width: 80%;
    height: 100px;
    margin: 1% 0 0;
}

footer nav {
  width: 80%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 0 0;
}

dl {
  margin: 0 0 8%;
}

.identidad {
  width: 50%;
  justify-content: center;
  gap: 18px;
  
}

address {
  flex-direction: column;
  height: auto;
  padding: 12px;
}

/* =====================
   WHATSAPP
===================== */
.whatsapp-btn {
  width: 70px;
  height: 70px;
  font-size: 40px;
}


    select {
      width: 80%;
        cursor: pointer;
        background:  rgb(17,89,140);
        color: white;
        font-family: "Montserrat", sans-serif;
    }

}
