.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;
}


.item-showcase.box-swiper1 {
  grid-area: auto;
  width: 40dvw;
}

.item-showcase.box2-swiper1 {
  width: 40dvw;
}

.item-showcase .swiper1 {
  grid-area: auto;
  height: 100%;
  aspect-ratio: 1/1;
}

.swiper-slide img,
.swiper-slide video {
  height: 60vh;
  background-size: cover;
  object-fit: cover;
  border-radius: 5px;
  aspect-ratio: 1/1;
}

.mySwiper2 .swiper-slide img {
  height: 50vh;
}

.carousel-control-next-icon {
  background-image: url(../assets/img/chevron_right_48dp_FFFFFF_FILL0_wght300_GRAD0_opsz48.svg);
}

.carousel-control-prev-icon {
  background-image: url(../assets/img/chevron_left_48dp_FFFFFF_FILL0_wght300_GRAD0_opsz48.svg);
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  height: 4rem;
  width: 4rem;
}

/* Slider swiper */
.slider-swiper {
  margin-top: 4rem;
}

/* Sección proyecto */
h2.title-section {
  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;
  margin-top: 2rem;
  margin-bottom: 2rem;
  align-items: start;
  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 svg.icon-toggle,
.materias svg.icon-toggle-ex {
  height: 2rem;
  width: 2rem;
}


.materias svg {
  width: 0.5rem;
  height: 0.5rem;
}

.materias li:first-child {
  margin-top: 1rem;
}

.materias li:not(:last-child) {
  margin-bottom: 1rem;
}

.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 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 2rem;
}

/* Modal imagen grande */
.modal-overlay1 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-overlay1.active {
  display: flex;
}

.modal-image1 {
  max-width: 100dvw;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

body.modal-open {
  overflow: hidden !important;
}

/* 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;
  align-items: center;
}

.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;
}

.box-video h2.title-section {
  margin-bottom: 2rem;
}

/* Media queries */
@media (max-width: 800px) and (min-height: 400px) {
  section.masthead {
    height: 90svh;
  }

  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.box-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;

  }

  .item-showcase.box-swiper1 {
    width: 100%;
    height: 100%;
  }



  .item-showcase-b p {
    font-size: 1.3rem;
    padding: 1rem 0;
    margin-top: 3rem;
  }

  .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;

  }

  .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;
  }

  .showcase li:not(:last-child) {
    margin-bottom: 1rem;
  }


  .materias svg.icon-toggle,
  .materias svg.icon-toggle-ex {
    height: 1.5rem;
    width: 1.5rem;
  }

  .materias svg {
    width: 0.5rem;
    height: 0.5rem;
  }

  .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;
  }

  .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: 776px) and (max-width: 1100px) {

  .img-art-carrusel,
  .carousel-img {
    height: 100%;
  }
}

@media (min-width: 801px) and (orientation: portrait) {

  section.masthead {
    height: 50vh;
    margin-top: 0;
  }

  .banner {
    margin-top: 5vh;
  }

  .swiper-slide img {
    height: 100%;
  }
}

@media (min-width: 1800px) and (min-height: 1081px) {
  .banner {
    margin-top: 5vh;
  }
}