body { height: 100vh; display: grid; grid-template-columns: 11fr 1fr; grid-template-rows: auto 1fr auto; margin: 0; } header.banner { grid-column: 1 / -1; display: grid; grid-template-columns: 3fr 8fr 1fr; align-items: center; background-color: #dfd; } header.banner .brand { grid-column: 1; padding-left: 2vw; padding-right: 2vw; } header.banner .brand a { display: flex; align-items: center; text-decoration: none; color: inherit; } header.banner .brand img { transition: filter 1s; } header.banner .brand h1 { transition: color 1s; } header.banner .brand:hover img { filter: brightness(100%) sepia(100%); } header.banner .brand:hover h1 { color: #d82; } .brand h1 { margin: 0; } .brand img { height: 3em; filter: brightness(0%); } nav { grid-column: 2; padding-right: 2vw; } nav ol { display: flex; align-items: stretch; flex-wrap: wrap; padding-left: 0; text-align: center; list-style-type: none; } nav ol li { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0.5em 0.1em; } nav ol li.current { background: white; } nav ol li a { text-decoration: none; } .lang { grid-column: 3; background-color: black; border-radius: 50% 50% 50% 0; color: white; padding: 0.5em; margin: auto; } main { grid-row: 2; grid-column: 1; padding-left: 4%; background-color: #fdd; } footer.social { grid-row: 2; grid-column: 2; display: flex; flex-direction: column; align-items: center; position: sticky; top: 0; background-color: #ddf; } .social img { width: 2em; margin-top: 0.5em; margin-bottom: 0.5em; } .contact { /* Ideally should be just: */ /* writing-mode: sideways-lr; */ /* but of course We Can't Have Nice Things. */ writing-mode: vertical-rl; transform: rotate(180deg); margin: 0; margin-inline-start: 0.5em; } .contact a { text-decoration: none; } footer.legal { grid-column: 1 / -1; width: 100%; text-align: center; margin: auto; font-size: 75%; background-color: #ffd }