.page { display: flex; flex: 1; flex-direction: column; height: 100%; } .page__header-wrap { width: 100%; } .page__header { @include center; background-position: center; background-repeat: no-repeat; background-size: cover; color: $white; padding-right: env(safe-area-inset-right); padding-left: env(safe-area-inset-left); position: relative; width: 100%; } .page__header__title { font-weight: 300; text-shadow: 1px 1px 2px rgba($black, 0.3); @media (min-width: 901px) { font-size: 3rem; line-height: 6.5rem; } @media (max-width: 900px) { font-size: 2rem; line-height: 1; padding-top: 1rem; padding-bottom: 1rem; } } .page__content { background-image: url("/assets/media/images/grid.png"); background-repeat: repeat; background-size: 32px; flex: 1; padding-top: 2rem; padding-bottom: 2rem; padding-right: env(safe-area-inset-right); padding-left: env(safe-area-inset-left); } .page__markup { @extend %markdown; } .page__header { // background-image: url("/assets/media/images/background-a.jpg"); background-color: $black; }