.hero {
display: flex;
flex-direction: column;
position: relative;
color: white;
padding-top: calc(60px + #{$base-spacing});
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
overflow: hidden;
&--has-min-height .hero__upper {
min-height: 500px;
}
@media (min-width: $medium-screen) {
padding-top: calc(120px + #{$base-spacing});
&--tall {
padding-top: calc(250px + #{$base-spacing});
}
}
&--full-height {
min-height: 100vh;
.isi-is-present & {
min-height: calc(100vh - 170px);
}
}
&__background {
position: absolute;
bottom: 0;
left: 0;
background-size: cover !important;
background-position: center;
height: 100%;
width: 100%;
z-index: 1;
&--mobile {
display: none;
@media (max-width: $medium-screen) {
z-index: 3;
display: block;
}
}
}
&::before {
content: "";
background-image: linear-gradient(to left, rgba(57, 51, 84, 0.3), #04032a);
display: block;
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 5;
opacity: 0.8;
}
@media (max-width: 768px) {
&::before {
background-image: linear-gradient(to bottom, rgba(0,0,0,0.0) 10%, rgba(57, 51, 84, 0.3) 15%, #04032a 100%);
}
}
&--light-gradient {
&::before {
background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3), #fff);
opacity: 0.8;
mix-blend-mode: normal;
}
@media (max-width: 768px) {
&::before {
background-image: linear-gradient(to bottom, rgba(255,255,255,0.0) 10%, rgba(255, 255, 255, 0.3) 15%, #fff 100%);
}
}
color: black;
}
&--dark-gradient {
.heading {
color: white;
}
}
&--black-gradient {
&::before {
background-image: linear-gradient(to left, rgba(0, 0, 0, 0.3), #000);
opacity: 0.8;
}
}
&--no-image {
&::before {
display: none;
}
color: black;
.hero__main,
.hero__heading,
.hero__content {
width: 100%;
max-width: none;
}
.hero__heading {
margin-top: 2rem !important;
}
@media (max-width: $medium-screen) {
padding-top: 60px;
}
}
&--dark-background {
color: white;
@include themify($themes) {
background-color: themed('ctaGradient');
}
}
&__upper {
@include poly-padding--large;
width: 100%;
max-width: $container-width;
margin: auto;
z-index: 10;
filter: blur(0);
display: flex;
flex-wrap: wrap-reverse;
}
&__main {
width: 650px;
max-width: 100%;
margin: auto 0;
}
&__content {
margin: $base-spacing/2 0 $base-spacing;
width: 450px;
max-width: 100%;
p {
font-size: 14px;
font-weight: 400;
}
}
&__legal {
margin: $base-spacing/2 0 $base-spacing;
p {
font-size: 13px;
letter-spacing: normal;
font-weight: 400;
}
}
&__heading {
font-weight: 900;
line-height: 1.18;
width: 450px;
max-width: 100%;
}
&__lower {
z-index: 10;
margin-top: auto;
display: flex;
justify-content: space-between;
background-image: linear-gradient(to bottom, rgba(57, 51, 84, 0), rgba(6, 1, 44, 0.8));
min-height: 1px;
.browser--ie11 & {
position: absolute;
bottom: 0;
}
}
&__icon {
max-width: 360px;
min-width: 260px;
padding: $base-spacing 0;
display: flex;
align-items: center;
justify-content: center;
}
}
.highlight {
@include poly-padding--large;
display: flex;
flex-direction: column;
color: white;
background-color: #003c68;
flex-basis: 25%;
font-family: 'Biryani', sans-serif;
transition: background-color 0.3s;
margin-left: auto;
color: white;
p {
letter-spacing: normal;
}
@include themify($themes) {
background-color: themed('highlightColor');
&:hover {
background-color: themed('ctaColor');
}
}
&__heading {
font-family: 'Biryani', sans-serif;
font-size: 12px;
font-weight: 200;
font-style: normal;
font-stretch: normal;
line-height: normal;
letter-spacing: 3.4px;
text-transform: uppercase;
color: white;
}
&__text {
font-size: 20px;
font-weight: 900;
line-height: 1.3;
color: white;
}
&__cta {
font-weight: 900;
font-size: 12px;
color: white;
}
}
.latest-updates {
@include poly-padding--large;
display: flex;
align-items: center;
justify-content: space-between;
@media (max-width: #{$medium-screen - 1}) {
flex-direction: column;
width: 100%;
@include themify($themes) {
background-color: themed('highlightColor');
}
}
&__title {
font-family: 'Biryani', sans-serif;
font-size: 30px;
font-weight: 900;
line-height: 1.2;
width: 200px;
@media (max-width: #{$medium-screen - 1}) {
width: 100%;
font-size: 25px;
margin-bottom: 1rem;
}
}
&__posts {
display: flex;
@media (max-width: #{$medium-screen - 1}) {
flex-direction: column;
width: 100%;
}
}
&__post {
display: flex;
padding: $base-spacing;
color: $white;
@media (max-width: #{$medium-screen - 1}) {
width: 100%;
padding: 0 0 1.5rem;
}
&__image {
max-width: 75px;
margin-right: $base-spacing;
@media (max-width: #{$medium-screen - 1}) {
max-height: 50px;
overflow: hidden;
}
img {
max-width: 75px;
}
}
&__label {
p {
font-size: 14px;
}
span {
font-family: $biryani;
font-size: 12px;
font-weight: 200;
letter-spacing: 3.4px;
color: #81cfe2;
text-transform: uppercase;
}
}
}
}
.fade-out {
transform: translateY(10%);
opacity: 0;
filter: blur(10px);
}
header.hero section.hero__upper div.hero__main h1.heading.heading--large.has-pre-heading {
margin-top: 0 !important;
margin-bottom: 1rem !important;
}