@media (max-width: 1500px) {
  .header {
    padding-left: 5%;
    padding-right: 5%;
  }

  .principal {
    grid-template-rows: 800px;
  }

  .principal-title h1 {
    font-size: 4rem;
  }

  .principal-title h3 {
    font-size: 1.5rem;
  }

  .principal-title span {
    font-size: 1.2rem;
  }

  .principal-title button,
  .sixth-buttons,
  .eighth-title button {
    font-size: 0.9rem;
  }

  .secondary h2,
  .secondary span,
  .sixth-title h2,
  .seventh-title h2,
  .eighth-title h2,
  .ninth-title h2,
  .tenth-title h2 {
    font-size: 2.5rem;
  }

  .slicer-title h2 {
    font-size: 2.5rem;
  }

  #video-title {
    font-size: 1.8rem;
  }

  #video-description {
    font-size: 1rem;
  }

  .section-2030 h3,
  .section-2050 h3,
  .card h3 {
    font-size: 1.3rem;
  }

  .section-2030 p,
  .section-2050 p {
    font-size: 0.8rem;
  }

  .sixth-description p,
  .eighth-title p,
  .ninth-title p,
  .card p {
    font-size: 1rem;
  }

  .title {
    font-size: 1.8rem;
  }

  .description {
    font-size: 0.8rem;
  }

  .custom-container {
    gap: 30px;
  }

  .slicer-container {
    width: 30%;
  }

  .twelfth-aside {
    width: 30%;
    height: auto;
    background: linear-gradient(-45deg, #01c09a 10%, rgba(0, 0, 0, 0) 10%), url(../images/green.png);
    background-position: bottom right;
    background-size: 400px;
    background-repeat: no-repeat;
  }
}

@media (max-width: 1200px) {
  .header-nav li {
    font-size: 0.9rem;
  }

  .twelfth-content {
    flex-direction: column;
  }

  .twelfth-title {
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 60px;
  }

  .twelfth-aside {
    width: 100%;
    height: 300px;
  }

  .twelfth-proyects-2023 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "que"
      "con-quienes"
      "funciones";
  }

  .twelfth-proyects-2024-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "que"
      "con-quienes"
      "funciones"
      "que1"
      "con-quienes1"
      "funciones1";
  }

  .carta-twelfth,
  .carta-twelfth-2024 {
    border: none;
    border-bottom: 2px solid #ccc;
  }

  .carta-twelfth:hover .description-twelfth,
  .carta-twelfth-2024:hover .description-twelfth {
    padding: 40px;
  }

}

@media (max-width: 1100px) {
  .header-nav li {
    padding-left: 20px;
    font-size: 0.8rem;
  }

  .principal {
    grid-template-rows: 800px;
  }

  .principal-title h1 {
    font-size: 4rem;
  }

  .principal-title h3 {
    font-size: 1.5rem;
  }

  .principal-title span {
    font-size: 1.2rem;
  }

  .principal-title button,
  .sixth-buttons button,
  .eighth-title button {
    height: 50px;
    border-radius: 10px;
    font-size: 0.9rem;
  }

  .secondary,
  .carta {
    text-align: center;
  }

  .secondary-2 {
    padding-top: 0;
  }

  .sixth-description {
    padding-top: 0;
  }

  .secondary h2,
  .secondary span,
  .sixth-title h2,
  .seventh-title h2,
  .eighth-title h2,
  .ninth-title h2,
  .tenth-title h2 {
    font-size: 1.8rem;
  }

  .slicer-title h2 {
    font-size: 2.5rem;
  }

  #video-title {
    font-size: 1.8rem;
  }

  #video-description {
    font-size: 1rem;
  }

  .section-2030 h3,
  .section-2050 h3,
  .card h3 {
    font-size: 1.3rem;
  }

  .section-2030 p,
  .section-2050 p {
    font-size: 0.8rem;
  }

  .secondary-2 p,
  .sixth-description p {
    font-size: 0.8rem;
  }

  .eighth-title p,
  .ninth-title p,
  .card p {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.8rem;
  }

  .description {
    font-size: 0.5rem;
  }

  .custom-container {
    gap: 30px;
  }

  .slicer-container {
    width: 30%;
  }

  .seventh {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }

  .goals-2030 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 100px auto;
    grid-template-areas: "title-2030" "meta-incondicional-2030" "transporte-2030" "energia-2030" "residuos-2030" "meta-condicional-2030";
    gap: 0px;
    background: rgb(0, 123, 172);
    background: linear-gradient(0deg,
        #009afaa8 14%,
        rgba(0, 40, 44, 0.548) 100%),
      url(../images/DJI_0530.jpg);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    margin-bottom: 0;
  }

  .goals-2050 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 100px auto;
    grid-template-areas: "title-2050" "meta-incondicional-2050" "meta-condicional-2050" "emisiones-gei-2050";
    gap: 0px;
    background: rgb(0, 157, 172);
    background: linear-gradient(0deg, #0099fa 14%, rgba(0, 40, 44, 0.548) 100%),
      url(../images/DJI_0530.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }

  .title-2030 {
    grid-area: title-2030;
    writing-mode: horizontal-tb;
    /* Pone el texto en vertical */
    text-orientation: mixed;
    /* Mantiene las letras derechas */
    transform: rotate(360deg);
    /* Invierte el texto para que quede de cabeza */
    background-color: #004c6d;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: white;
    overflow: hidden;
  }

  .title-2050 {
    grid-area: title-2050;
    writing-mode: horizontal-tb;
    /* Pone el texto en vertical */
    text-orientation: mixed;
    /* Mantiene las letras derechas */
    transform: rotate(360deg);
    /* Invierte el texto para que quede de cabeza */
    background-color: #004c6d;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: white;
  }

  .terciary {
    display: none;
  }

  /* Sección general */
  .faqs-container {
    display: block;
    width: 100%;
    background-color: #f8f9fa00;

  }

  /* Título principal */
  .faqs-title {
    font-size: 2rem;
    font-weight: bold;
    color: #f8ae00;
    text-align: center;
    margin-bottom: 20px;
  }

  /* Elementos de cada FAQ */
  .faqs-item {
    overflow: hidden;
    transition: all 0.3s ease;
  }

  /* Encabezado de cada FAQ */
  .faqs-header {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    background-color: #f8ae00;
    border: none;
    padding: 20px 5% 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
  }

  /* Icono de "+" y "-" */
  .faqs-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
  }

  /* Cuerpo de la FAQ */
  .faqs-body {
    font-size: 0.8rem;
    padding: 5%;
    color: #f8ae00;
    background-color: #ffffff;
    display: none;
  }

  /* Mostrar el cuerpo cuando está activo */
  .faqs-body.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
  }

  /* Animación de aparición */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .eighth-title,
  .ninth-title {
    padding: 5% 5%;
  }

  #video-title {
    font-size: 1.5rem;
  }

  #video-description p {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .header {
    display: none;
  }

  .navbar {
    display: block;
  }

  .wave-separador {
    display: block;
  }

  .wave1-2 {
    background-color: #0276d4;
  }

  .wave7-8 {
    background-color: #0099fa;
  }

  /* Contenedor principal */
  .principal {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "principal-title";
    position: relative;
    overflow: hidden;
  }

  /* Contenedor del contenido */
  .principal-title {
    grid-area: principal-title;
    width: 100%;
    height: 100%;
    background: rgb(2, 118, 212);
    background: linear-gradient(0deg, #0276d4 10%, #0a79638f 45%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50% 5%;
    gap: 20px;
    position: relative;
    z-index: 3;
    transition: 0.5s;
    color: white;
    text-align: center;
  }

  /* Botón */
  .principal-title button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  #back-video {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    /* Mostrar video */
  }

  .principal-title:hover {
    background-color: #01c09a00;
  }

  .principal-title h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
  }

  .principal-title h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
  }

  .principal-title span {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: white;
  }

  .principal-title a {
    display: flex;
    justify-content: center;
    text-decoration: none;
  }

  .principal-title button {
    border-style: none;
    background-color: #0056b3;
    width: 200px;
    height: 50px;
    border-radius: 10px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.418);
  }


  .principal-img1 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: -1;
  }


  .principal-img2 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: -2222;
  }

  .secondary {
    width: 100%;
    height: auto;
    background-color: #f8ae00;
  }

  .secondary-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 15% 5% 5% 5%;
    font-size: 2rem;
    color: #ffffff;
    text-align: start;
  }

  .secondary-1 h2 {
    font-size: 1.5rem;
  }

  .secondary-1 span {
    font-size: 1.5rem;
  }

  .secondary-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5% 5% 15% 5%;
    text-align: start;
    font-size: 1.5rem;
  }

  .secondary-2 p {
    font-size: 0.8rem;
    color: #ffffff;
  }


  .terciary {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "que"
      "con-quienes"
      "funciones";
    background: #01c09a;
    display: none;
  }

  .que {
    grid-area: que;
  }

  .con-quienes {
    grid-area: con-quienes;
  }

  .funciones {
    grid-area: funciones;
  }

  .carta {
    transition: background-color 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 5% 5%;
  }

  .description {
    display: block;
    font-size: 0.8rem;
    color: white;
  }

  .title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #f7f7f7;
    text-align: start;
  }

  .carta ul {
    padding: 5%;
  }

  .fourth {
    width: 100%;
    background-color: #062735;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 300px;
    grid-template-areas: "plan-title plan-description plan-description";
  }

  .plan-title {
    grid-area: plan-title;
    background-color: #062735;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    color: white;
    text-align: start;
  }

  .plan h2 {
    font-size: 3rem;
  }

  .plan-description {
    grid-area: plan-description;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 80px;
    color: white;
  }

  .fifth {
    width: 100%;
    height: auto;
    background-color: #062735;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    /* Animación suave al expandir */
  }

  .fifth.show {
    max-height: 2800px;
    /* Establece un valor alto para permitir que la sección se expanda completamente */
    padding-bottom: 5%;
  }

  .timeline {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0099fa;
    gap: 40px;
    padding: 5% 20% 5% 20%;
    border-radius: 0px 0px 0px 0px;
  }

  .timeline-item {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 70%;
    max-width: 800px;
    padding: 20px;
    position: relative;
  }

  .timeline-item:nth-child(odd) {
    align-self: flex-start;
  }

  .timeline-item:nth-child(even) {
    align-self: flex-end;
  }

  .timeline-year {
    position: absolute;
    top: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #004c6d;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    font-size: 18px;
  }

  .timeline-item:nth-child(odd) .timeline-year {
    right: -100px;
  }

  .timeline-item:nth-child(even) .timeline-year {
    left: -100px;
  }

  .timeline-title {
    font-size: 20px;
    font-weight: bold;
    color: #004c6d;
    margin-bottom: 10px;
  }

  .timeline-description {
    font-size: 16px;
    line-height: 1.6;
  }

  .timeline-line {
    width: 4px;
    height: 100%;
    background-color: #5bbfba;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: -1;
  }

  .toggle-button {
    width: 100%;
    height: auto;
    padding: 10px 20px;
    background-color: #0099fa;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.5s;
  }

  .toggle-button:hover {
    color: white;
    background-color: #0099fa;
  }

  .sixth {
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sixth-title {
    grid-area: sixth-title;
    background-color: #126c9c00;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 10% 5%;
    color: #0099fa;
    text-align: start;
  }

  .sixth-title h2 {
    font-size: 1.8rem;
    text-align: start;
  }

  .sixth-description {
    grid-area: sixth-description;
    display: flex;
    justify-content: start;
    align-items: center;
    text-align: start;
    padding: 0 5%;
  }

  .sixth-description p {
    font-size: 0.8rem;
  }

  .sixth-buttons {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 20px;
    padding: 10% 5%;
  }

  .sixth-buttons button {
    width: 100px;
    height: 80px;
    border-style: none;
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    background: #0099fa;
    transition: 0.5s;
    padding: 5%;
    box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.418);
  }

  .seventh {
    width: 100%;
    height: auto;
    background: #ffffff00;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    display: flex;
    flex-direction: column;
    padding: 40px 0 0 0;
    gap: 0;
  }

  .seventh-title {
    width: 20%;
  }

  .goals-2030 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 100px auto;
    grid-template-areas: "title-2030" "meta-incondicional-2030" "transporte-2030" "energia-2030" "residuos-2030" "meta-condicional-2030";
    gap: 0px;
    background: rgb(0, 123, 172);
    background: linear-gradient(0deg,
        #009afaa8 14%,
        rgba(0, 40, 44, 0.548) 100%),
      url(../images/DJI_0530.jpg);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 00px;
    margin-bottom: 0;
  }

  .title-2030 {
    grid-area: title-2030;
    writing-mode: horizontal-tb;
    /* Pone el texto en vertical */
    text-orientation: mixed;
    /* Mantiene las letras derechas */
    transform: rotate(360deg);
    /* Invierte el texto para que quede de cabeza */
    background-color: #004c6d;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px;
    color: white;
    overflow: hidden;
  }

  .title-2030 h2 {
    font-size: 2rem;
    font-weight: 600;
  }

  .goals-title {
    grid-area: goals-title;
    padding: 40px;
    color: #062735;
  }

  .goals-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
  }

  .meta-incondicional-2030 {
    grid-area: meta-incondicional-2030;
  }

  .transporte-2030 {
    grid-area: transporte-2030;
  }

  .energia-2030 {
    grid-area: energia-2030;
  }

  .residuos-2030 {
    grid-area: residuos-2030;
  }

  .meta-condicional-2030 {
    grid-area: meta-condicional-2030;
  }

  .section-2030 {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 10% 10%;
    border-radius: 0px;
    color: white;
  }

  .section-2030 h3 {
    font-size: 1rem;
    font-weight: 600;
  }

  .goals-2050 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 100px auto;
    grid-template-areas: "title-2050" "meta-incondicional-2050" "meta-condicional-2050" "emisiones-gei-2050";
    gap: 0px;
    background: rgb(0, 157, 172);
    background: linear-gradient(0deg, #0099fa 14%, rgba(0, 40, 44, 0.548) 100%),
      url(../images/DJI_0530.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 0px;
  }

  .title-2050 {
    grid-area: title-2050;
    writing-mode: horizontal-tb;
    /* Pone el texto en vertical */
    text-orientation: mixed;
    /* Mantiene las letras derechas */
    transform: rotate(360deg);
    /* Invierte el texto para que quede de cabeza */
    background-color: #004c6d;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px;
    color: white;
  }

  .title-2050 h2 {
    font-size: 2rem;
    font-weight: 700;
  }

  .meta-incondicional-2050 {
    grid-area: meta-incondicional-2050;
  }

  .meta-condicional-2050 {
    grid-area: meta-condicional-2050;
  }

  .emisiones-gei-2050 {
    grid-area: emisiones-gei-2050;
  }

  .section-2050 {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 10% 10%;
    border-radius: 0px;
    color: white;
  }

  .section-2050 h3 {
    font-size: 1rem;
    font-weight: 600;
  }

  .eighth {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .eighth-title {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    text-align: start;
    padding: 10% 5%;
    background-color: #e54c3c;
    gap: 30px;
  }

  .eighth-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
  }

  .eighth-title p {
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
  }

  .eighth-title button {
    width: 100%;
    height: 50px;
    border-style: none;
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 10px;
    font-weight: 700;
    color: white;
    background: #0099fa;
    transition: 0.5s;
  }

  .eighth-aside {
    display: none;
    width: 100%;
    height: 100%;
    background: rgb(0, 157, 172);
    background: linear-gradient(0deg,
        rgba(0, 158, 172, 0.233) 14%,
        rgba(0, 158, 172, 0.281) 100%),
      url(../images/FC6-2048x1365-1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }

  .ninth {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    background-color: #ffffff00;
  }

  .ninth-title {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10% 5%;
    gap: 30px;
    background-color: #ffffff;
    text-align: start;
    color: #01c09a;
  }

  .ninth-title h2 {
    font-size: 2rem;
    font-weight: 700;
  }

  .ninth-title p {
    font-size: 0.8rem;
    font-weight: 500;
  }

  .ninth-video {
    position: relative;
    width: 100%;
    height: 400px;
    /* O ajusta la altura según necesites */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    /* Para que el texto sea visible sobre el video */
  }

  #background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Para que el video cubra todo el contenedor */
    object-position: center;
    z-index: 0;
    /* Asegura que el video esté detrás */
  }

  .video-title {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    /* Asegura que el texto esté delante del video */
    font-size: 2rem;
    /* Ajusta el tamaño según prefieras */
    font-weight: 700;
    color: #ffffff;
    /* Ajusta el color según prefieras */
    background: rgb(2, 118, 212);
    background: linear-gradient(-10deg, #01c09a 20%, rgba(0, 0, 0, 0.356) 20%);
    padding: 1rem;
    text-transform: uppercase;
  }

  .video-title h2 {
    font-weight: 700;
    display: block;
  }

  .slicer {
    width: 100%;
    height: auto;
    align-items: end;
    background-color: #01c09a;
    gap: 0;
    padding-bottom: 5%;
  }

  .slicer-title {
    width: 100%;
    height: auto;
    margin-bottom: 5%;
  }

  .slicer-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
  }

  .custom-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    padding: 0;
    gap: 0;
  }

  .info-block {
    width: 100%;
    border-radius: 0;
    padding: 5%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .info-block p {
    font-size: 0.8rem;
  }

  .slicer-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
  }

  .video-item {
    display: none;
  }

  .video-item.active {
    display: block;
    display: flex;
    justify-content: center;
  }

  .video-player {
    width: 100%;
    border-radius: 0;
    object-fit: cover;
  }

  .video-wrapper {
    position: relative;
    display: inline-block;
  }

  .video-player {
    width: 100%;
    display: block;
    padding: 5% 5%;
  }

  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: none;
    color: #01c09a;
    font-size: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
    opacity: 0;
    /* Oculto por defecto */
    transition: opacity 0.3s ease;
    /* Transición suave para mostrar/ocultar */
  }

  .play-btn:hover {
    opacity: 1;
  }

  .play-btn i {
    color: #01c09a;
  }

  /* Mostrar el botón al hacer hover en el video o al enfocar el botón */
  .video-wrapper:hover .play-btn,
  .play-btn:focus {
    opacity: 1;
  }

  .video-player[playing]+.play-btn {
    display: none;
  }

  .responsive-buttons {
    width: 100%;
    height: auto;
    background-color: #01c09a;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .btn-resp {
    width: 10px;
    height: auto;
    background-color: #01c09a;
    color: #ffffff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    display: block;
  }

  .btn-resp i {
    font-weight: 700;
    font-size: 0.8rem;
  }

  .btn-resp:disabled {
    cursor: not-allowed;
  }

  .btn1 {
    width: auto;
    height: auto;
    background-color: #00312700;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
    z-index: 1111;
    margin-bottom: 50%;
    display: none;
  }

  .btn1 i {
    font-weight: 700;
    font-size: 0.8rem;
  }

  .btn1:disabled {
    cursor: not-allowed;
  }

  .video-caption {
    text-align: center;
    margin-top: 10px;
  }

  .custom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    display: flex;
    align-items: center;
  }

  .progress-bar {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    background: #ffffff;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
  }

  .progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 50px;
    height: 15px;
    background: #03d3a9;
    border-radius: 10%;
    cursor: pointer;
    border: none;
  }

  .progress-bar::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #03d3a9;
    border-radius: 50%;
    cursor: pointer;
  }

  .ronda2-content {
    padding: 10% 5%;
  }

  .ronda2-title h2 {
    font-size: 2rem;
  }

  .ronda2-description p,
  .ronda2-description a {
    font-size: 0.8rem;
  }

  .tenth {
    width: 100%;
    height: auto;
    background-color: #ffffff;
    padding: 10% 5%;
    display: block;
  }

  .tenth-title {
    width: 100%;
    height: auto;
    padding: 0;
    display: flex;
    justify-content: start;
    align-items: center;
  }

  .tenth-title h2 {
    color: #0099fa;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
  }

  .tenth-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: "content1" "content2" "content3";
    gap: 80px;
  }

  .content1 {
    grid-area: content1;
    background-color: #06273500;
  }

  .content2 {
    grid-area: content2;
    background-color: #06273500;
  }

  .content3 {
    grid-area: content3;
    background-color: #06273500;
  }

  .card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "card-title"
      "card-description";
    border: none;
    border-radius: 0;
  }

  .card-description {
    grid-area: card-description;
    display: flex;
    flex-direction: column;
    justify-content: start;
    font-size: 0.8rem;
  }

  .card-title {
    grid-area: card-title;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: start;
    color: #0099fa;
    transition: 0.5s;
  }

  .tenth-title {
    width: 100%;
    height: auto;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .tenth-pilot {
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 10% 5%;
  }

  .tenth-pilot-title {
    width: 100%;
  }

  .tenth-pilot-title h2 {
    font-size: 1.3rem;
  }

  .tenth-pilot-title p {
    font-size: 0.8rem;
  }
 .tenth-pilot-title span{
  font-size: 0.8rem;
 }
  .tenth-pilot-video {
    width: 100%;
    height: auto;
  }
  .tenth-pilot-title h3{
  font-size: 1rem;
  text-align: start;
  color: #0099fa;
}
.tenth-pilot-title ul{
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tenth-pilot-title li{
  list-style: none;
  font-size: 0.8rem;
}
.impacto-card h3 {
  font-size: 1rem;
  text-align: center;
}
.impacto-card p {
  font-size: 1.8rem;
}
  .twelfth-title h2 {
    font-size: 2rem;
  }

  .twelfth-proyects-2023-title h2 {
    font-size: 1.5rem;
  }

  .twelfth-aside {
    width: 100%;
    height: 300px;
    background-size: contain;
  }

  .twelfth-title span {
    font-size: 1rem;
  }

  .twelfth-info {
    padding: 20px;
  }

  .description-twelfth {
    font-size: 0.9rem;
    padding: 20px;
  }

  .twelfth-proyects-2024-title {
    height: 400px;
    padding-left: 5%;
  }

  .twelfth-proyects-2024-title h2 {
    font-size: 1.5rem;
  }

  .carta-twelfth-2024:hover .description-twelfth {
    padding: 40px;
  }

  .carta-twelfth h2 {
    font-size: 1.2rem;
    text-transform: capitalize;
  }

  .carta-twelfth h3 {
    font-size: 0.8rem;
    text-transform: capitalize;
  }

  .carta-twelfth-2024 h2 {
    font-size: 1.2rem;
  }

  .carta-twelfth-2024 h3 {
    font-size: 0.8rem;
  }

  .twelfth-proyects-2024-title {
    width: 100%;
    height: 300px;
    background-position: 0 150px;
  }

  .eleventh {
    width: 100%;
    height: auto;
    background-color: #0099fa;
    padding: 5% 10% 5% 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    overflow: hidden;
  }

  .aliance-img {
    width: 100%;
    height: auto;
    overflow: hidden;
    object-fit: contain;
  }

  .aliance-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  footer {
    width: 100%;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    background-color: #062735;
    position: relative;
    z-index: 33333;
  }

  .footer-container {
    width: 100%;
    background-color: #00aebe00;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-social {
    width: 100%;
    height: 100px;
    position: relative;
    z-index: 1;
  }

  .footer-social p {
    display: none;
  }

  .social {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    margin: 10px;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 870px) {
  .fifth.show {
    max-height: 4900px;
    /* Establece un valor alto para permitir que la sección se expanda completamente */
    padding-bottom: 5%;
  }

  .timeline {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgb(0, 123, 172);
    background: linear-gradient(0deg, #009afaa8 14%, rgba(0, 40, 44, 0.548) 100%),
      url(../images/DJI_0651.jpg);
    background-position: center;
    background-size: cover;
    gap: 40px;
    padding: 5%;
    border-radius: 0px 0px 0px 0px;
  }
}