/*-------------------------------------------------------------- # Hero Section --------------------------------------------------------------*/ #hero { width: 100%; height: 100vh; background: linear-gradient(rgba(darken($primary, 15), .5), rgba(darken($primary, 15), .2)), url("../img/hero-bg.jpg") top center; background-size: cover; position: relative; margin-bottom: -90px; .hero-container { position: absolute; bottom: 0; top: 0; left: 0; right: 0; display: flex; justify-content: center; align-items: center; flex-direction: column; text-align: center; } h1 { margin: 0 0 10px 0; font-size: 64px; font-weight: 700; line-height: 56px; text-transform: uppercase; color: #fff; text-shadow: -1px 0 2px $secondary; } h2 { color: #fff; margin-bottom: 50px; font-size: 20px; text-transform: uppercase; font-weight: 700; text-shadow: -1px 0 2px $secondary; } .btn-get-started { font-size: 36px; display: inline-block; padding: 4px 0; border-radius: 50px; transition: 0.3s ease-in-out; margin: 10px; width: 64px; height: 64px; text-align: center; border: 2px solid #fff; color: #fff; &:hover { padding-top: 8px; background: rgba($white, .15); } } @media (min-width: 1024px) { background-attachment: fixed; } @media (max-width: 768px) { h1 { font-size: 28px; line-height: 36px; } h2 { font-size: 18px; line-height: 24px; margin-bottom: 30px; } } }