You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

289 lines
6.3 KiB

@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: italic;
font-weight: 400;
src: url(noto-ikea-400i.latin-ext.5f8f91ea.woff2) format("woff2");
unicode-range:u + 0100-024f, u + 0259, u + 1e??, u + 2020, u + 20a0-20ab, u + 20ad-20cf, u + 2113, u + 2c60-2c7f, u + a720-a7ff
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: italic;
font-weight: 400;
src: url(noto-ikea-400i.latin.10395910.woff2) format("woff2");
unicode-range:u + 00??, u + 0131, u + 0152-0153, u + 02bb-02bc, u + 02c6, u + 02da, u + 02dc, u + 2000-206f, u + 2074, u + 20ac, u + 2122, u + 2191, u + 2193, u + 2212, u + 2215, u + feff, u + fffd
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: italic;
font-weight: 700;
src: url(noto-ikea-700i.latin-ext.3637155a.woff2) format("woff2");
unicode-range:u + 0100-024f, u + 0259, u + 1e??, u + 2020, u + 20a0-20ab, u + 20ad-20cf, u + 2113, u + 2c60-2c7f, u + a720-a7ff
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: italic;
font-weight: 700;
src: url(noto-ikea-700i.latin.29eb18bb.woff2) format("woff2");
unicode-range:u + 00??, u + 0131, u + 0152-0153, u + 02bb-02bc, u + 02c6, u + 02da, u + 02dc, u + 2000-206f, u + 2074, u + 20ac, u + 2122, u + 2191, u + 2193, u + 2212, u + 2215, u + feff, u + fffd
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: normal;
font-weight: 400;
src: url(noto-ikea-400.latin-ext.edd421f4.woff2) format("woff2");
unicode-range:u + 0100-024f, u + 0259, u + 1e??, u + 2020, u + 20a0-20ab, u + 20ad-20cf, u + 2113, u + 2c60-2c7f, u + a720-a7ff
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: normal;
font-weight: 400;
src: url(noto-ikea-400.latin.647e877d.woff2) format("woff2");
unicode-range:u + 00??, u + 0131, u + 0152-0153, u + 02bb-02bc, u + 02c6, u + 02da, u + 02dc, u + 2000-206f, u + 2074, u + 20ac, u + 2122, u + 2191, u + 2193, u + 2212, u + 2215, u + feff, u + fffd
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: normal;
font-weight: 700;
src: url(noto-ikea-700.latin-ext.97f0d455.woff2) format("woff2");
unicode-range:u + 0100-024f, u + 0259, u + 1e??, u + 2020, u + 20a0-20ab, u + 20ad-20cf, u + 2113, u + 2c60-2c7f, u + a720-a7ff
}
@font-face {
font-display: swap;
font-family: 'Noto IKEA';
font-style: normal;
font-weight: 700;
src: url(noto-ikea-700.latin.d7277c39.woff2) format("woff2");
unicode-range:u + 00??, u + 0131, u + 0152-0153, u + 02bb-02bc, u + 02c6, u + 02da, u + 02dc, u + 2000-206f, u + 2074, u + 20ac, u + 2122, u + 2191, u + 2193, u + 2212, u + 2215, u + feff, u + fffd
}
:root {
--clr-white: #fff;
--clr-black: #000;
--clr-green: #3FB83E;
--clr-blue: #4297FF;
--clr-sand: #F1EBDD;
--clr-sand-light: #F7F3EB;
--ff-ikea: "Noto IKEA", "Noto Sans", system-ui, sans-serif;
--fs-s: 0.75rem;
--fs-base: 1rem;
--fs-lg: 1.125rem;
--fs-xl: 2rem;
--fs-2xl: 3rem;
--fs-3xl: 4rem;
--td-s: 400 0.75rem/1.3 var(--ff-ikea);
--td-base: 400 1rem/1.4 var(--ff-ikea);
--td-lg: 400 1.125rem/1.4 var(--ff-ikea);
--td-xl: 700 2rem/1.2 var(--ff-ikea);
--td-2xl: 700 3rem/1.2 var(--ff-ikea);
--td-3xl: 700 4rem/1.2 var(--ff-ikea);
font: 16px/1.4 var(--ff-ikea);
}
.turbo-progress-bar {
height: 3px;
background-color: #0058a3;
}
body {
margin: 0;
display: flex;
flex-direction: column;
gap: 0;
min-height: 100vh;
min-height: 100svh;
-webkit-font-smoothing: antialiased;
touch-action: manipulation;
background-color: var(--clr-white);
}
button {
cursor: pointer;
}
ul[class] {
margin: 0;
padding: 0;
list-style: none;
}
header {
background-color: var(--clr-white);
position: fixed;
inset: 16px 16px auto 16px;
padding: 14px 16px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0px 2px 2px 0px #0000000A;
z-index: 100;
> a {
flex-grow: 1;
max-width: 203px;
}
}
.language-button {
display: flex;
justify-content: center;
align-items: center;
aspect-ratio: 1;
background-color: var(--clr-sand);
border: none;
border-radius: 50%;
width: 36px;
cursor: pointer;
svg {
display: none;
&:nth-child(1) {
display: block;
}
}
&[aria-expanded="true"] {
svg:nth-child(1) {
display: none;
}
svg:nth-child(2) {
display: block;
}
}
}
#language-menu {
position: absolute;
inset: 0 0 auto 0;
z-index: 90;
background-color: var(--clr-sand);
padding: calc(16px + 64px + 32px) 16px 16px 16px;
& h2 {
font: var(--td-xl);
font-weight: 400;
margin: 0 0 16px 0;
}
& ul {
font: var(--td-base);
border-top: 1px solid var(--clr-black);
}
& li {
border-bottom: 1px solid var(--clr-black);
padding: 12px 0;
position: relative;
min-height: 56px;
}
& a {
text-decoration: none;
color: var(--clr-black);
display: flex;
align-items: center;
min-height: 32px;
&.current {
font-weight: 700;
}
&::after {
content: "";
position: absolute;
right: 0;
width: 32px;
aspect-ratio: 1;
border-radius: 50%;
background-color: var(--clr-green);
background-image: url("ico-arrow-right.svg");
background-repeat: no-repeat;
background-position: 50% 50%;
}
}
}
.intro-container {
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);
flex-shrink: 0;
text-align: center;
padding: 24px 24px 16px 24px;
}
& h1 {
font: var(--td-xl);
font-weight: 400;
margin: 0 auto 8px auto;
}
& p {
max-width: 32ch;
margin: 0 auto 24px auto;
}
& .cta + * {
margin-top: 12px;
}
}
.cta {
display: flex;
align-items: center;
justify-content: center;
background-color: var(--clr-green);
background-image: url("ico-arrow-right.svg");
background-repeat: no-repeat;
background-position: 16px 50%;
max-width: 280px;
border-radius: 100vw;
height: 3em;
margin: 0 auto;
font-weight: 700;
color: var(--clr-black);
text-decoration: none;
}
.play-time {
font: var(--td-s);
display: inline-flex;
gap: 0.4em;
align-items: center;
}