/* <weight>: Use a value from 100 to 900
 <uniquifier>: Use a unique and descriptive class name*/

.montserrat-Montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: Bhelt;
  src: url(/font/bhelt-vol-01.otf);
}

:root {
  --Celeste: #42bcd1;
  --AzulOscuro: #0089a0;
  --VioletaOscuro: #590066;
  --AmarilloPrincipal: #ffd900;
  --VerdeMelon: #cfea39;
  --Naranja: #fd7c21;
  --Rojo: #fb5a5a;
  --RosaMagenta: #fe5fb4;
}

* {
  margin: 0;
  padding: 0;
  font-family: Montserrat;
  scroll-behavior: smooth;
}
#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
@keyframes fadeOut {
  0% {
    opacity: 1;
    scale: 1;
  }
  100% {
    opacity: 0;
    scale: 0.5;
  }
}

@keyframes myAnim {
  0% {
    opacity: 0;
    transform: translateX(-250px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes myAnimRight {
  0% {
    opacity: 0;
    transform: translateX(250px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes animNosotros {
  0% {
    opacity: 0;
    transform: translateY(250px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes animServicios {
  0% {
    opacity: 0;
    transform: translateY(350px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes animMarca {
  0% {
    opacity: 0;
    transform: translateY(-250px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes animProducto {
  0% {
    opacity: 0;
    transform: translateX(-250px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home {
    view-timeline-name: --homeScroll;
  }
  .logoPrincipal {
    position: sticky;
    top: 40%;
    animation: fadeOut linear;
    animation-timeline: --homeScroll;
    animation-range: exit 0% exit 100%;
    animation-fill-mode: both;
  }
  #imagenNosotros {
    animation: animNosotros linear;
    animation-timeline: view();
    animation-range-start: 100px;
    animation-range-end: 600px;
    animation-fill-mode: both;
  }
  #imgServicios {
    animation: animServicios linear;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 600px;
    animation-fill-mode: both;
  }

  #tituloSeccionNosotros {
    animation: myAnimRight linear;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 400px;
    animation-fill-mode: both;
  }
  .textoFormulario {
    animation: myAnim linear;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 400px;
    animation-fill-mode: both;
  }

  .Marca {
    animation: animMarca linear;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 400px;
    animation-fill-mode: both;
  }

  #imagenProductosFondo {
    animation: myAnim linear;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 300px;
    animation-fill-mode: both;
  }
  #imagenProductosMedio {
    animation: myAnim linear;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 400px;
    animation-fill-mode: both;
  }
  #imagenProductosFrente {
    animation: myAnim linear;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 500px;
    animation-fill-mode: both;
  }

  .textoSeccion {
    animation: myAnimRight linear;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 400px;
    animation-fill-mode: both;
  }
  .inputsFormulario {
    animation: myAnimRight linear;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 400px;
    animation-fill-mode: both;
  }
  #divTextoProductos {
    animation: myAnimRight linear;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 400px;
    animation-fill-mode: both;
  }

  .tituloSeccion {
    animation: animMarca linear;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 400px;
    animation-fill-mode: both;
  }
}

.navBar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: white;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1;
  gap: 1rem;
  padding-top: 2rem;
  padding-right: 2rem;
}

.navBar h2 {
  font-weight: 900;
}

.ulNav {
  color: #000;
  background-color: white;
  border-radius: 18px;
  padding: 1em;
  font-size: 1.5em;
  list-style: none;
  box-shadow: 0px 6px 11px 1px rgba(0, 0, 0, 0.75);
  display: none;
  row-gap: 1em;
}
.ulNav li:hover {
  color: #858585;
}

.ulNav p {
  font-family: "Bhelt";
}
.divMenuNav {
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background-color: white;
  box-shadow: 0px 6px 11px 1px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 0px 6px 11px 1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 6px 11px 1px rgba(0, 0, 0, 0.75);
}
.divMenuNav:hover {
  background-color: rgb(194, 194, 194);
}
.home {
  background-color: var(--AmarilloPrincipal);

  height: 100vh;
}
.logoPrincipal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logoPrincipal img {
  width: 40%;
  height: auto;
}

.encabezado {
  isolation: isolate;
  color: var(--RosaMagenta);
  display: flex;
  justify-content: center;
  font-size: 2em;
  text-align: center;
  padding-block: 7%;
  background-color: var(--AmarilloPrincipal);
}

.encabezado h1 {
  font-family: "Bhelt";
  font-weight: 100;
}
.tituloSeccion {
  display: flex;
  color: white;
  align-items: center;
  padding-block: 4%;
  font-size: 2em;
  justify-content: flex-start;
}
.tituloSeccion h2 {
  font-family: "Bhelt";
  font-weight: 100;
}

.Seccion {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130vh;
}

.contenidoSeccion {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1%;
  align-items: center;
}
.contenedorImagenSeccion {
  margin-block: 1rem;
}

.contenedorImagenSeccion img {
  width: 100%;
  max-height: 40rem;
}

#Nosotros {
  background-color: var(--RosaMagenta);
}
#Servicios {
  background-color: var(--Celeste);
}
#Marcas {
  background-color: var(--VerdeMelon);
}
#Productos {
  background-color: var(--Rojo);
  align-items: center;
  flex-direction: row;
}
#Formulario {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2em;
  margin-bottom: 3rem;
}
#divTextoMarcas {
  text-align: center;
}

#contenedorMarcas {
  margin: 0;
  min-height: 30vh;
  max-width: 50vw;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-inline: 5%;
  gap: 1%;
}

.contenedorImagenProductos {
  position: relative;
  width: 100%;
  min-height: 332px;
  height: 674px;
  overflow: clip;
  aspect-ratio: 4/3;
}

.imagenProductos {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.imagenProductos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.imagenProductos:nth-child(1) {
  z-index: 1;
}
.imagenProductos:nth-child(2) {
  z-index: 2;
}
.imagenProductos:nth-child(3) {
  z-index: 3;
}

.Marca {
  padding: 12px;
}
.Marca img {
  width: 100%;
  height: auto;
}

#contenedorProductosWrapper {
  display: flex;
  margin: 0;

  min-width: 50vw;
}
#contenedorProductos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-inline: 10%;
}

.textoFormulario {
  max-width: 30vw;
}

.textoFormulario h2 {
  font-weight: 900;
}

.inputsFormulario {
  background-color: var(--AzulOscuro);
  padding-left: 3rem;
  padding-right: 6rem;
  padding-block: 3rem;
  min-width: 20rem;
  border-radius: 16px;
}

.campoTexto h3 {
  color: white;
  font-size: 16px;
}
.formContacto {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.formContacto input {
  width: 100%;
}

.seccionFormContaco {
  display: flex;
  flex-direction: column;
}

.campoTexto {
  display: flex;
  position: relative;
  max-width: 100%;
  flex-wrap: wrap;
  margin-block: 1%;
}

.input {
  font-size: 14px;
  padding: 5px;
  width: 100%;
  outline: none;
  background: #1d5d68;
  color: #ffffff;
  border: 0px solid #c4d1eb;
  border-radius: 10px;
  transition: 0.3s ease;
}

.input:focus {
  background: #f2f2f2;
  border: 1px solid #1d5d68;
  color: #000;
  border-radius: 10px;
}

.input::placeholder {
  color: #dddddd;
}

.btnContacto {
  font-weight: 900;
  color: #000000 !important;
  font-size: 14px;
  padding: 10px 25px;
  border-radius: 18px;
  border: 0px solid #3866a3;
  background: #ffd900;
}
.btnContacto:hover {
  color: #14396a !important;
  background: #e3c100;
}
.textoSeccion {
  display: flex;
  max-width: 30rem;
  padding: 2% 5%;
  border-radius: 32px;
  flex-direction: column;
  justify-content: center;
}

.textoSeccion p {
  font-weight: 600;
  color: white;
  line-height: 20px;
  text-align: justify;
  hyphens: auto;
}

.contenedorTextoProductos {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 10%;
}
.footer {
  margin-top: auto;
  background-color: var(--AmarilloPrincipal);
  display: grid;
  justify-content: center;
  height: 40vh;
  width: 100%;
  align-items: center;
  justify-items: center;
}

.footer img {
  padding-inline: 5%;
  width: 40%;
  height: auto;
}
#logoFooter {
  display: flex;
  justify-content: flex-start;
  width: 100vw;
}

#logoFooter img {
  width: 10%;
  height: auto;
}

.bajadaFooter {
  padding-inline: 5%;
  text-align: center;
  font-weight: 400;
}

.homeWIP{
  background-color: var(--AmarilloPrincipal);
  height: 100vh;
  display: grid;
}

.logoWIP {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.logoWIP h1{
  font-family: "Bhelt";
  font-size: 3em;
}

/*fallback para safari*/
.anim-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: all 1s ease-out;
}

.logoPrincipal:not(.anim-visible),
#imagenNosotros:not(.anim-visible),
#imgServicios:not(.anim-visible),
#tituloSeccionNosotros:not(.anim-visible),
.textoFormulario:not(.anim-visible),
.inputsFormulario:not(.anim-visible),
.Marca:not(.anim-visible),
#imagenProductosFondo:not(.anim-visible),
#imagenProductosMedio:not(.anim-visible),
#imagenProductosFrente:not(.anim-visible),
.textoSeccion:not(.anim-visible),
#divTextoProductos:not(.anim-visible),
.tituloSeccion:not(.anim-visible) {
  opacity: 0;
  transform: translateY(100px);
}

@media (max-width: 900px) {
  .contenidoSeccion {
    flex-direction: column-reverse;
    padding-inline: 10%;
  }
  #Formulario {
    flex-direction: column;
    align-items: center;
  }
  .textoFormulario {
    max-width: 80vw;
    text-align: center;
  }
  #Productos {
    flex-direction: column;
  }
  #contenedorMarcas {
    max-width: 95vw;
  }
  .logoPrincipal img {
    width: 80%;
  }
  .contenedorImagenProductos {
    height: 310px;
  }
  .contenedorTextoProductos {
    margin-right: 0;
  }
}
