footer {
  border-top: 8px solid var(--main-color);
}

footer > div.container-fluid {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background-color: var(--main-black);
}

footer > div > section {
  color: var(--white);
  padding: 1rem 0;
}

footer > div:not(.container-fluid) > div section:first-of-type {
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
  justify-content: center;
}

footer > div > section:first-of-type > div {
  display: flex;
  flex-direction: column;
}

footer > div.container-fluid > section:last-of-type > div {
  margin: 1rem 0;
}

footer > div.container-fluid > section:last-of-type > div > h5 {
  width: 90%;
  display: flex;
  flex-direction: column;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--font-green-light);
  margin-bottom: 1rem;
}

footer > div > section:first-of-type img {
  width: inherit;
}

footer > section:last-of-type {
  background-color: var(--black);
  color: var(--white);
  font-size: 1rem;
  text-align: center;
  padding: 1rem !important;
}

footer > div > section:last-of-type i {
  font-size: 1rem;
  color: var(--font-green-light);
}

#icono_footer_wrapper {
  display: flex;
  width: fit-content;
  flex-direction: column;
  align-items: center;
}

#iconoFooter {
  max-width: 30%;
}

#whatsappIcon {
    display: block;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
}

@media screen and (min-width: 1024px) {
  footer > div.container-fluid {
    display: grid;
    grid-template-columns: 2fr 4fr;
    grid-auto-flow: row;
  }

  footer > div.container-fluid > section:first-of-type {
    display: flex;
    align-items: center;
  }

  footer > div.container-fluid > section:first-of-type > ._footer_social {
    display: flex;
    align-items: center;
  }

  footer > div.container-fluid > section:last-of-type {
    display: flex;
    gap: 4rem;
    justify-content: flex-end;
    padding: 1rem 3rem;
  }

  footer > div.container-fluid > section:last-of-type > div {
    align-self: flex-end;
  }

  footer > div.container-fluid > section:last-of-type > div > h5 {
    width: 100%;
  }

  footer > div.container-fluid > section:last-of-type > div > ul {
    margin-top: 1rem;
  }

  footer > div.container-fluid > section:first-of-type #icono_footer_wrapper {
    max-width: 60%;
  }

  footer
    > div.container-fluid
    > section:first-of-type
    #icono_footer_wrapper
    > div {
    align-self: flex-end;
  }

  #iconoFooter {
    max-width: 120%;
  }

  
}
@media (max-width: 767.98px) {
  footer > div.container-fluid {    
    padding: 1rem 3rem;
    
  }
  #iconoFooter {
    max-width: 70%;
  }
}