multi-project/projects/app/_modules/pages/home/intro/homepage-intro.component.scss

72 lines
1.3 KiB
SCSS

.fullwidth {
display: flex;
position: relative;
background-color: #86898E;
}
.particles {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.row {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
padding-bottom: 40px;
overflow: hidden;
.tagline {
b {
display: block;
color: var(--white);
text-transform: uppercase;
font-size: 64px;
font-weight: 700;
line-height: 96px;
font-variant-numeric: lining-nums tabular-nums;
-webkit-text-stroke: 2px white;
&:first-child {color: transparent;}
&:nth-child(2) {font-size: 100px; color: transparent;}
&:nth-child(3) {font-size: 78px;}
&:nth-child(4) {font-size: 78px;}
}
}
.promo {
width: 500px;
height: 500px;
}
}
@media screen and (max-width: 1360px) {
.row {
flex-direction: column;
.tagline {
text-align: center;
}
}
}
@media screen and (max-width: 512px) {
.row {
.tagline {
b {
&:first-child,
&:nth-child(2),
&:nth-child(3),
&:nth-child(4) {
font-size: 40px;
line-height: 110%;
}
}
}
.promo {
width: 240px;
height: 240px;
}
}
}