* { box-sizing: border-box; } .page { font-family: sans-serif; font-size: 24px; line-height: 2em; display: flex; flex-direction: column; padding: 0; margin: 0; --primary: #D02424; --primary-font: #ffffff; --side-padding: 3vw; --max-content-width: 925px; --border: #707070; background-image: url(/img/bg-pattern.svg); background-repeat: repeat-y; background-position: right; background-size: 50vw; } @media screen and (min-width: 768px) { .page { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto auto; --side-padding: 10vw; } } .navigation { position: fixed; top: 0; left: 0; right: 0; display: flex; padding: 0 var(--side-padding); z-index: 1000; } .navigation-link { color: var(--primary-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; } .page-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); } @media screen and (min-width: 768px) { .page-header { grid-column-start: 1; grid-column-end: 2; grid-row-start: 1; grid-row-end: 2; } } .page-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; } .page-header > * { z-index: 1; color: var(--primary-font); margin: 0; margin-bottom: 1rem; } .page-header-headline { font-size: 4rem; line-height: 5rem; } .page-header-subheadline { font-size: 3rem; line-height: 4rem; } .page-header-cta { color: var(--primary-font); text-decoration: none; } .page-header, .page-main { width: 100%; display: flex; flex-direction: column; padding-left: var(--side-padding); padding-right: var(--side-padding); } .page-header > *, .page-main > * { max-width: var(--max-content-width); } .page-main { padding-bottom: 10vh; } @media screen and (min-width: 768px) { .page-main { grid-column-start: 1; grid-column-end: 2; grid-row-start: 3; grid-row-end: 4; } } .page-title { font-size: 5rem; line-height: 6rem; padding-top: 10vh; padding-left: var(--side-padding); padding-right: var(--side-padding); } .navigation + .page-title { margin-top: 20vh; } @media screen and (min-width: 768px) { .page-title { grid-column-start: 1; grid-column-end: 3; grid-row-start: 2; grid-row-end: 3; } }