-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.css
361 lines (329 loc) Β· 7.25 KB
/
global.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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
/* Reset default browser styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Font For Site */
@font-face {
font-family: "Forager";
src: local("Forager Bold"), local("Forager-Bold"),
url("fonts/Forager-Bold.woff2") format("woff2"),
url("fonts/Forager-Bold.woff") format("woff"),
url("fonts/Forager-Bold.ttf") format("truetype");
font-style: normal;
}
@font-face {
font-family: "CloudySunday";
src: local("CloudySunday"), local("CloudySunday"),
url("fonts/CloudySunday.otf") format("otf"),
url("fonts/CloudySunday.ttf") format("truetype");
font-style: normal;
}
/* HTML css */
html {
-webkit-tap-highlight-color: transparent;
scroll-behavior: smooth;
font-family: Forager;
}
/* A11y */
::-moz-selection {
color: #eeeeee;
background: #052e16;
}
::selection {
color: #eeeeee;
background: #052e16;
}
::-webkit-scrollbar {
display: none;
}
/* Body base designs */
body {
overflow-x: hidden;
background: linear-gradient(
137deg,
rgb(42, 171, 207) 0%,
rgba(0, 155, 186, 1) 100%
);
}
/* Hero styles for landing */
header {
min-height: 100vh;
text-align: center;
padding-top: 8rem;
display: grid;
font-family: CloudySunday !important;
place-items: center;
overflow-wrap: break-word;
background: linear-gradient(
137deg,
rgb(50, 154, 238) 0%,
rgba(0, 155, 186, 1) 100%
);
h1 {
font-weight: 900;
max-width: 70%;
margin: 5rem 0px;
font-size: 2.5rem;
color: #ebebeb;
line-height: 1;
overflow-wrap: break-word;
text-shadow: -2px 2px 0 #000, 2px 2px 0 #000, 2px -2px 0 #000,
-2px -2px 0 #000;
@media (min-width: 768px) {
font-size: 5rem;
}
}
section {
width: 100vw;
height: 40vh;
background: rgb(225, 170, 95);
filter: contrast(1.2);
background: radial-gradient(
circle,
rgba(225, 170, 95, 1) 0%,
rgba(144, 90, 57, 1) 100%
);
.plant {
filter: contrast(0.8) !important;
margin: 0 2rem;
}
}
}
/* Facts section */
section:has(> article) {
background: linear-gradient(
to bottom,
rgb(35, 116, 182) 0%,
rgb(19, 61, 139) 100%
);
display: flex;
flex-direction: column;
gap: 2rem;
padding-left: 2rem;
padding-right: 2rem;
padding-top: 3rem;
padding-bottom: 3rem;
article {
display: grid;
place-items: center;
border-radius: 2rem;
border-width: 0.3rem;
border-style: dashed;
border-color: #052e16;
background: rgb(225, 170, 95);
background: radial-gradient(
circle,
rgba(225, 170, 95, 1) 10%,
rgba(144, 90, 57, 1) 35%
);
@media (min-width: 768px) {
font-size: 4.25rem;
min-height: 60vh;
padding: 3rem 1rem;
}
p,
ul {
max-width: 90%;
text-align: justify;
margin: 2rem 0px;
font-size: 1rem;
letter-spacing: 0.025em;
@media (min-width: 768px) {
margin-top: 0.3rem;
font-size: 1.9rem;
max-width: 60%;
}
}
h2 {
margin: 2rem 0px;
color: #052e16;
text-shadow: -2px 2px 0 #fff, 2px 2px 0 #fff, 2px -2px 0 #fff,
-2px -2px 0 #fff;
letter-spacing: 0.05em;
font-size: 2rem;
font-family: CloudySunday;
font-weight: 870;
letter-spacing: 0.025em;
overflow-wrap: break-word;
max-width: 90%;
margin-bottom: 0.6rem;
text-align: center;
line-height: 2.8rem;
text-decoration: underline;
text-decoration-style: wavy;
text-underline-offset: 8px;
@media (min-width: 768px) {
font-size: 4.25rem;
line-height: 6rem;
max-width: 77%;
margin-bottom: 0.5em;
}
}
}
}
/* CTO */
.action-call {
width: 90vw;
display: grid;
margin: 3rem auto;
padding: 3rem 2rem;
border-radius: 2rem;
background-color: #ffffff21;
backdrop-filter: blur(12px);
place-items: center;
h2 {
text-align: center;
letter-spacing: 0.05em;
font-size: 2.25rem;
font-family: CloudySunday;
font-weight: 870;
text-shadow: -4px 4px 0 #052e16, 4px 4px 0 #052e16, 4px -4px 0 #052e16,
-4px -4px 0 #052e16;
color: #fff;
letter-spacing: 0.025em;
max-width: 95%;
@media (min-width: 768px) {
font-size: 4.25rem;
line-height: 6rem;
max-width: 77%;
margin-bottom: 0.5em;
}
}
p {
text-align: center;
filter: contrast(1.3);
max-width: 90%;
text-align: justify;
margin: 2rem 0px;
color: #052e16;
font-size: 1rem;
letter-spacing: 0.025em;
@media (min-width: 768px) {
margin-top: 0.3rem;
font-size: 1.9rem;
max-width: 60%;
}
}
a {
padding-top: 1.5rem;
padding-bottom: 1.5rem;
padding-left: 1.7rem;
padding-right: 1.7rem;
border-radius: 2rem;
background: linear-gradient(137deg, #052e16 0%, #076e32 100%);
color: white;
display: inline-flex;
font-family: CloudySunday;
text-decoration: none;
font-size: 1.5rem;
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 300ms;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
&:hover {
transform: scale(1.1);
}
@media (min-width: 768px) {
transform: scale(1.02);
scale: 1.3;
}
}
}
/* Testimonials section */
.testimonial {
min-height: 100vh;
display: grid;
place-items: center;
gap: 0px;
background: linear-gradient(
to top,
rgb(35, 116, 182) 0%,
rgb(19, 61, 139) 100%
);
h2 {
font-family: CloudySunday;
color: rgb(214, 214, 214);
text-align: center;
letter-spacing: 0.05em;
text-shadow: -2px 2px 0 #fff, 2px 2px 0 #fff, 2px -2px 0 #fff,
-2px -2px 0 #fff;
font-size: 2.25rem;
@media (min-width: 768px) {
font-size: 4.25rem;
line-height: 6rem;
max-width: 77%;
margin-bottom: 0.5em;
}
}
p {
display: block;
margin: 0 auto;
border-radius: 1.1rem;
background: linear-gradient(144deg, #076e32 100%, #052e16af 10%);
padding: 3rem 2rem;
font-size: larger;
overflow-wrap: break-word;
}
}
/* Events Section */
.events {
width: 100vw;
overflow-x: hidden;
padding: 3rem 4rem;
background: #052e16;
overflow-wrap: break-word;
h2 {
color: white;
font-family: CloudySunday;
margin-bottom: 1rem;
font-size: 2rem;
line-height: 1;
}
p {
color: rgb(192, 192, 192);
max-width: 70%;
margin-top: 1rem;
font-size: larger;
a {
background-color: white;
color: #052e16;
padding: 1px 5px;
}
}
}
/* Last quote in footer */
footer {
display: grid;
place-items: center;
padding: 4rem 2rem;
background: linear-gradient(
to bottom,
rgb(35, 116, 182) 0%,
rgb(19, 61, 139) 100%
);
p {
height: 65vh;
color: aliceblue;
display: grid;
place-items: center;
align-items: center;
border-radius: 1rem;
font-weight: bold;
letter-spacing: 0.05rem;
backdrop-filter: blur(5px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
0 4px 6px -2px rgba(0, 0, 0, 0.05);
background: linear-gradient(
to bottom,
rgb(19, 61, 139) 0%,
rgb(35, 116, 182) 100%
);
border: 1.1rem double #fff;
line-height: 1;
font-size: 2.8rem;
padding: 0rem 3.5rem;
overflow-wrap: break-word;
}
}