58 lines
997 B
CSS
58 lines
997 B
CSS
.header {
|
|
height: 400px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
padding: var(--Space-x4);
|
|
border-radius: var(--Corner-Radius-lg);
|
|
overflow: hidden;
|
|
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 2;
|
|
background: linear-gradient(
|
|
180deg,
|
|
color-mix(in srgb, transparent, var(--Text-Brand-OnPrimary-1-Default) 8%)
|
|
13%,
|
|
color-mix(in srgb, transparent, var(--Text-Brand-OnPrimary-1-Heading) 40%)
|
|
100%
|
|
);
|
|
}
|
|
}
|
|
|
|
.heading {
|
|
position: relative;
|
|
z-index: 3;
|
|
color: var(--Text-Inverted);
|
|
}
|
|
|
|
.image {
|
|
z-index: 1;
|
|
}
|
|
|
|
.blocks {
|
|
display: grid;
|
|
gap: var(--Space-x5);
|
|
max-width: var(--max-width-page);
|
|
align-content: flex-start;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.blocks {
|
|
gap: var(--Space-x7);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1367px) {
|
|
.header {
|
|
height: 480px;
|
|
padding-bottom: 150px;
|
|
}
|
|
.blocks {
|
|
gap: var(--Space-x7);
|
|
}
|
|
}
|