@import "../../assets/styles/theme.scss"; #mainpageheader { position: relative; height: 100vh; padding: 0 10%; color: $text-secondary; background-image: url(/assets/images/car.jpeg); background-color: $bg-image; background-blend-mode: multiply; background-position: center; background-size: cover; .container { position: absolute; top: 40%; display: flex; flex-direction: column; h1 { font-size: 60px; font-weight: 600; line-height: 63px; margin: 0; } h2 { font-size: 24px; font-weight: 400; line-height: 36px; } } }