.footer { display: flex; justify-content: center; max-width: 80%; margin: auto; padding: var(--spacing-xlarge); font-size: var(--font-small); @media (max-width: $breakpoint-small) { max-width: 100%; padding: var(--spacing-medium); flex-direction: column; } } .footer__section { margin-left: var(--spacing-xlarge); @media (max-width: $breakpoint-small) { margin-left: var(--spacing-large); } } .footer__section-title { @extend .help; font-weight: 300; margin-bottom: var(--spacing-medium); } .footer__link { @extend .button--link; @extend .help; }