* { box-sizing: border-box; } body { font-family: sans-serif; font-size: 24px; line-height: 2em; display: flex; flex-direction: column; padding: 0; margin: 0; --primary: #D02424; --navigation-font: #ffffff; --side-padding: 10vw; --max-content-width: 925px; --border: #707070; background-image: url(/img/bg-pattern.svg); background-repeat: repeat-y; background-position: right; background-size: 50vw; } .navigation { position: fixed; top: 0; left: 0; right: 0; display: flex; padding: 0 var(--side-padding); z-index: 1000; } .navigation-link { color: var(--navigation-font); text-decoration: none; padding: 12px 24px; } .logo { margin-right: auto; background-color: var(--primary); border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } .menu { list-style: none; display: flex; margin: 0; padding: 0; } .menu-item { background-color: var(--primary); display: flex; justify-content: center; align-items: center; margin-left: 12px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } header { height: 100vh; justify-content: center; background-image: url(/img/header.png); background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; border-bottom: 5px solid var(--primary); } header::before { content: ''; display: block; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: rgba(208,36, 36, 0.83); mix-blend-mode: multiply; } header > * { z-index: 1; color: white; margin: 0; margin-bottom: 1rem; } .headline { font-size: 4rem; line-height: 5rem; } .subheadline { font-size: 3rem; line-height: 4rem; } .headline-cta { color: white; text-decoration: none; } header, main { width: 100%; display: flex; flex-direction: column; padding-left: var(--side-padding); padding-right: var(--side-padding); } header > *, main > * { max-width: var(--max-content-width); } main { padding-top: 10vh; padding-bottom: 10vh; } nav + main { margin-top: 20vh; }