.masthead h1 {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 1rem;
  background-color: transparent;
  padding-right: 20rem;
  padding-left: 0;
}

.banner {
  margin-top: 20vh;
  padding: 0.5rem 0;
}

.item-showcase-b p {
  color: var(--primary-green);
  font-weight: 600;
  border-top: 2px solid var(--primary-green);
  border-bottom: 2px solid var(--primary-green);
  padding: 1.5rem 0;
  margin-top: 1.5rem;
  font-size: 1.4rem;
}

/* Slider swiper */
.slider-swiper {
  margin-top: 4rem;
}

.swiper-slide iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-proyecto h2 {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.5rem 0 0.5rem 1rem;
  font-weight: 700;
  font-size: 1.8rem;
  text-align: start;
  margin-top: 6rem;
}

.showcase {
  grid-template-rows: repeat(2, 1fr);
}

.showcase h3 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  font-weight: 600;
  border-bottom: 2px solid;
  padding: 0 0 0.5rem 0;
}

span.resaltado {
  font-weight: 600;
}

.showcase li {
  font-size: 1.2rem;
  list-style: none;
}

.showcase li:not(:last-child) {
  margin-bottom: 1rem;
}

.showcase ul {
  align-content: center;
  padding-left: 0;
  margin-bottom: 0;
}

.showcase svg {
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 1rem;
}

.title-carrusel-sec {
  padding-bottom: 2rem;
  margin-top: 4rem;
  color: var(--primary-blue);
  padding: 0.5rem 0;
  font-weight: 700;
  font-size: 1.8rem;
  text-align: start;
}

.art-carrusel.materias {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
  align-items: start;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border: 2px solid var(--primary-green);
  border-radius: 5px;
  padding: 1rem;

}

.materias .list-carrusel {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;

}

.list-carrusel h4 {
  color: var(--primary-green);
  font-size: 1.5rem;
  font-weight: 600;
}

.materias li {
  font-size: 1.2rem;
  list-style: none;
}


.materias li:not(:last-child) {
  margin-bottom: 1rem;
}

.toggle-materias,
.toggle-materias-ex {
  margin: 1rem 0;
}

.materias svg.icon-toggle,
.materias svg.icon-toggle-ex {
  height: 2rem;
  width: 2rem;
}

.materias svg {
  width: 0.5rem;
  height: 0.5rem;
}

.title-slider {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.5rem 0 0.5rem 1rem;
  font-weight: 700;
  font-size: 1.6rem;
  text-align: start;
  margin-top: 6rem;
  margin-bottom: 3rem;
}

.art-download {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  border: 2px solid var(--primary-green);
  border-radius: 5px;
}

.download-box-a {
  grid-area: 1 / 1 / 2 / 2;
}

.download-box-b {
  grid-area: 1 / 2 / 2 / 3;
}

.download-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 0;
  grid-row-gap: 0;
}

.download-item-b {
  margin-top: 1rem;
}

.download-item-a svg {
  height: 2rem;
  width: 2rem;
  margin-bottom: 1rem;
}

.download-item-b svg {
  height: 2rem;
  width: 2rem;
}

a.download-link {
  text-align: start;
  gap: 0.5rem;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--primary-green);
}

a.download-link svg {
  fill: var(--primary-green);
}

a.download-link:hover {
  font-weight: 600;
}

.text-form a {
  margin-top: 1rem;
}

.text-form .aclaracion {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.text-form-link {
  margin-top: 4rem;
}

.text-form-link h6,
.text-form-link.youtube {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 2rem;
}


.text-form-link.youtube svg {
  fill: var(--primary-blue);
  width: 1.8rem;
}

.text-form-link.youtube a:hover {
  font-weight: 600;
  color: var(--primary-green);
}

.text-form-link.youtube a:hover svg {
  fill: var(--primary-green);
}


/* Iconos toggle */
svg.icon-toggle,
svg.icon-toggle-ex {
  width: 2rem;
  height: 2rem;
  fill: var(--primary-green);
}

.toggle-materias,
.toggle-materias-ex {
  cursor: pointer;
  display: flex;
}

.toggle-materias-item,
.toggle-materias-item-ex {
  list-style-type: none;
  padding-left: 0;
}

.materias-collapse {
  transition: max-height 0.4s ease;
}

.materias-collapse.show {
  display: block;
}

.d-none {
  display: none;
}

.rotate {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

/* Media queries */
@media (max-width: 800px) and (min-height: 400px) {
  section.masthead {
    height: 90vh;
  }

  section.masthead h1 {
    font-size: 2rem;
    margin-top: 0;
    padding-right: 0;
    margin-left: 0;
  }

  .banner {
    margin-top: 10vh;
    padding: 0.5rem 0 0.5rem 2rem;
    display: block;
  }

  .box-showcase {
    margin-top: 2rem;
  }

  .text-form .item-showcase {
    display: none;
  }


  .item-showcase-b p {
    font-size: 1.3rem;
    padding: 1rem 0;
    margin-top: 3rem;
  }


  .carousel-control-next-icon,
  .carousel-control-prev-icon {
    height: 3rem;
    width: 3rem;
  }

  #carouselExampleIndicators .carousel-item img {
    height: 50vh;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
  }

  .box-list-carrusel.img,
  .carousel-img {
    height: 60vh;
  }

  .showcase h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }


  .showcase svg {
    height: 1rem;
    width: 1rem;
    margin-right: 0.5rem;
  }


  .art-carrusel.materias {
    grid-row-gap: 1rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

  }

  .list-carrusel h4 {
    font-size: 1.2rem;
    font-weight: 600;
  }

  .title-carrusel-sec {
    font-size: 1.5rem;
    margin-top: 3rem;
  }

  .materias li,
  .showcase li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }



  .materias svg.icon-toggle,
  .materias svg.icon-toggle-ex {
    height: 1.5rem;
    width: 1.5rem;
  }

  .materias svg {
    width: 0.5rem;
    height: 0.5rem;
  }

  .title-slider {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  .art-download {
    display: flex;
    flex-direction: column;
    margin: 1rem 0;
    grid-row-gap: 1rem;
    padding: 1rem;
  }

  .download-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 15vh;
    grid-column-gap: 0.6rem;
    grid-row-gap: 0px;
    align-items: center;
  }

  .download-item-a {
    grid-area: 1 / 1 / 2 / 2;
  }

  .download-item-b {
    grid-area: 1 / 2 / 2 / 3;
    justify-self: center;
  }

  .art-download h5 {
    margin-top: 0;
    font-size: 1rem;
  }

  .art-download-a svg {
    display: none;
  }

  .download-item-a svg {
    display: none;
    margin-bottom: 0.5rem;
  }

  a.download-link {
    font-size: 1.1rem;
  }


  .text-form a {
    margin-top: 1rem;
  }

  .text-form .aclaracion {
    margin-left: 1rem;
  }

  .text-form-link h6 {
    font-size: 1.2rem;
  }

  .text-form-link h6,
  .text-form-link.youtube {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .text-form-link.youtube {
    margin-top: 2rem;
  }

  .text-form-link.youtube svg {
    height: 1.5rem;
    width: 1.5rem;
  }

  .custom-btn {
    padding: 10px 10px;
  }

}

@media (min-width: 801px) and (max-width: 1100px) {
  #carouselExampleIndicators .carousel-item img {
    object-fit: cover;
  }

  .pilares .box-list-carrusel,
  .objetivos .box-list-carrusel {
    margin-bottom: 0;
  }

  .art-carrusel {
    align-items: center;
    grid-column-gap: 2rem;
  }

  .art-carrusel li {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* Móviles chicos */
@media (max-width: 480px) {

  .box-banner {
    padding: 40vh 6dvw 0 6dvw;
  }
}


@media (min-width: 801px) and (orientation: portrait) {

  section.masthead {
    height: 50vh;
    margin-top: 0;
  }

  .banner {
    margin-top: 5vh;
  }

  .swiper-slide img {
    height: 100%;
  }

  .social-contact {
    position: absolute;
    bottom: 6vh;
  }
}

@media (min-width: 1800px) and (min-height: 1081px) {
  .banner {
    margin-top: 5vh;
  }
}