header {
  background-color: transparent;
  transition: all 0.3s;
}

#logoNobili {
  background-image: url("/content/images/header-footer/logo-nobili-blanco.svg");
}

#openNav {
  background-image: url("/content/images/header-footer/Hamburger-White.svg");
}

main {
  box-sizing: border-box;
}

/* Hero */

.heroVanguardia {
  height: 90vh;
  justify-content: flex-end;
  gap: 0.625rem;
  color: white;
  padding: 1rem 1rem 1.875rem 1rem;
}

.heroVanguardia h1 {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 23px;
  margin-bottom: 0.625rem;
}

.heroVanguardia p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 17.23px;
}

/* Main Section Empresa */

.mainSection {
  width: 100%;
  gap: 3.5rem;
  padding: 3.5rem 1rem;
}

.mainSection>p {
  color: #1A1A1A;
  font-size: 0.875rem;
}

/* Caracteristicas */

.caracteristicasContainer {
  gap: 3.5rem;
}

.caracteristica {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.caracteristica h2 {
  text-align: center;
  font-size: 1rem;
  color: var(--color-black);
  line-height: 18px;
  margin-bottom: 1.25rem;
}

.caracteristica p {
  text-align: center;
  font-size: 0.875rem;
  line-height: 18px;
}

.caracteristica img {
  width: 100%;
  margin-bottom: 3.125rem;
}

.caracteristica video {
  width: 100%;
}

.caracteristica div {
  position: relative;
  margin-bottom: 3.125rem;
}

.reproducirVideo {
  width: 6.563rem;
  height: 6.563rem;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 2;
  background: none;
  border: 1px solid white;
  border-radius: 999px;
  color: white;
  font-size: 0.75rem;
  font-family: 'Gotham Pro', sans-serif;
  transform: translateY(-50%);
  cursor: pointer;
  margin: 0 auto;
}

.modal {
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  z-index: 11;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  max-width: 700px;
  width: 80%;
  position: relative;
  background-color: #000;
  border-radius: 10px;
  text-align: center;
  margin: 15% auto;
  padding: 6px;
}

.close {
  position: absolute;
  top: -1.75rem;
  right: -1.25rem;
  font-size: 24px;
  font-weight: bold;
  color: white;
  transition: all 0.3s;
  cursor: pointer;
}

.close:hover {
  color: red;
}

.modal iframe {
  width: 100%;
  height: 315px;
}

/* Swiper */
.swiper {
  width: 100%;
  height: 225px;
}

.swiper-wrapper {
  cursor: grab;
}

.swiper-slide {
  width: auto;
}

.swiper-slide img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.swiper-slide {
  padding-bottom: 3.5rem;
}

/* Descargar Perfil */

.descargarPerfil {
  gap: 1.5rem;
}

.descargaPerfil {
  position: relative;
  background-color: var(--color-black);
  border: none;
  color: var(--color-white);
  font-size: 0.625rem;
  font-family: 'Gotham Pro', sans-serif;
  line-height: 9.57px;
  cursor: pointer;
  padding: 1rem 2.375rem 1rem 0.75rem;
}

.descargaPerfil::after {
  content: "";
  width: 1rem;
  height: 0.75rem;
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  background-image: url("/content/images/producto/Icon-Flecha.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.descargaPerfil {
  transition: all 0.5s;
}

@media only screen and (min-width: 480px) {
  .swiper {
    height: 100%;
  }

  .swiper-slide img {
    height: 300px;
  }
}

/* Tablet */
@media only screen and (min-width: 660px) {
  .heroVanguardia {
    padding: 3.125rem 3.75rem;
  }

  .heroVanguardia h1 {
    font-size: 1.5rem;
  }

  .heroVanguardia p {
    font-size: 1.25rem;
    line-height: 19px;
  }

  .mainSection {
    padding: 3.5rem 3.75rem;
  }

  .caracteristica img,
  .caracteristica video {
    max-height: 370px;
    width: auto;
  }

  .caracteristica h2 {
    font-size: 1.125rem;
  }

  .swiper-slide img {
    height: 400px;
  }
  
  .modal-content {
    margin: 5% auto;
  }
}

@media only screen and (min-width: 850px) {

  .caracteristica {
    max-width: 644px;
  }
}

/* Desktop */
@media only screen and (min-width: 1080px) {

  /* Hero */
  .heroVanguardia {
    height: 100vh;
    padding: 6rem 5.625rem 3.125rem 5.625rem;
  }

  .heroVanguardia h1 {
    font-size: 1.875rem;
    line-height: 28.71px;
    margin-bottom: 1.25rem;
  }

  .heroVanguardia p {
    font-size: 1.375rem;
    line-height: 21.05px;
  }

  .mainSection {
    gap: 6.25rem;
    padding: 6.25rem 5.625rem;
  }

  .mainSection p {
    max-width: 670px;
    font-size: 1rem;
  }

  /* Caracteristicas */
  .caracteristicasContainer {
    gap: 6.25rem;
  }

  .caracteristica {
    max-width: 670px;
  }

  .caracteristica p {
    font-size: 1rem;
  }

  .reproducirVideo {
    width: 8.75rem;
    height: 8.75rem;
    font-size: 0.875rem;
  }

  .todosModelos {
    font-size: 0.75rem;
    line-height: 11.48px;
  }

  .caracteristicasContainer .caracteristica:nth-child(2),
  .caracteristicasContainer .caracteristica:nth-child(4) {
    flex-direction: row;
    gap: 3.25rem;
  }

  .caracteristicasContainer .caracteristica:nth-child(2) h2,
  .caracteristicasContainer .caracteristica:nth-child(3) h2,
  .caracteristicasContainer .caracteristica:nth-child(4) h2,
  .caracteristicasContainer .caracteristica:nth-child(2) p,
  .caracteristicasContainer .caracteristica:nth-child(3) p,
  .caracteristicasContainer .caracteristica:nth-child(4) p {
    text-align: start;
  }

  .caracteristicasContainer .caracteristica:nth-child(3) {
    flex-direction: row-reverse;
    gap: 3.25rem;
  }
}

@media only screen and (min-width: 1240px) {
  .caracteristica {
    max-width: 760px;
  }
}

@media only screen and (min-width: 1440px) {
  .caracteristica {
    max-width: 884px;
  }
}

@media only screen and (min-width: 1650px) {

  /* Hero */
  .heroVanguardia h1 {
    font-size: 2.125rem;
  }

  .heroVanguardia p {
    font-size: 1.5rem;
  }

  /* Caracteristica */

  .caracteristica {
    max-width: 1014px;
  }

  .caracteristica h2 {
    font-size: 1.25rem;
    line-height: 22px;
    margin-bottom: 1.625rem;
  }

  .todosModelos {
    font-size: 0.875rem;
    line-height: 16px;
  }

  /* Swiper */

  .swiper-slide img {
    height: 500px;
  }
}

@media only screen and (min-width: 1800px) {
  .caracteristica {
    max-width: 1106px;
  }
}

@media only screen and (min-width: 1920px) {
  .caracteristica {
    max-width: 1180px;
  }
}