/* TODO revisar donde aplicar este scroll mandatory si podemos limitarlo a pocas rutas, en producto detalle no se si deberia estar. */
html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.sliderhome {
  margin-top: 70px;
}

li {
  scroll-snap-align: center;
  padding-left: 0.2em;
}

.moto-del-mes-section-mobile {
  display: none;
}

.moto-del-mes-wrapper {
  width: 100%;
}

.block {
  padding-top: 50px;
  height: 100vh;
  display: flex;
  width: 1320px;
  margin: auto;
}

.block .title-container {
  position: absolute;
  top: 10%;
}

.block img,
.block h3,
.block h4,
.block h5,
.block p {
  opacity: 0;
}

.moto-del-mes-section {
  display: flex;
  background-color: #9a0000;
}

/* ELEMENTOS */

.block h3 {
  font-family: "Estricta Black", sans-serif;
  font-size: 3.5rem;
  color: white;
  text-transform: uppercase;
  white-space: normal;
  display: block;
  word-wrap: anywhere;
  display: block;
  line-height: 4rem;
  margin: 0;
}

.block h5 {
  font-family: "Estricta Light", sans-serif;
  font-size: 22px;
  color: white;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 10px;
}

.block p {
  font-family: "Estricta Light", sans-serif;
  font-size: 1.2rem;
  color: white;
  text-transform: uppercase;
}

.block h4 {
  font-family: "Estricta Bold", sans-serif;
  text-transform: uppercase;
  color: white;
  font-size: 1.2rem;
  padding: 0;
  margin: 0;
}

.block .yamaha-del-mes h5 {
  padding: 40px 0px;
  font-family: "Estricta Regular Italic", sans-serif;
  text-transform: uppercase;
  color: white;
  font-size: 1.4rem;
}

.img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.img-container img {
  width: 750px;
  max-width: 750px;
}

@media screen and (max-width: 1441px) {
  .img-container img {
    width: 650px;
    max-width: 650px;
  }
}

.yamaha-del-mes {
  margin-top: 4rem !important;
}

@media screen and (max-width: 768px) {
  html {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
  }

  .moto-del-mes-section-mobile {
    display: block;
  }

  .moto-del-mes-section {
    display: none;
  }

  .moto-del-mes-section-mobile {
    display: flex;
    justify-content: center;
    background-color: #9a0000;
  }

  .img-container-mobile {
    width: 80%;
    height: auto;
  }

  .img-container-mobile img {
    width: 100%;
    max-width: 100%;
  }

  .title-container-mobile {
    position: relative;
    top: 8%;
  }

  .block {
    padding-top: 50px;
    min-height: 100vh;
    display: flex;
    width: 100%;
    margin: auto;
  }

  .block-mobile {
    display: flex;
    flex-direction: column;
    padding-top: 60px;
    height: 100vh;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .block-mobile-content {
    padding: 40px 0px;
    font-family: "Estricta Regular Italic", sans-serif;
    text-transform: uppercase;
    color: white;
    font-size: 1.4rem;
  }

  .block-mobile h3 {
    font-family: "Estricta Black", sans-serif;
    font-size: 2.5rem;
    color: white;
    text-transform: uppercase;
    white-space: normal;
    display: block;
    word-wrap: anywhere;
    display: block;
    line-height: 2rem;
  }

  .block-mobile h5 {
    display: block;
    color: white;
    margin: 30px 0px 20px 0px;
  }

  .block-mobile p {
    font-family: "Estricta Light", sans-serif;
    font-size: 1rem;
    color: white;
    text-transform: uppercase;
  }

  .block-mobile h4 {
    font-family: "Estricta Bold", sans-serif;
    text-transform: uppercase;
    color: white;
    font-size: 1rem;
    padding: 0;
    margin: 0;
  }

  li {
    scroll-snap-align: center;
  }
}
