.masthead { position: relative; background-color: $gray-800; background: url('../img/bg-masthead.jpg') no-repeat center center; @include background-cover; padding-top: 2rem; padding-bottom: 2rem; .overlay { position: absolute; background-color: $gray-900; height: 100%; width: 100%; top: 0; left: 0; opacity: 0.3; } h1 { font-size: 3rem; } h2 { font-size: 1.5rem; } @media (min-width: 768px) { padding-top: 6rem; padding-bottom: 6rem; h1 { font-size: 4rem; } h2 { font-size: 2rem; } } }