site-max/scss/_masthead.scss

78 lines
1.8 KiB
SCSS

// Styling for the masthead
header.masthead {
position: relative;
width: 100%;
overflow: hidden;
min-height: auto;
display: flex;
align-items: center;
justify-content: center;
video {
right: 0;
bottom: 0;
width: 100%;
z-index: -100;
background-size: cover;
overflow: hidden;
}
.header-content {
position: relative;
width: 100%;
padding: 100px 15px 100px;
text-align: center;
.header-content-inner {
h1 {
font-size: 30px;
font-weight: 700;
margin-top: 0;
margin-bottom: 0;
text-transform: uppercase;
}
hr {
margin: 30px auto;
}
p {
font-size: 16px;
font-weight: 300;
margin-bottom: 50px;
color: fade-out(white, .3);
}
}
}
a {
position: absolute;
bottom: 2rem;
}
#video-sound {
right: 4rem;
}
#youtube-link {
right: 8.5rem;
}
@media (min-width: 768px) {
height: 100%;
.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;
}
}
}
}
}