body > nav {
  box-sizing: border-box;
}

body > nav > img {
  max-width: 100%;
  min-width: 0;
  height: auto;
}

.footer ul.footer-primary,
.footer ul.footer-secondary {
  flex-wrap: wrap;
  padding: 20px;
  text-align: center;
}

.footer ul.footer-primary > li,
.footer ul.footer-secondary > li {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media only screen and (max-width: 600px) {
  body > nav {
    padding: 0 20px;
  }

  .footer ul.footer-primary,
  .footer ul.footer-secondary {
    gap: 16px;
  }
}
