-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
259 lines (222 loc) · 4.14 KB
/
styles.css
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,700;1,300&display=swap');
html,
body {
font-family: 'DM Sans', sans-serif;
margin: 0;
}
.attribution {
display: block;
font-size: 0.8rem;
text-decoration: none;
margin: -5px auto;
padding: 0.2rem 0.5rem;
border-bottom-right-radius: 0.4rem;
border-bottom-left-radius: 0.4rem;
color: #FE1B02;
background-color: #fff;
width: fit-content;
}
button {
font-size: 1rem;
background-color: #fff;
padding: 0.5rem 2rem;
color: #FE1B02;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.2rem;
border-radius: 0.5rem;
border: none;
transition: background-color 0.2s ease-in-out;
}
button:hover {
color: #fff;
background-color: #333;
cursor: pointer;
}
header {
background-color: #FE1B02;
display: flex;
align-items: center;
padding: 0.5rem 2rem;
border-bottom: 2px solid #ffffffaa;
}
header #logo {
display: flex;
align-items: center;
flex-grow: 1;
gap: 20px;
}
header #logo img {
height: 50px;
width: 50px;
border: 2px solid #fff;
border-radius: 1rem;
}
header #logo p {
font-size: 24px;
text-transform: uppercase;
letter-spacing: 0.2rem;
color: #fff;
font-weight: bold;
margin: 0;
}
header nav {
font-size: 18px;
text-transform: uppercase;
}
header nav ul {
list-style-type: none;
display: flex;
align-items: center;
padding: 0;
margin: 0;
}
header nav ul li {
margin: 1rem;
}
header nav ul li a {
text-decoration: none;
color: #FE1B02;
font-weight: bold;
display: block;
padding: 0.5rem 1rem;
color: #fff;
letter-spacing: 0.2rem;
transition: background-color 0.2s ease-in-out;
border-radius: 0.5rem;
}
header nav ul li a:hover {
color: #FE1B02;
background-color: #fff;
}
main {
display: flex;
gap: 50px;
padding: 100px 200px;
background-color: #FE1B02CC;
position: relative;
}
main video {
z-index: -1;
position: absolute;
flex: none;
top: 0;
left: 0;
width: 100vw;
height: 100%;
object-fit: fill;
}
main #main-left {
flex: 1;
}
main #main-left h1 {
font-size: 48px;
text-transform: uppercase;
letter-spacing: 0.2rem;
margin: 0;
padding: 0;
color: #fff;
}
main #main-left p {
color: #fff;
}
main #main-right {
flex: 1.5;
}
main #main-right img {
width: 100%;
object-fit: cover;
border-radius: 1rem;
margin: 0;
}
#menu h2 {
text-align: center;
font-size: 36px;
color: #FE1B02;
padding-bottom: 1rem;
}
#menu {
margin: 50px;
}
#menu #menu-items {
display: flex;
justify-content: center;
gap: 50px;
text-align: center;
flex-flow: row wrap;
}
#menu #menu-items div {
width: 250px;
background-color: #FF680B33;
padding: 0.5rem 2rem;
border-radius: 1rem;
}
#menu #menu-items div img {
width: 200px;
height: 200px;
object-fit: cover;
border: 3px solid #FE1B02;
border-radius: 1rem;
margin: 0;
}
#menu #menu-items div .attribution {
background-color: #FF680B;
color: #fff;
}
#menu #menu-items div .title {
font-size: 20px;
font-weight: bold;
color: #FE1B02;
}
#quote {
background-color: #ddd;
margin: 50px 0;
padding: 50px 0;
display: flex;
justify-content: center;
}
#quote blockquote {
display: flex;
flex-flow: column wrap;
}
#quote blockquote p {
font-size: 36px;
font-weight: lighter;
font-style: italic;
margin: 0;
padding: 0;
}
#quote blockquote cite {
width: fit-content;
align-self: flex-end;
margin-top: 20px;
font-style: normal;
}
#modal {
background-color: #FF680B;
margin: 50px 200px;
padding: 50px 200px;
display: flex;
border-radius: 1rem;
color: #fff;
gap: 50px;
}
#modal p {
margin: 0;
padding: 0;
}
#modal #title {
font-size: 24px;
font-weight: 600;
}
#modal #modal-right {
flex-shrink: 0;
display: flex;
align-items: center;
}
footer {
padding: 30px;
background-color: #333;
color: #fff;
text-align: center;
}