site-max/scss/_masthead.scss

39 lines
982 B
SCSS

// Styling for the masthead
header.masthead {
position: relative;
width: 100%;
min-height: auto;
video {
right: 0;
bottom: 0;
width: 100%;
z-index: -100;
background-size: cover;
overflow: hidden;
}
@media (min-width: 768px) {
.header-content {
position: absolute;
top: 50%;
padding: 0 50px;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
.header-content-inner {
max-width: 1000px;
margin-right: auto;
margin-left: auto;
h1 {
font-size: 50px;
}
p {
font-size: 18px;
max-width: 80%;
margin-right: auto;
margin-left: auto;
}
}
}
}
}