1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/** @jsxImportSource https://esm.sh/react */
import React, { useEffect, useRef, useState } from "https://esm.sh/react";
import { createRoot } from "https://esm.sh/react-dom/client";
import styled, { createGlobalStyle, keyframes } from "https://esm.sh/styled-components";
const GlobalStyle = createGlobalStyle`
body {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
background-color: #FFFFFF;
color: #1D1D1D;
line-height: 1.6;
overflow-x: hidden;
}
`;
const Container = styled.div`
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
`;
const Header = styled.header`
display: flex;
justify-content: space-between;
align-items: center;
background-color: transparent;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
padding: 24px;
`;
const LogoBase = styled.h1`
font-family: 'Playfair Display', serif;
font-size: 39.744px;
color: #FFFFFF;
margin: 0 0 0 -26.496px;
padding: 13.248px 26.496px;
position: relative;
display: inline-block;
font-weight: 700;
&::after {
content: '';
position: absolute;
left: 0;
top: 50%;
width: 52%;
height: 3.588px;
background-color: #E63946;
}
`;
const Logo = styled(LogoBase)`
background-color: #000000;
&::after {
background-color: #E63946;
}
`;
const FooterLogo = styled(LogoBase)`
background-color: #000000;
&::after {
background-color: #E63946;
}
`;
const BurgerMenu = styled.div`
cursor: pointer;
background-color: #000000;
color: #FFFFFF;
width: 60px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
font-size: 28.8px;
font-weight: bold;
`;
const slideIn = keyframes`
from {
transform: translateX(100%);
}
to {
transform: translateX(0);
}
`;
const fadeIn = keyframes`
from {
opacity: 0;
}
to {
opacity: 1;
}