.header {
  position: relative;
}

.nav-menu {
  height: 5rem;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 2;
  overflow: hidden;
}

.main-menu {
  list-style: none;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.main-menu__item {
  padding: 0 2.5rem;

}

.main-menu__link {
  font-family: var(--font);
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  font-weight: 900;
  font-size: clamp(0.8rem, 0.86vw, 1.4rem);
}

.main-menu__item--social-media {
  position: absolute;
  right: 40px;
}

.main-menu__item--social-media>a {
  cursor: pointer;
  padding: 0 0.3rem;
}

.img_logo>a>img,
.enlace>img {
  width: 6rem;
  height: auto;
}

.main-menu__item--social-media>a:hover {
  color: var(--first-color);
}

.main-menu__item>a:hover {
  color: var(--first-color);
}

.logo {
  width: clamp(3rem, 5vw, 7rem);
  height: auto;
}

/* 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 (max-width: 64em) {
  .main-menu {
    justify-content: center;
  }

  .enlace {
    display: block;
  }

  .img_logo {
    display: none;
  }
}

@media only screen and (min-width: 668px) and (max-width: 1248px) {
  .nav-menu {
    height: 4rem;
  }

  .checkbtn {
    display: block;
  }

  .nav-menu {
    background-color: #023333;
  }

  .main-menu {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #023333;
    top: 55px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
    z-index: 1;
    flex-direction: column;
    justify-content: flex-start;
  }

  .main-menu__item {
    display: block;
    margin: 1.5rem 0;
    line-height: 30px;
    padding: 0;
  }

  #check:checked~.main-menu {
    left: 0;
  }

  .enlace {
    display: block;
  }

  .img_logo {
    display: none;
  }

  /* Seccion de productos */
  .products__container {
    width: 100%;
    height: auto;
  }

  /*CARRUSEL DE IMAGENES  */
  .container-hero {
    flex-direction: column;

  }

  .main-menu__item--social-media {
    position: static;
  }

  .main-menu__item--social-media>a {
    font-size: 1.2rem;
    cursor: pointer;
    background-color: white;
    border-radius: 50%;
    text-align: center;
    color: black;
    width: auto;
    padding: 1rem;
  }
}

@media only screen and (max-width: 668px) {

  .nav-menu {
    height: 4rem;
  }

  .checkbtn {
    display: block;
  }

  .nav-menu {
    background-color: #023333;
  }

  .main-menu {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #023333;
    top: 55px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
    z-index: 1;
    flex-direction: column;
  }

  .main-menu__item {
    display: block;
    margin: 1.5rem 0;
    line-height: 30px;
    padding: 0;
  }

  #check:checked~.main-menu {
    left: 0;
  }

  .enlace {
    display: block;
  }

  .img_logo {
    display: none;
  }

  .main-menu__item--social-media {
    position: static;
  }

  /* Seccion de productos */
  .products__container {
    width: 100%;
    height: auto;
  }

  .products__img>div {
    width: 50%;
  }

  /*CARRUSEL DE IMAGENES  */
  .container-hero {
    flex-direction: column;
  }

  .container-hero__description>h2 {
    text-align: center;
  }

  .container-hero__description>p {
    text-align: center;
  }

  .main-menu__item--social-media>a {
    font-size: 1.2rem;
    cursor: pointer;
    background-color: white;
    border-radius: 50%;
    text-align: center;
    color: black;
    width: auto;
  }
}