body { max-width: 1200px; background: black; color: white; margin-inline: auto; padding-inline: clamp(1rem, 5vw, 120px); } .head { align-items: center; display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; padding-top: 2rem; } .head > * { flex: 1 1 200px; flex-basis: calc((600px - 100%) * 999); text-align: center; } .head > h1 { white-space: nowrap; } .head > .logo { max-width: fit-content; } .head > .logo > svg { display: block; fill: white; height: auto; width: 100px; } .head > .links { list-style: none; } .head > .links a { color: white; font-size: 1.5em; }