/* CAROUSEL DE IMAGENES */
/* ************************************************************ */
.carrusel-img {
  background-image: url("../assets/ELEMENTS_HOME/MESA_TRABAJO.png");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh;
  padding-top: calc(1.8 *var(--margen-top));
  display: flex;
  align-items: center;
  justify-content: center;
}

.container-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carruseles {
  width: 700%;
  height: 100%;
  display: flex;
  align-items: flex-end;

}

.carrusel-hidden {
  overflow: hidden;


}

.container-hero__description>p {
  font-size: clamp(1.25rem, 2.50vw, 2rem);
  font-weight: bold;
  font-family: var(--font);
}

.container-hero__description>h1 {
  color: white;
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 900;
  font-family: var(--font);

}

.activo {
  background-color: black;
}

.container-hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: calc(100% / 7);
  height: 100%;
  /* border: 4px solid rebeccapurple;  */
}

.container-hero__description {
  display: flex;
  flex-direction: column;
  align-content: space-between;
  /* border: 4px solid khaki; */

}

.container-hero__description>h2 {
  font-size: clamp(3rem, 5vw, 8rem);
  background-color: white;
  display: inline-block;
  font-family: var(--font);
  font-weight: bold;
}

.container-hero__description>p {
  color: white;
  font-size: clamp(1.3rem, 2vw, 2.5rem);
  font-family: var(--font);
  font-weight: 900;
}

.container-hero__img {
  width: 40vw;
  height: auto;
  max-width: 650px;
  min-width: 320px;
  /* border: 4px solid orange; */
}

/* ESLOGAN */
.eslogan {
  background-image: url("../assets/ELEMENTS_HOME/ELEMENTS_HOME-14.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.eslogan-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  gap: 2rem;
}

.eslogan__img {
  position: relative;
  height: auto;
  padding: 2rem;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eslogan__img>img {
  width: clamp(20rem, 28vw, 40rem);
  height: auto;
}

.eslogan__description {
  width: 40%;
  text-align: left;
  color: white;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900;
  font-family: var(--font);
}

/* DESCRIPCION DE LA EMPRESA */

.description {
  background-image: url("../assets/ELEMENTS_HOME/ELEMENTS_HOME-17.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.description__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100vh;
  width: 100%;
}

.description__img {
  width: clamp(4rem, 6vw, 20rem);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.description__text {
  color: white;
  text-align: center;
  font-weight: 800;
  padding-top: 2rem;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  font-family: var(--font);
}

.description__text>span {
  background-color: var(--first-color);
}

/* PRODUCTOS */

.products {
  background-image: url("../assets/ELEMENTS_HOME/ELEMENTS_HOME-18.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.products__container {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--margen-top);
}

.products__img {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  place-items: center;
  gap: 1rem;
}

.products__img>div {
  width: 10rem;
}

.products__title {
  color: var(--first-color);
  font-family: var(--font);
  font-weight: 900;
  font-size: var(--font-titles-section);

}

.products__description {
  width: 100%;
  font-size: var(--font-subtitles-section);
  color: white;
  text-align: center;
  font-family: var(--font);
}

/* MENU RESPONSIVO */
/* ######################################## */
.checkbtn {
  color: #fff;
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

.enlace {
  position: absolute;
  padding: 20px 50px;
  display: none;
}

#check {
  display: none;
}

@media only screen and (min-width: 668px) and (max-width: 1248px) {
  .carrusel-img {
    padding-top: calc(1.5 * var(--margen-top));
    height: 100vh;
  }

  .carrusel-eslogan {
    text-align: center;
  }

  .vegetable-name {
    text-align: center;
  }

  .description__text{
    text-align: center;
  }

  /* Seccion de productos */
  .products__container {
    width: 100%;
    height: 100vh;
  }

  .products__img {
    grid-template-columns: repeat(3, 1fr);
  }

  /*CARRUSEL DE IMAGENES  */
  .container-hero {
    flex-direction: column;
  }

  /* ESLOGAN */
  .eslogan-container {
    flex-direction: row;
  }

  .products__img {
    width: 100%;
  }

  .eslogan__img {
    width: 100%;
  }

  .eslogan__description {
    text-align: center;
    width: 100%;
  }

  .container-hero__img {
    right: 0;
  }


}

@media only screen and (max-width: 668px) {

  /* Eslogan */
  .description__text {
    padding: 0 1rem;
  }

  .eslogan__img {
    width: 100%;
  }

  .description__text{
    text-align: center;
  }

  /* Seccion de productos */
  .products__container {
    width: 100%;
    height: 100vh;
  }

  .products__img {
    grid-template-columns: repeat(2, 2fr);
    place-items: center;
  }

  .products__description {
    padding: 1rem;
  }

  /*CARRUSEL DE IMAGENES  */
  .container-hero {
    flex-direction: column;
  }

  .container-hero__description>h2 {
    text-align: center;
  }

  .container-hero__description>p {
    text-align: center;
  }

  /* ESLOGAN */
  .eslogan-container {
    flex-direction: column;
  }

  .eslogan__description {
    text-align: center;
    width: 100%;
  }

  .container-hero__img {
    right: 0;
  }

}