Files
web/apps/scandic-web/components/Blocks/FullWidthCampaign/fullWidthCampaign.module.css
Erik Tiekstra 510f25a812 feat(BOOK-757): Replaced Biroscript component with Typography
Approved-by: Bianca Widstam
2026-01-20 12:37:05 +00:00

80 lines
1.2 KiB
CSS

.container {
position: relative;
overflow: hidden;
height: 100vh;
&::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
180deg,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.36) 50%,
rgba(0, 0, 0, 0.75) 100%
);
pointer-events: none;
z-index: 1;
}
}
.bodyText {
text-align: center;
color: var(--Base-Text-Inverted);
}
.content {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
max-width: 800px;
margin: 0 auto;
gap: var(--Space-x1);
padding: var(--Space-x4) var(--Space-x3);
z-index: 2;
color: var(--Base-Text-Inverted);
text-align: center;
}
.mainContent {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--Space-x2);
}
.buttons {
display: flex;
gap: var(--Space-x1);
}
.button {
min-width: 180px;
}
.image {
max-width: 100%;
height: 100%;
z-index: 0;
}
.scriptedText {
transform: rotate(-3deg);
transform-origin: left;
}
@media screen and (max-width: 767px) {
.button:not(:only-child) {
min-width: 135px;
}
}
@media screen and (min-width: 768px) {
.container {
height: 880px;
}
}