/* font-family: 'Fredericka the Great', cursive;
font-family: 'Montserrat', sans-serif; 
font-family: 'Ms Madi', cursive;
*/
@font-face {
  font-family: "Fredericka the Great";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/handwriting-draft_free-version.ttf") format("truetype");
}
@font-face {
  font-family: "Ms Madi";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Autography.otf") format("opentype");
}
:root {
  --color-principal: #6eb42e;
  --color-secundario: #75b739;
  --color-texto: #a2a2a2;
  --color-texto-oscuro: #5c5c5c;
  --color-negro: black;
  --color-texto-sobre-negro: white;
  --color-resaltado: #97a9bd;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}
a {
  color: unset;
  text-decoration: none;
}
.body {
  opacity: 0;
}
.body-opacity {
  opacity: 1;
  transition: all 0.5s;
}
/* main {
  overflow: hidden;
} */
.flex {
  display: flex;
  flex-wrap: wrap;
}
.flex-between {
  justify-content: space-between;
}
.caja-grande {
  max-width: 1100px;
  margin: auto;
  padding: 2em;
}
.oculto {
  position: absolute;
  top: -300px;
  opacity: 0;
}
.centrar-texto {
  text-align: center;
}
.boton {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1em;
  padding: 0.5em;
  border: var(--color-principal) 2px solid;
  color: white;
  background-color: var(--color-principal);
  border-radius: 2em;
  transition: all 0.5s;
}
.boton:hover {
  color: var(--color-principal);
  background-color: white;
}
.subrayado-titulo {
  position: relative;
}
.subrayado-titulo::after {
  content: "";
  position: absolute;
  left: 0px;
  bottom: 0;
  width: 120px;
  height: 4px;
  background-color: var(--color-principal);
}
/* HEADER */
.header {
  position: sticky;
  top: -1px;
  z-index: 200;
}
.header-blanco {
  background-color: white;
}
.caja-header-mobile {
  display: none;
}
.recorte-bottom-footer {
  width: 100%;
  /* transform: rotate(180deg);
  margin-top: -1px; */
  margin-bottom: -50px;
}
/*Top */
.caja-grande-top {
  padding-top: 0;
}
.top-productos {
  position: relative;
}
.barra-top-productos {
  border: none;
  height: 1px;
  background-color: black;
  width: 50%;
  margin: auto;
  margin-left: 25%;
  position: absolute;
  top: calc(50% - 1px);
  z-index: -10;
}
.imagen-top-productos {
  /* background-color: white; */
  display: block;
  margin: auto;
  max-width: 48%;
  margin-bottom: 1em;
  transition: width 0.5s;
}
.imagen-top-productos-scroll {
  padding-top: 4px;
  max-width: 20%;
  margin-bottom: 0;
}
.flex-header {
  max-width: 1260px;
  margin: auto;
  justify-content: space-between;
  align-items: center;
}
.logo-header {
  width: 200px;
}
.caja-mas-grande {
  width: 1200px;
  max-width: 100%;
  padding: 1px 2em;
  margin: auto;
}
.lista-nav {
  margin: 0.5em 0;
  /* margin-top: 1.5em; */
  width: 100%;
  list-style: none;
  padding-left: 0;
  justify-content: space-between;
}
.lista-nav-uno {
  /* margin-bottom: 2em; */
  justify-content: space-between;
  align-items: center;
}
.lista-nav-dos {
  margin-top: 1em;
  border-bottom: 1px solid var(--color-texto);
  border-top: 1px solid var(--color-texto);
}
.flex-nav {
  column-gap: 30px;
}
.elemento-nav {
  /* color: var(--color-texto-sobre-negro); */
  color: var(--color-texto-oscuro);
  font-size: 0.8em;
  display: inline;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.5s;
}
.elemento-nav:hover {
  color: var(--color-principal);
}
.elemento-nav-select {
  color: var(--color-principal);
  position: relative;
}
.elemento-nav-select::after {
  content: "";
  position: absolute;
  left: 0px;
  bottom: 0;
  width: 30px;
  height: 1px;
  background-color: var(--color-principal);
}
.elemento-submenu-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-weight: 400;
  font-size: 0.8em;
  color: var(--color-principal);
  opacity: 0.8;
  transition: all 0.5s;
  width: 125px;
  text-align: center;
  padding: 1em;
}
.elemento-submenu-nav:hover {
  opacity: 1;
}
.elemento-submenu-nav-select {
  opacity: 1;
}
.caja-imagen-nav {
  width: 100%;
}
.imagen-flex-header {
  display: block;
  margin: auto;
  max-width: 40px;
  transition: all 0.5s;
}
.imagen-flex-header-scroll {
  max-width: 30px;
}
.caja-campotexto-nav {
  position: relative;
}
.campotexto-nav {
  border-radius: 16px;
  width: 150px;
  padding: 0.5em;
  padding-right: 2.5em;
  border: none;
  background-color: #c0bab7;
  color: #595350;
}
.campotexto-nav:focus {
  outline: none;
}
.icono-lupa-campotexto {
  color: #595350;
  position: absolute;
  top: 0.2em;
  right: 0.8em;
}

/* FOOTER */
.caja-recorte-footer {
  position: relative;
}
.recorte-top-footer {
  width: 100%;
  margin-bottom: -4px;
}
.logo-top-footer {
  max-width: 10%;
  position: absolute;
  left: 28%;
  top: 0;
}
.fondo-footer {
  background-color: var(--color-principal);
  z-index: 5;
  position: relative;
}
.flex-caja-grande-footer {
  padding-bottom: 0.5em;
}
.caja-footer {
  width: 330px;
  padding: 1em;
  color: white;
}
.caja-footer-der {
  width: calc(100% - 330px);
}
.icono-redes {
  background-color: #3b403a;
  font-size: 1.5em;
  border-radius: 100%;
  overflow: hidden;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
  /* color: var(--color-principal); */
  color: white;
  border: 2px solid #3b403a;
}
.icono-redes:hover {
  background-color: var(--color-principal);
  color: white;
}
.icono-redes-dos {
  margin-left: 0.5em;
}
.icono-redes-header {
  width: 30px;
  height: 30px;
  font-size: 1.2em;
  background-color: var(--color-principal);
  border: 2px solid var(--color-principal);
}
.icono-redes-header:hover {
  background-color: white;
  color: var(--color-principal);
}

.caja-footer-redes {
  padding-top: 2em;
}
.caja-footer-dos {
  padding: 1em;
  width: 50%;
}
.titulo-footer {
  font-size: 1em;
  font-weight: 600;
  padding-bottom: 0.5em;
  border-bottom: 1px solid white;
  text-align: center;
}
.flex-redes-footer {
  padding-top: 0.5em;
}
.flex-cajas-footer {
  justify-content: space-between;
}
.caja-subfooter {
  max-width: 51%;
  min-width: 30%;
}
.texto-footer {
  font-weight: 400;
  margin: 0.2em;
}
.caja-bottom-footer {
  background-color: #3b403a;
  width: fit-content;
  padding: 9px;
  margin: auto;
  font-size: 13px;
}
.texto-bottom-footer {
  font-weight: 300;
  margin: 0;
  color: white;
}
/* Miga de pan*/
.miga-pan {
  max-width: 1200px;
  margin: 2em auto;
  margin-bottom: 1em;
  padding: 0.5em 0;
  color: var(--color-texto);
  z-index: 10;
  position: relative;
  /* border-bottom: 1px solid var(--color-texto);
    border-top: 1px solid var(--color-texto); */
  font-size: 0.6em;
}
.miga-pan-productos {
  border: none;
}
.enlace-miga-pan {
  color: var(--color-secundario);
  font-weight: 600;
}
.barra-miga-pan {
  color: var(--color-texto-oscuro);
  display: inline-block;
  transform: rotate(45deg);
  padding: 0 0.2em;
  font-weight: 600;
}
/* Titulos*/
.titulo-caja-grande {
  font-family: "Fredericka the Great", cursive;
  font-weight: 500;
  color: var(--color-principal);
  font-size: 3em;
  /* text-decoration: underline; */
}
.titulo-producto {
  font-family: "Fredericka the Great", cursive;
  font-weight: 500;
  color: var(--color-principal);
  font-size: 2.5em;
}
/* somos */

.banner-fondo-somos {
  position: relative;
}
.img-fondo-somos {
  width: 100%;
  margin-bottom: -5%;
}
.titulo-somos {
  color: black;
}
.titulo-somos::after {
  background-color: black;
}
.caja-grande-somos {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  height: fit-content;
}
.caja-texto-somos {
  max-width: 50%;
  z-index: 10;
  position: relative;
}
.block-somos {
  display: block;
}
.texto-caja-grande-somos {
  margin: 0.3em 0;
  font-weight: 300;
}
/*Contacto*/
.caja-sombras-contacto {
  margin-bottom: -5%;
}
.caja-contacto {
  position: relative;
  max-width: 1300px;
  margin: auto;
}
.fondo-contacto {
  /* margin-top: 4%; */
  max-width: 100%;
}
.caja-grande-contacto {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 1100px;
  padding: 0 2em;
  height: 45%;
  top: 30px;
  z-index: 10;
}
.caja-grande-contacto-abajo {
  top: 50%;
  width: 80%;
}
.item-grande-contacto {
  width: 60%;
  position: relative;
  margin-bottom: 1.5em;
  /* margin-bottom: 21%; */
}
.titulo-contacto {
  font-size: 3em;
  margin-bottom: 0;
}
.nombre-contacto {
  font-family: "Ms Madi", cursive;
  font-size: 1.5em;
  margin: 0;
}
.telefono-contacto {
  margin-top: 0;
}
.icono-telefono-contacto {
  color: var(--color-principal);
}
.text-input-contacto {
  border: none;
  color: var(--color-principal);
  background-color: #ececec;
  width: 70%;
  padding: 0.8em;
  margin: 0.5em 0;
  border-radius: 10px;
  font-weight: 600;
}
.texto-form {
  margin: 0.5em;
  font-size: 0.8em;
}
.text-input-contacto:focus {
  outline: none;
}
.text-input-contacto::placeholder {
  color: var(--color-principal);
}
.label-checkbox {
  display: flex;
  align-items: center;
}
.checkbox-form {
  display: none;
}
.checkbox-form-simulado {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 1em;
  outline: 2px solid var(--color-principal);
  border-radius: 5px;
  border: 2px solid white;
  background-color: white;
}
.checkbox-form:checked + .label-checkbox .checkbox-form-simulado {
  background: var(--color-principal);
}
.h-captcha {
  margin-top: 0.5em;
  height: 0;
  overflow: hidden;
  transition: all 0.5s;
}
.checkbox-form:checked ~ .h-captcha {
  height: 85px;
}
.boton-contacto {
  padding: 0.3em 1.4em;
  position: absolute;
  right: 30%;
  border-radius: 10px;
}
/* Sombras*/
.caja-sombras {
  position: relative;
  overflow: hidden;
}
.sombra {
  overflow: hidden;
  position: absolute;
  left: -12%;
  width: 25%;
  transform: rotate(100deg);
  top: 10%;
}
.sombra-dos {
  top: 50%;
}
.sombra-der {
  overflow: hidden;
  position: absolute;
  right: -15%;
  width: 30%;
  transform: rotate(-27deg);
  top: 30%;
}
.sombra-der-dos {
  top: 70%;
}
.sombra-der-contacto {
  top: 50%;
}
/* politicas */
.caja-grande-politicas {
  color: var(--color-texto);
}
@media screen and (max-width: 1200px) {
  .caja-subfooter {
    max-width: 100%;
    min-width: 100%;
  }
  .titulo-somos {
    margin-bottom: 0;
    font-size: 3em;
  }
  .titulo-caja-grande {
    font-size: 3em;
  }
  .caja-grande {
    padding: 2em 3em;
  }
}
@media screen and (max-width: 1100px) {
  .icono-redes-header {
    display: none;
  }
  .titulo-somos {
    font-size: 2em;
  }
  .nombre-contacto {
    font-size: 1.3em;
  }
  .texto-caja-grande-somos {
    font-size: 0.8em;
  }
  .caja-grande-contacto {
    padding: 0 3em;
  }
  .imagen-top-productos {
    display: none;
  }
  .caja-imagen-nav {
    display: none;
  }
  .recorte-top {
    display: none;
  }
  .caja-header-mobile {
    display: flex;
    padding-left: 2em;
    padding-right: 1em;
    justify-content: space-between;
    position: relative;
    z-index: 20;
  }
  .imagen-logo-mobile {
    height: 64px;
  }
  .barras-top {
    font-size: 2em;
    padding: 0.5em 0.5em;
  }
  .caja-nav {
    padding-top: 60px;
    height: 100%;
    width: 320px;
    background-color: white;
    position: fixed;
    top: 0;
    left: -320px;
    display: block;
    transition: all 0.5s;
    z-index: 15;
  }
  .caja-nav-mostrar {
    left: 0;
  }
  .lista-nav-uno {
    justify-content: unset;
  }
  .elemento-nav,
  .elemento-submenu-nav {
    width: calc(320px - 4em);
    display: block;
    padding: 1em 0;
  }
  .elemento-nav-select::after {
    content: none;
  }
}
@media screen and (max-width: 900px) {
  .caja-footer-redes {
    width: 100%;
    text-align: center;
  }
  .fondo-contacto {
    max-width: 900px;
  }
  .flex-redes-footer {
    justify-content: center;
  }
  .caja-footer-der {
    width: 100%;
  }
}
@media screen and (max-width: 800px) {
  .block-somos {
    display: unset;
  }

  .item-grande-contacto {
    width: 70%;
  }
  .caja-sombras-contacto {
    margin-bottom: -7%;
  }
}
@media screen and (max-width: 700px) {
  .item-grande-contacto {
    width: 100%;
  }
  .titulo-caja-grande {
    font-size: 2em;
    /* margin-top: 0; */
  }
  .caja-grande-somos {
    position: relative;
  }
  .banner-fondo-somos {
    background: linear-gradient(
      0deg,
      rgba(233, 236, 243, 1) 55%,
      rgba(0, 0, 0, 0) 68%
    );
    padding-bottom: 50px;
    margin-bottom: -50px;
  }
  .caja-texto-somos {
    max-width: 100%;
  }
  .img-fondo-somos {
    width: 700px;
    position: absolute;
    right: 0;
    opacity: 0.5;
  }
}
@media screen and (max-width: 600px) {
  .caja-footer-dos {
    width: 100%;
  }
  .caja-subfooter {
    max-width: 51%;
    min-width: 30%;
  }
}
@media screen and (max-width: 500px) {
  .text-input-contacto {
    width: 100%;
  }
  .boton-contacto {
    right: 0;
  }
  .titulo-caja-grande {
    font-size: 1.8em;
  }
  .caja-subfooter {
    max-width: 100%;
    min-width: 100%;
  }
  .texto-somos,
  .telefono-contacto,
  .item-grande-contacto {
    margin: 0;
  }
}
@media screen and (min-width: 1200px) {
  .alineado-subcaja-texto-banner-index {
    margin-left: auto;
    width: fit-content;
  }
  .texto-banner-index {
    width: fit-content;
  }
  .titulo-dos-banner-index {
    width: fit-content;
  }
}
/* Animaciones */
.entrada-der {
  transform: translateX(500px);
  opacity: 0%;
}
.entrada-izq {
  transform: translateX(-500px);
  opacity: 0%;
}
.entrada-top {
  transform: translateY(-500px);
  opacity: 0%;
}
.entradas {
  transform: translateX(0px) translateY(0px);
  opacity: 100%;
  transition-delay: 0.5s;
  transition: all 1s;
}
