148 lines
2.6 KiB
SCSS
148 lines
2.6 KiB
SCSS
.hero {
|
|
padding: 250px 0 200px;
|
|
position: relative;
|
|
background-position: center;
|
|
background-size: cover;
|
|
|
|
@include desktop-lg {
|
|
padding: 150px 0 120px;
|
|
}
|
|
@include desktop {
|
|
padding: 200px 0 120px;
|
|
}
|
|
@include tablet {
|
|
padding: 150px 0 100px;
|
|
}
|
|
@include mobile {
|
|
padding: 120px 0 80px;
|
|
}
|
|
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba($color: $black, $alpha: 0.5);
|
|
}
|
|
|
|
&-content {
|
|
text-align: center;
|
|
position: relative;
|
|
z-index: 1;
|
|
|
|
h1 {
|
|
color: whitesmoke;
|
|
margin-bottom: 15px;
|
|
font-size: 50px;
|
|
line-height: 70px;
|
|
|
|
@include tablet {
|
|
font-size: 40px;
|
|
line-height: 55px;
|
|
}
|
|
@include mobile {
|
|
font-size: 30px;
|
|
line-height: 45px;
|
|
}
|
|
|
|
@include mobile-xs {
|
|
font-size: 24px;
|
|
line-height: 40px;
|
|
}
|
|
}
|
|
|
|
h2 {
|
|
color: #cc0016;
|
|
}
|
|
|
|
h3 {
|
|
color: whitesmoke;
|
|
margin-bottom: 5px;
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
|
|
@include tablet {
|
|
font-size: 150px;
|
|
line-height: 35px;
|
|
}
|
|
@include mobile {
|
|
font-size: 15px;
|
|
line-height: 25px;
|
|
}
|
|
|
|
@include mobile-xs {
|
|
font-size: 18px;
|
|
line-height: 20px;
|
|
}
|
|
}
|
|
|
|
p {
|
|
color: #b8cfe6;
|
|
font-size: 19px;
|
|
line-height: 32px;
|
|
width: 83%;
|
|
margin: 0 auto 50px;
|
|
|
|
@include desktop {
|
|
width: 100%;
|
|
}
|
|
@include mobile {
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-video-player {
|
|
margin-top: 30px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: relative;
|
|
flex-direction: column;
|
|
|
|
@include desktop {
|
|
margin-top: 60px;
|
|
}
|
|
@include mobile {
|
|
margin-top: 30px;
|
|
}
|
|
.hero-video-player-icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
a {
|
|
display: block;
|
|
position: relative;
|
|
background: #b8cfe6;
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
color: $white;
|
|
margin-bottom: 20px;
|
|
transition: 0.3s ease-in-out;
|
|
|
|
&:hover {
|
|
transform: scale(1.2);
|
|
i {
|
|
color: $primary-color;
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
i {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
}
|
|
}
|
|
span {
|
|
color: #b8cfe6;
|
|
font-family: $primary-font;
|
|
}
|
|
}
|
|
}
|