|
|
|
@ -131,8 +131,8 @@ ul[class] { |
|
|
|
header { |
|
|
|
background-color: var(--clr-white); |
|
|
|
position: fixed; |
|
|
|
inset: 16px 16px auto 16px; |
|
|
|
padding: 14px 16px; |
|
|
|
inset: 1rem 1rem auto 1rem; |
|
|
|
padding: 0.875rem 1rem; |
|
|
|
display: flex; |
|
|
|
justify-content: space-between; |
|
|
|
align-items: center; |
|
|
|
@ -141,7 +141,7 @@ header { |
|
|
|
|
|
|
|
> a { |
|
|
|
flex-grow: 1; |
|
|
|
max-width: 203px; |
|
|
|
max-width: 12.6875rem; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -153,7 +153,7 @@ header { |
|
|
|
background-color: var(--clr-sand); |
|
|
|
border: none; |
|
|
|
border-radius: 50%; |
|
|
|
width: 36px; |
|
|
|
width: 2.25rem; |
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
svg { |
|
|
|
@ -179,12 +179,12 @@ header { |
|
|
|
inset: 0 0 auto 0; |
|
|
|
z-index: 90; |
|
|
|
background-color: var(--clr-sand); |
|
|
|
padding: calc(16px + 64px + 32px) 16px 16px 16px; |
|
|
|
padding: calc(1rem + 4rem + 2rem) 1rem 1rem 1rem; |
|
|
|
|
|
|
|
& h2 { |
|
|
|
font: var(--td-xl); |
|
|
|
font-weight: 400; |
|
|
|
margin: 0 0 16px 0; |
|
|
|
margin: 0 0 1rem 0; |
|
|
|
} |
|
|
|
|
|
|
|
& ul { |
|
|
|
@ -194,10 +194,9 @@ header { |
|
|
|
|
|
|
|
& li { |
|
|
|
border-bottom: 1px solid var(--clr-black); |
|
|
|
padding: 12px 0; |
|
|
|
padding: 0.75rem 0; |
|
|
|
position: relative; |
|
|
|
min-height: 56px; |
|
|
|
|
|
|
|
min-height: 3.5rem; |
|
|
|
} |
|
|
|
|
|
|
|
& a { |
|
|
|
@ -205,7 +204,7 @@ header { |
|
|
|
color: var(--clr-black); |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
min-height: 32px; |
|
|
|
min-height: 2rem; |
|
|
|
|
|
|
|
&.current { |
|
|
|
font-weight: 700; |
|
|
|
@ -215,7 +214,7 @@ header { |
|
|
|
content: ""; |
|
|
|
position: absolute; |
|
|
|
right: 0; |
|
|
|
width: 32px; |
|
|
|
width: 2rem; |
|
|
|
aspect-ratio: 1; |
|
|
|
border-radius: 50%; |
|
|
|
background-color: var(--clr-green); |
|
|
|
@ -223,44 +222,75 @@ header { |
|
|
|
background-repeat: no-repeat; |
|
|
|
background-position: 50% 50%; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.intro-container { |
|
|
|
main { |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
gap: 0; |
|
|
|
min-height: 100vh; |
|
|
|
min-height: 100svh; |
|
|
|
|
|
|
|
> img { |
|
|
|
flex: 1 1 0; |
|
|
|
min-height: 0; |
|
|
|
width: 100%; |
|
|
|
object-fit: cover; |
|
|
|
} |
|
|
|
|
|
|
|
> article { |
|
|
|
background-color: var(--clr-white); |
|
|
|
|
|
|
|
& article { |
|
|
|
flex: 0 0 auto; |
|
|
|
background-color: var(--clr-bg); |
|
|
|
flex-shrink: 0; |
|
|
|
text-align: center; |
|
|
|
padding: 24px 24px 16px 24px; |
|
|
|
padding: 1.5rem 1.5rem 1rem 1.5rem; |
|
|
|
|
|
|
|
|
|
|
|
& p { |
|
|
|
max-width: 32ch; |
|
|
|
margin: 0 auto 1.5rem auto; |
|
|
|
} |
|
|
|
|
|
|
|
& .cta + * { |
|
|
|
margin-top: 0.75rem; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
& h1 { |
|
|
|
& h1, h2 { |
|
|
|
font: var(--td-xl); |
|
|
|
font-weight: 400; |
|
|
|
margin: 0 auto 8px auto; |
|
|
|
margin: 0 auto 0.5rem auto; |
|
|
|
} |
|
|
|
|
|
|
|
& p { |
|
|
|
max-width: 32ch; |
|
|
|
margin: 0 auto 24px auto; |
|
|
|
} |
|
|
|
|
|
|
|
.start { |
|
|
|
--clr-bg: var(--clr-white); |
|
|
|
--clr-action: var(--clr-green); |
|
|
|
} |
|
|
|
|
|
|
|
.facts { |
|
|
|
--clr-bg: var(--clr-green); |
|
|
|
--clr-action: var(--clr-white); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.hero-container, .carousel { |
|
|
|
flex: 1 1 0; |
|
|
|
min-height: 0; |
|
|
|
} |
|
|
|
|
|
|
|
.hero-container { |
|
|
|
display: grid; |
|
|
|
grid-template: 1fr / 1fr; |
|
|
|
|
|
|
|
& img { |
|
|
|
grid-area: 1 / 1; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
object-fit: cover; |
|
|
|
min-width: 0; |
|
|
|
min-height: 0; |
|
|
|
} |
|
|
|
|
|
|
|
& .cta + * { |
|
|
|
margin-top: 12px; |
|
|
|
& svg { |
|
|
|
grid-area: 1 / 1; |
|
|
|
place-self: end end; |
|
|
|
fill: var(--clr-bg, var(--clr-green)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -268,13 +298,13 @@ header { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
justify-content: center; |
|
|
|
background-color: var(--clr-green); |
|
|
|
background-color: var(--clr-action, var(--clr-sand-light)); |
|
|
|
background-image: url("ico-arrow-right.svg"); |
|
|
|
background-repeat: no-repeat; |
|
|
|
background-position: 16px 50%; |
|
|
|
max-width: 280px; |
|
|
|
background-position: 1rem 50%; |
|
|
|
max-width: 17.5rem; |
|
|
|
border-radius: 100vw; |
|
|
|
height: 3em; |
|
|
|
height: 3rem; |
|
|
|
margin: 0 auto; |
|
|
|
font-weight: 700; |
|
|
|
color: var(--clr-black); |
|
|
|
@ -286,4 +316,46 @@ header { |
|
|
|
display: inline-flex; |
|
|
|
gap: 0.4em; |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.carousel { |
|
|
|
display: grid; |
|
|
|
grid-auto-flow: column; |
|
|
|
grid-auto-columns: 100%; |
|
|
|
overflow-x: auto; |
|
|
|
scroll-behavior: smooth; |
|
|
|
scroll-snap-type: x mandatory; |
|
|
|
scrollbar-width: none; |
|
|
|
|
|
|
|
> li { |
|
|
|
scroll-snap-align: center; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
--clr-bg: var(--clr-green); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.scroll-marker-group { |
|
|
|
display: flex; |
|
|
|
gap: 0.5rem; |
|
|
|
justify-content: center; |
|
|
|
background-color: var(--clr-bg); |
|
|
|
padding: 0 0 1rem 0; |
|
|
|
|
|
|
|
& button { |
|
|
|
appearance: none; |
|
|
|
border: none; |
|
|
|
width: 0.75rem; |
|
|
|
aspect-ratio: 1; |
|
|
|
border-radius: 50%; |
|
|
|
background-color: var(--clr-white); |
|
|
|
transition: background-color 0.1s ease; |
|
|
|
|
|
|
|
&.current { |
|
|
|
background-color: var(--clr-black); |
|
|
|
} |
|
|
|
} |
|
|
|
} |