
/* #############
SECCION DE INICIO "HOME"
############# */
.section_home {
  max-width: 100%;
  width: 100%;
  height: 30rem;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  /* gap: 10rem; */
  background:  
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(../assets/img/mueblesfondo.jpg) center center scroll;
  background-size: cover;
  & article {
    max-width: 30rem;
    width: 100%;
  }
  & .section_info {
    color: var(--color-secondary);
    height: 16rem;
    padding-left: 1rem;
    & h1 {
      font-size: var(--title-home);
      font-weight: normal;
      margin: 0;
      animation: MoveTop 1s ease;
    }
    & h2 {
      font-size: var(--subtitle-home);
      margin: 0;
      animation: MoveTop 2s ease;
    }
  }
  & .section_btn {
    height: 16rem;
    display: flex;
    justify-content: end;
    align-items: end;
    padding-right: 1rem;
    & button {
      cursor: pointer;
      background-color: var(--color-secondary-btn);
      color: var(--color-secondary);
      padding: 1rem 2.2rem;
      font-size: 1.2rem;
      border: 0;
      border-radius: 0.7rem;
      transition: all 0.5s ease;
      animation: MoveTop 2s ease;
      &:hover {
        scale: 1.1;
      }
    }
  }
}

@media screen and (max-width: 500px) {
  .section_home {
    flex-direction: column;
    justify-content: center;
    align-items: start;
    & .section_info, .section_btn {
      height: auto;
    }
    & .section_info {
      padding: 0.5rem 3rem 0.5rem 1rem;
      max-width: 20rem;
      /* word-break: break-all; */
    }
    & .section_btn {
      align-items: start;
      justify-content: start;
      padding: 1rem;
    }
  }

  .section_prods h2 {
    text-align: center;
  }
  .section_blog h2 {
    text-align: center;
  }
}

/* ############################
SECCION DE PRODUCTOS DESTACADOS
############################ */
.section_prods {
  max-width: 65rem;
  width: 100%;
  min-height: 20rem;
  margin: 3rem auto;
  /* background-color: red; */
  & h2 {
    color: var(--color-tertiary);
    font-size: var(--subtitle);
    font-weight: bold;
    margin: 0;
    padding: 1rem 0;
    animation: MoveTop 1s ease;
  }
}
.list_prods {
  display: flex;
  justify-content: space-evenly;
  gap: 1rem 2rem ;
  flex-wrap: wrap;
}

/* ##################
SECCION DE UBICACION 
################## */

.section_location {
  max-width: 65rem;
  width: 100%;
  min-height: 20rem;
  margin: 4rem auto;
  display: flex;
  justify-content: space-between;
  & .location_info {
    max-width: 26rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap:1rem;
    align-items: start;
    padding: 0 1rem;
    & h2 {
      font-size: var(--title);
      color: var(--color-tertiary);
      margin: 0;
      vertical-align: baseline;
      animation: MoveTop 1s ease;
    }
    & p {
      line-height: 1.4rem;
      font-size: var(--text);
      margin: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      height: 14rem;
      width: 100%;
      animation: MoveTop 2s ease;
    }
    & button {
      cursor: pointer;
      background-color: var(--color-primary);
      color: var(--color-secondary);
      border: 0;
      padding: 1rem 3rem;
      font-size: var(--text);
      transition: all 0.5s ease;
      &:hover {
        scale: 1.1;
      }
    }
  }
  & img {
    max-width: 30rem;
    width: 100%;
    min-width: 20rem;
    height: 30rem;
    padding-left: 1rem;
    object-fit: cover;
    filter: brightness(80%);
    animation: Opacity 1s ease;
  }
}
@media screen and (max-width: 800px) {
  .section_location {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    & .location_info {
      align-items: center;
      text-align: center;
    }
    & img {
      max-width: 26rem;
      width: 100%;
      padding: 1rem;
      height: 20rem;
    }
  }
}

/* ##################
* SECCION DE UBICACION 
################## */
.section_blog {
  max-width: 65rem;
  width: 100%;
  min-height: 20rem;
  margin: 3rem auto;
  & h2 {
    color: var(--color-tertiary);
    font-size: var(--subtitle);
    font-weight: bold;
    margin: 0;
    padding: 1rem 0;
    animation: MoveTop 1s ease;
  }
}

.list_blog {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem ;
  flex-wrap: wrap;
  
}



@media screen and (max-width: 1000px) {
  .list_blog {
    justify-content: center;
    margin: 1rem;
  }
}