div.top-img {
  position: relative;
  background-image: url(../../images/bac.jpg);
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
@media (width < 1000px) {
  div.top-img {
    background-position: left;
  }
}
section.content {
  position: absolute;
  font-size: 2rem;
  letter-spacing: 2px;
  transform: translateY(-50%);
  top: 50%;
  font-size: 2rem;
  margin-left: 10%;

  & .lifestyle {
    text-transform: uppercase;
    font-size: 2rem;
  }
  & .men {
    text-transform: uppercase;
    margin-top: 0.7rem;
    font-weight: bold;
  }
  & .sale {
    margin-block: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
  }
  & .sale span {
    color: var(--numberColor);
  }
  & .get-free {
    font-size: 1.4rem;
  }
  & button {
    background-color: var(--bodyFont);
    letter-spacing: 0;
    border-radius: 20px;
    padding: 0.6rem 1.6rem;
    margin-top: 0.9rem;
    font-size: 0.9rem;
    color: var(--bodyBG);
  }
}
main .recommended{
    margin: 2.3rem 0 2rem 2% ;
}
@media (width < 600px ) {
    main .recommended {
        margin : 2.3rem 0 2rem 0.5% ;
        font-size: 1.5rem;
    }
}
main section.proudcts.flex {
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 1rem;

  & article.card {
    border-radius: 5px;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
      0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
      transition: 0.2s;
  }
  & article.card:hover {
    scale: 1.01;
  }
  & img {
    width: 260px;
    border-radius: 5px 5px 0 0;   
  }
  & .content {
    width: 260px;
    background-color: #fff;
    border-radius: 0 0 5px 5px;
  }
  & .content .flex {
    justify-content: space-between;
    padding-inline: 0.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.7rem;


  }
  & .content .title {
    padding-top: 0.7rem;
    padding-inline: 0.4rem;
    text-transform: capitalize;
  }
  & .content .descrption {
    margin-top: 0.5rem;
    margin-bottom: 0.7rem;
    font-size: 0.8rem;
    padding-inline: 0.4rem;
    line-height: 1.1rem;
  }
  & .content .price {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--numberColor);
  }
  & .content button {
    font-size: 0.8rem;
    padding: 0.44rem 1rem;
    border-radius: 5px;
    color: var(--bodyBG);
    background-color: var(--buttonColor);
    gap: 0.33rem;
  }
  & .content .fa-solid {
    color: var(--bodyBG);
    }
}
