File: /var/www/quadcode-jobs/resources/sass/components/_welcome.scss
@import "../variables";
.welcome {
--welcome-height-target: 100vh;
--welcome-height-max: 72rem;
position: relative;
min-height: min(90.7vh, 1080px);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: rgba(#0F161D, 60%);
background-image: linear-gradient(rgba(#0F161D, 60%), rgba(#0F161D, 60%)), var(--welcome-bg, none);
background-size: cover;
@media (max-width: 1200px) {
min-height: min(100vh, 790px);
min-height: min(calc(100 * var(--vh, 1vh)), 790px);
}
@include breakpoint-down('lg') {
min-height: min(100vh, 629px);
min-height: min(calc(100 * var(--vh, 1vh)), 629px);
justify-content: flex-start;
padding-bottom: 50px;
padding-top: 64px;
}
@include breakpoint-down('sm') {
min-height: min(100vh, 712px);
min-height: min(calc(100 * var(--vh, 1vh)), 712px);
}
&__video-wrap {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
&:after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
background: rgba(19, 44, 63, .6);
}
video {
width: 100%;
height: 100%;
position: absolute;
left: 0;
bottom: 0;
object-fit: cover;
}
}
.container {
height: 100%;
}
&__inner {
position: relative;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
margin: auto;
height: 100%;
max-width: 100%;
text-align: center;
@include breakpoint-down('lg') {
max-width: 590px;
}
@include breakpoint-down('sm') {
text-align: left;
}
}
&__header {
margin-bottom: 66px;
color: var(--color-text-light);
font-size: var(--header-font-size, var(--typo-headline));
text-align: center;
@include breakpoint-down('lg') {
max-width: 100%;
margin-bottom: 42px;
h1 {
line-height: 1.3;
}
}
@include breakpoint-down('sm') {
text-align: left;
}
}
&__search {
width: 100%;
.search {
@include breakpoint-down('sm') {
gap: 20px;
}
}
@include breakpoint-down('lg') {
max-width: 504px;
}
}
&__subtitle {
font-size: 18px;
line-height: 24px;
max-width: 822px;
@include breakpoint-down('sm') {
font-size: 16px;
line-height: 21px;
margin-top: 20px;
text-align: center;
}
}
&__call-to-scroll {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
@include breakpoint-down('lg') {
display: none;
:not(.welcome__call-to-scroll--mobile) {
display: none;
}
}
.action-marker {
svg {
width: 14px;
margin-right: -1px;
transition: 0.3s all ease;
transform: translateY(0%);
}
&::before {
content: "";
position: absolute;
height: 0px;
width: 2px;
top: 49%;
left: calc(33% + 9px);
background: #fff;
transition: 0.3s all ease;
}
&:hover {
svg {
margin-bottom: -20%;
}
&::before {
height: 15px;
transform: translateY(-46%);
}
}
}
}
&_who-we {
color: #fff;
background-color: rgba(#132C3F, 0.6);
background-image: var(--welcome-bg, none);
@include breakpoint-down('lg') {
min-height: 554px;
height: 554px;
max-height: 554px;
}
@include breakpoint-down('sm') {
min-height: 577px;
height: 577px;
max-height: 577px;
}
.welcome__inner {
@include breakpoint-down('lg') {
max-width: max-content;
}
.welcome__header {
@include breakpoint-down('lg') {
max-width: max-content;
}
}
}
h1 {
font-size: 80px;
font-weight: 700;
line-height: 1;
@include breakpoint-down('lg') {
font-size: 70px;
}
@include breakpoint-down('sm') {
font-size: 48px;
text-align: center;
}
span {
color: #F1162F;
}
}
.welcome__play-video {
width: 200px;
height: 44px;
display: flex;
justify-content: center;
align-items: center;
margin-top: 45px;
font-size: 16px;
font-weight: 700;
border-radius: 22px;
border: 1px solid #FFFFFF;
background-color: rgba(21, 32, 41, 0.62);
cursor: pointer;
@include breakpoint-down('lg') {
margin-top: 40px;
}
svg {
display: flex;
margin-left: 8px;
}
}
}
&_small {
min-height: 620px;
height: 620px;
max-height: 620px;
background-color: rgba(#132C3F, 0.6);
background-image: var(--welcome-bg, none);
@include breakpoint-down('lg') {
min-height: 405px;
height: 405px;
max-height: 405px;
}
@include breakpoint-down('sm') {
min-height: 310px;
height: 310px;
max-height: 310px;
}
h1 {
font-size: 80px;
line-height: 76px;
@include breakpoint-down('lg') {
font-size: 70px;
line-height: 72px;
}
@include breakpoint-down('sm') {
font-size: 34px;
line-height: 38px;
text-align: center;
}
}
.welcome {
&__inner {
max-width: max-content;
}
&__header {
max-width: max-content;
margin-bottom: 0;
}
}
}
&_job-categories {
min-height: 450px;
height: 450px;
max-height: 450px;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
overflow: hidden;
@include breakpoint-down('lg') {
min-height: 406px;
height: 406px;
max-height: 406px;
border-radius: 0;
background-color: rgba(#132C3F, 0.6);
background-image: var(--welcome-bg, none);
}
@include breakpoint-down('sm') {
min-height: 314px;
height: 314px;
max-height: 314px;
}
h1 {
font-size: 80px;
line-height: 76px;
font-weight: 700;
@include breakpoint-down('lg') {
font-size: 70px;
font-weight: 700;
line-height: 1;
}
@include breakpoint-down('sm') {
font-size: 34px;
text-align: center;
}
}
.job-categories__position {
color: #FFFFFF;
font-size: 18px;
margin-top: 10px;
@include breakpoint-down('lg') {
margin-top: 0;
}
strong {
font-weight: 700;
}
@include breakpoint-down('sm') {
margin-top: 15px;
font-size: 16px;
line-height: 18px;
text-align: center;
max-width: 180px;
}
}
}
}
.welcome_home {
@include breakpoint-down('lg') {
min-height: 784px;
height: 784px;
max-height: 784px;
}
@include breakpoint-down('sm') {
min-height: 720px;
height: 720px;
max-height: 720px;
}
.welcome__inner {
max-width: 100%;
.welcome__header {
max-width: 100%;
}
}
h1 {
font-size: 60px;
@include breakpoint-down('lg') {
font-size: 48px;
line-height: 53px;
}
@include breakpoint-down('sm') {
font-size: 24px;
line-height: 32px;
text-align: center;
}
}
.welcome__call-to-scroll {
@include breakpoint-down('lg') {
display: none;
}
}
}