/* Header Home */

header {
  background-color: rgba(26, 28, 29, 0.4) !important;
}

.logoNobili {
  background-image: url("/content/images/header-footer/logo-nobili-blanco.svg");
}

.hamburger {
  background-image: url("/content/images/header-footer/Hamburger-White.svg");
}

/* Main */

main {
  scroll-behavior: smooth;
}

h1,
h2 {
  font-size: 1.5rem;
  line-height: 22.97px;
  font-weight: normal;
}

.nobili {
  position: sticky;
  top: 0;
}

.content {
  position: relative;
  z-index: 10;
  gap: 1.25rem;
  padding: 0 1rem;
}

/* Hero */

.heroBg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero {
  position: relative;
  z-index: 1;
}

.content p {
  width: 80%;
  font-size: 0.75rem;
  line-height: 18px;
}

.btnInfo {
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("/content/images/home/Info-Button.svg");
}

.masInfo {
  gap: 1rem;
}

.masInfo p {
  font-size: 0.625rem;
}

.scroll {
  display: none;
}

/* Sections */

.section1 {
  background-image: url("/content/images/home/sole_banner.webp");
  background-position: right -250px center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section2 {
  background-image: url("/content/images/home/respiro_banner.webp");
  background-position: right -300px center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section3 {
  background-color: #000000;
  padding: 3rem 0 !important;
}

.imgTecnologiaAbsoluta {
  width: 90vw;
  height: 30vh;
  background-image: url("/content/images/home/widd2020_home.webp");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

@keyframes elasticus {
  0% {
    transform-origin: 0 0;
    transform: scale(1, 0);
  }

  50% {
    transform-origin: 0 0;
    transform: scale(1, 1);
  }

  50.1% {
    transform-origin: 0 100%;
    transform: scale(1, 1);
  }

  100% {
    transform-origin: 0 100%;
    transform: scale(1, 0);
  }
}

@media only screen and (min-width: 480px) {

  h1,
  h2 {
    font-size: 1.65rem;
  }

  .content p {
    font-size: 0.875rem;
  }

  .masInfo p {
    font-size: 0.625rem;
  }

  .section1 {
    background-position: right -230px center;
  }

  .section2 {
    background-position: right -190px center;
  }

  .imgTecnologiaAbsoluta {
    height: 40vh;
  }
}

@media only screen and (min-width: 580px) {

  h1,
  h2 {
    font-size: 1.75rem;
  }

  .section1 {
    background-position: right -160px center;
  }
}

@media only screen and (min-width: 630px) {
  .section2 {
    background-position: right -150px center;
  }
}

/* Tablet */
@media only screen and (min-width: 660px) {
  /* Generales */

  h1,
  h2 {
    font-size: 1.75rem;
    line-height: 26.8px;
  }

  .content {
    padding: 0 3.75rem;
  }

  .content p {
    width: 60%;
    font-size: 0.875rem;
  }

  .masInfo p {
    font-size: 0.625rem;
  }

  .section1 {
    background-position: center;
  }

  .section2 {
    background-position: center;
  }

  .imgTecnologiaAbsoluta {
    width: 82vw;
    height: 45vh;
  }
}

@media only screen and (min-width: 770px) {

  h1,
  h2 {
    font-size: 1.875rem;
  }

  .content p {
    font-size: 1rem;
  }

  .masInfo p {
    font-size: 0.75rem;
  }

  .imgTecnologiaAbsoluta {
    width: 84vw;
  }
}

@media only screen and (min-width: 840px) {
  .imgTecnologiaAbsoluta {
    width: 86vw;
  }
}

@media only screen and (min-width: 900px) {

  h1,
  h2 {
    font-size: 2.125rem;
  }
}

/* Desktop */
@media only screen and (min-width: 1080px) {

  /* Generales */

  .reversed {
    max-width: 600px;
    align-self: flex-end;
  }

  section .reversed p {
    width: 100%;
  }

  h1,
  h2 {
    font-size: 3rem;
    line-height: 45.94px;
  }

  .content {
    gap: 2rem;
    padding: 0 5.625rem;
  }

  .content p {
    width: 45%;
    font-size: 1rem;
  }

  .masInfo p {
    font-size: 0.75rem;
  }

  .scroll {
    width: 1px;
    height: 65px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 2.5rem;
    z-index: 3;
    margin: 0 auto;
  }

  .scroll b {
    width: 100px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
  }

  .scroll span {
    display: block;
    /* position: relative; */
    text-align: center;
  }

  .scroll span::before {
    -webkit-animation: elasticus 1.7s cubic-bezier(1, 0, 0, 1) infinite;
    -moz-animation: elasticus 1.7s cubic-bezier(1, 0, 0, 1) infinite;
    -o-animation: elasticus 1.7s cubic-bezier(1, 0, 0, 1) infinite;
    animation: elasticus 1.7s cubic-bezier(1, 0, 0, 1) infinite;
  }

  .scroll span::before {
    position: absolute;
    top: 0px;
    left: 50%;
    width: 2px;
    height: 40px;
    background: #fff;
    content: "";
  }

  .section1 {
    background-image: url("/content/images/home/sole_banner_reversed.webp");
  }

  .section3 {
    display: flex;
    flex-direction: row;
  }

  .section3 .content {
    align-self: center;
    margin-bottom: 3rem;
  }

  .imgTecnologiaAbsoluta {
    width: 50vw;
    height: 100%;
  }
}

@media only screen and (min-width: 1280px) {

  h1,
  h2 {
    font-size: 2.675rem;
  }

  .reversed {
    max-width: 600px;
  }
}

@media only screen and (min-width: 1440px) {

  h1,
  h2 {
    font-size: 2.875rem;
  }

  .content {
    gap: 3rem;
  }

  .reversed {
    max-width: 700px;
  }
}

@media only screen and (min-width: 1650px) {
  .reversed {
    max-width: 850px;
  }

  .content p {
    font-size: 1.125rem;
  }

  .masInfo p {
    font-size: 0.875rem;
  }
}

@media only screen and (min-width: 1750px) {
  .reversed {
    max-width: 950px;
  }

}