footer {
  background-color: var(--green-600);
  color: #fff;
  padding-block: 2.25rem;

  & a,
  & span {
    font-weight: 500;
    font-size: 1rem;
  }

  & a:hover,
  & .social_media > a:hover {
    color: var(--green-300);
  }

  & .footer_line {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding-bottom: 4.5rem;
  }

  & .footer_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 16rem;
    text-align: center;
    gap: 4.5rem;

    & .footer_widgets {
      display: flex;
      flex-direction: column;
      gap: 3.25rem;
    }
  }

  & .widget {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    & .widget_title {
      font-weight: bold;
      font-size: 1.5rem;
    }

    & .widget_list {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    & .social_media {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.25rem;

      & i {
        font-size: 1.625rem;
      }
    }
  }

  & .copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    border-top: 1px solid #ffffff0d;
    padding-top: 2.25rem;
  }
}

@media (min-width: 992px) {
  footer {
    padding-block: 3.5rem;

    & > div > div:nth-child(1) {
      border-bottom: 1px solid #ffffff0d;
      padding-bottom: 1.75rem;
    }

    & > div > div:nth-child(2) {
      padding-block: 2.75rem;
    }

    & .widget {
      & .widget_list_products {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.125rem;
      }

      & .social_media {
        justify-content: start;
      }
    }

    & .copyright {
      flex-direction: row;
      justify-content: space-between;
      padding-top: 1.75rem;
    }
  }
}
