body { margin-top: 25vh; min-height: 75vh; } header.main { align-items: center; flex-direction: column; } header.main svg { width: 100%; } #services { text-align: center; width: 100%; } #services :is(a, span) { margin: .3rem; } #services span a { margin: 0; } @media screen and (max-width: 640px) { #services { display: flex; flex-direction: column; } }