/*mobile devices*/
@media only screen and (max-width: 575px) {
  main .section-one {
    flex-direction: column-reverse;
    text-align: start;
    margin: auto;
  }
  .first-nav .right-side .sub-buttons {
    display: none;
  }
  header .first-nav {
    margin: 0 0.5rem;
  }
  .section-two .section-content,
  .section-one .left-side {
    margin: 0 1rem;
  }
  .section-two .section-cards {
    grid-template-columns: repeat(2, 1fr);
    margin: 4rem 1rem;
  }
  /*section three*/
  .section-three .author-plants .author-img {
    display: none;
  }
  .section-three .author-plants .flower-plants {
    flex-direction: column;
    gap: 1rem;
  }
  .section-three .author-plants .plant-content {
    margin: auto 1rem;
    padding-left: 2rem;
  }
  /*section five*/
  .section-five {
    grid-template-areas:
      "bloom bloom bloom"
      "ana ana ana"
      "zabo zabo zabo";
  }
  main > section {
    max-width: 72rem;
    margin: 1rem 1rem;
  }
  /*section-six*/
  .section-six {
    margin: 1rem 0;
  }
  .section-six .section-input {
    max-width: 90%;
  }
  .section-six .section-input .input-box {
    width: 100%;
    margin: 3rem auto;
  }

  /*section seven*/
  footer .last-footer {
    flex-direction: column;
    width: 100%;
    /* margin: auto 2rem; */
    padding-left: 1rem;
    margin: 1rem auto;
    gap: 2rem;
  }
  footer .last-footer .content p {
    margin-right: 3rem;
  }
  .last-footer .page-link {
    grid-template-columns: repeat(1, 1fr);
  }
  .last-footer .social-links {
    width: 90vw;
  }
}
