2024-07-30 12:07:47 +02:00
|
|
|
.hero {
|
2024-09-19 11:33:41 +02:00
|
|
|
--empty-space: 11.9rem;
|
2024-09-18 17:38:43 +02:00
|
|
|
background-color: var(--color-beige-light);
|
2024-07-31 08:50:49 +02:00
|
|
|
--padding-vertical: calc(var(--space-m) / 1.5);
|
2024-07-30 12:07:47 +02:00
|
|
|
display: grid;
|
2024-09-03 14:48:28 +02:00
|
|
|
grid-template-columns: 1.6fr 3fr;
|
|
|
|
|
column-gap: calc(var(--space-m) / 1.5);
|
2024-09-19 11:33:41 +02:00
|
|
|
height: calc(100vh - var(--empty-space));
|
2024-10-31 14:35:37 +01:00
|
|
|
overflow: hidden;
|
2024-07-30 12:07:47 +02:00
|
|
|
}
|
|
|
|
|
|
2024-09-03 17:06:25 +02:00
|
|
|
.hero__text {
|
|
|
|
|
position: relative;
|
2024-11-05 11:53:46 +01:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
overflow: auto;
|
2024-09-03 17:06:25 +02:00
|
|
|
}
|
|
|
|
|
|
2024-07-30 12:07:47 +02:00
|
|
|
.hero__text h2 {
|
2024-11-05 11:53:46 +01:00
|
|
|
font-size: max(4.167vw, 3rem);
|
2024-07-30 12:07:47 +02:00
|
|
|
width: 100%;
|
2024-07-31 18:29:16 +02:00
|
|
|
margin-bottom: var(--padding-vertical);
|
2024-07-30 12:07:47 +02:00
|
|
|
}
|
|
|
|
|
|
2024-09-04 14:23:32 +02:00
|
|
|
.hero__text h2.big {
|
|
|
|
|
font-size: var(--font-size-xxl);
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-30 12:07:47 +02:00
|
|
|
.hero__text h3 {
|
2024-09-19 16:21:15 +02:00
|
|
|
/* color: var(--color-season); */
|
2024-09-03 14:48:28 +02:00
|
|
|
font-size: var(--font-size-h2);
|
|
|
|
|
}
|
|
|
|
|
.hero__text h3:nth-child(odd) {
|
|
|
|
|
text-align: end;
|
2024-07-30 12:07:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__text p:not(:last-of-type) {
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__text p:first-of-type {
|
2024-07-31 18:29:16 +02:00
|
|
|
margin-top: var(--padding-vertical);
|
2024-07-30 12:07:47 +02:00
|
|
|
}
|
2024-09-03 17:06:25 +02:00
|
|
|
|
|
|
|
|
.hero__link {
|
|
|
|
|
font-weight: bold;
|
2024-11-05 11:58:25 +01:00
|
|
|
margin-top: 0.5rem;
|
2024-09-03 17:06:25 +02:00
|
|
|
}
|
|
|
|
|
.hero__link::before {
|
2024-09-19 11:46:23 +02:00
|
|
|
display: inline-block;
|
2024-09-03 17:06:25 +02:00
|
|
|
content: "→";
|
|
|
|
|
margin-right: 1rem;
|
2024-09-19 11:46:23 +02:00
|
|
|
transform: translateX(0rem);
|
|
|
|
|
transition: all 0.3s var(--curve-quick-slow);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__link:hover:before {
|
|
|
|
|
margin-right: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-20 14:57:29 +02:00
|
|
|
.hero .image-wrapper {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-19 11:31:47 +02:00
|
|
|
.hero__image {
|
2024-09-19 11:33:41 +02:00
|
|
|
height: calc(100vh - var(--empty-space) - 2 * var(--padding-vertical));
|
2024-09-19 11:31:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__image picture {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
.hero__image img {
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-20 14:57:29 +02:00
|
|
|
.hero__image:hover .image-cover {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-21 15:57:20 +02:00
|
|
|
@media screen and (max-width: 1085px) {
|
2024-11-04 14:06:53 +01:00
|
|
|
.hero__text h2,
|
|
|
|
|
.hero__text h3 {
|
|
|
|
|
text-align: left !important;
|
2024-09-10 15:23:24 +02:00
|
|
|
}
|
2024-11-05 11:53:46 +01:00
|
|
|
.hero__text h2 {
|
|
|
|
|
font-size: var(--font-size-xl);
|
|
|
|
|
}
|
2024-09-18 17:37:34 +02:00
|
|
|
.hero__text h2.big {
|
|
|
|
|
font-size: calc(var(--font-size-xxl) / 1.2);
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
2024-09-10 15:23:24 +02:00
|
|
|
|
|
|
|
|
.hero__text p:first-of-type {
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__link {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: block;
|
|
|
|
|
margin: 1rem 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero {
|
2024-09-20 09:11:18 +02:00
|
|
|
padding: calc(var(--padding-vertical) / 1.2) var(--space-m) 2rem
|
|
|
|
|
var(--space-m) !important;
|
2024-09-10 15:23:24 +02:00
|
|
|
border-bottom: none !important;
|
2024-09-20 09:11:18 +02:00
|
|
|
height: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero__image {
|
|
|
|
|
height: 60vw;
|
2024-09-10 15:23:24 +02:00
|
|
|
}
|
|
|
|
|
}
|