-
Notifications
You must be signed in to change notification settings - Fork 0
/
src.css
632 lines (615 loc) · 18.1 KB
/
src.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
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
font-family: "Inter var";
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url("./Inter-roman.var.woff2?v=3.19") format("woff2");
font-named-instance: "Regular";
}
@font-face {
font-family: "Inter var";
font-style: italic;
font-weight: 100 900;
font-display: swap;
src: url("./Inter-italic.var.woff2?v=3.19") format("woff2");
font-named-instance: "Italic";
}
:root {
font-family: "Inter var", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Noto Color Emoji";
@apply scroll-smooth;
}
body {
@apply bg-slate-950 text-white antialiased;
}
h2 {
@apply text-base font-semibold leading-7 text-indigo-400;
}
h3 {
@apply mt-2 text-3xl font-bold tracking-tight text-white sm:text-4xl;
}
img {
@apply pointer-events-none select-none;
}
.divide-header {
@apply mt-12 flex items-center gap-x-4;
}
.divide-header > h4 {
@apply flex-none text-base font-semibold leading-6 text-indigo-500;
}
.divide-header > h4 + hr {
@apply !mb-0 !mt-0.5 h-px flex-auto bg-gray-500;
}
p.outro,
h2 + h3 + p {
@apply mt-6 text-lg opacity-60 lg:text-xl;
}
.icon-glow-12,
.icon-glow-20,
.icon-glow {
background: url(glow.svg) 50% no-repeat;
background-size: contain;
}
.icon-glow-12 {
@apply h-12 w-12;
}
.icon-glow-12 > svg {
@apply mx-auto mt-2 h-6 w-6 text-indigo-300 drop-shadow-sm;
}
.icon-glow-20 {
@apply -ml-3 -mt-4 h-20 w-20 pt-2;
}
.icon-glow-20 > svg {
@apply mx-auto mt-3 h-10 w-10 text-indigo-300 drop-shadow-sm;
}
/* --- header --- */
body > header {
@apply fixed inset-x-0 top-0 z-50;
}
body.scrolled > header {
@apply bg-slate-950/80 backdrop-blur;
}
body > header > nav {
@apply flex items-center justify-between p-2 px-6 lg:px-8;
}
body > header > nav > .logo {
@apply -m-1.5 flex p-1.5 lg:flex-1;
}
body > header > nav > .logo img {
@apply h-12 w-auto;
}
body > header > nav > ul button,
body > header > nav > button.mobile-button {
@apply -m-2.5 flex items-center justify-center rounded-md p-2.5 text-gray-400 lg:hidden;
}
body > header > nav > button.mobile-button > svg {
@apply h-6 w-6;
}
body > header > nav > ul button {
@apply fixed right-5 top-4 lg:hidden;
}
body > header > nav > ul button > svg {
@apply h-8 w-8;
}
header > nav > ul {
@apply fixed bottom-0 right-0 top-0 hidden w-full max-w-sm bg-slate-900/80 p-6 backdrop-blur;
@apply lg:relative lg:flex lg:w-auto lg:max-w-none lg:gap-x-12 lg:bg-transparent lg:p-0 lg:backdrop-blur-none;
}
header > nav > ul.opened {
@apply isolate block h-screen backdrop-blur lg:flex;
}
body.scrolled header > nav > ul.opened {
@apply bg-slate-900;
}
header > nav li {
@apply my-5 lg:m-0;
}
header > nav li:last-of-type {
@apply mt-12 border-t border-t-slate-700 pt-6 lg:hidden;
}
header > nav a {
@apply text-sm font-semibold transition-opacity hover:opacity-80;
}
header > nav .book {
@apply hidden lg:flex lg:flex-1 lg:justify-end;
}
header > nav .book a {
@apply rounded-full bg-indigo-600 py-1.5 pl-4 pr-3 text-sm font-semibold text-white shadow-sm transition-all duration-300 hover:bg-indigo-600 hover:shadow-xl hover:shadow-indigo-900 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-400;
}
/* --- hero --- */
#hero {
@apply relative isolate overflow-hidden;
}
#hero > svg:first-of-type {
@apply absolute inset-0 -z-10 h-full w-full stroke-white/10 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)];
}
#hero > div:first-of-type {
@apply absolute left-[calc(50%-4rem)] top-10 -z-10 transform-gpu blur-3xl sm:left-[calc(50%-18rem)] lg:left-48 lg:top-[calc(50%-30rem)] xl:left-[calc(50%-24rem)];
}
#hero > div:first-of-type > div {
@apply aspect-[1108/632] w-[69.25rem] bg-gradient-to-r from-[#80acff] to-[#072450] opacity-20;
clip-path: polygon(
73.6% 51.7%,
91.7% 11.8%,
100% 46.4%,
97.4% 82.2%,
92.5% 84.9%,
75.7% 64%,
55.3% 47.5%,
46.5% 49.4%,
45% 62.9%,
50.3% 87.2%,
21.3% 64.1%,
0.1% 100%,
5.4% 51.1%,
21.4% 63.9%,
58.9% 0.2%,
73.6% 51.7%
);
}
#hero > .content {
@apply mx-auto max-w-3xl px-6 pt-28 text-center sm:pt-44 lg:px-8 lg:pt-48;
}
#hero > .content > img {
@apply mx-auto mb-24 h-7;
}
#hero > .content h1 {
@apply bg-gradient-to-t from-blue-200 to-white bg-clip-text text-4xl font-bold tracking-tight text-transparent md:text-6xl lg:text-7xl;
}
#hero > .content h2.intro {
@apply mt-6 text-xl font-normal leading-8 tracking-tight text-gray-300 lg:text-2xl;
}
#hero > .content .buttons {
@apply mt-10 flex items-center justify-center gap-x-6;
}
#hero > .content .buttons a.button {
@apply rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm transition-all duration-300 hover:bg-indigo-600 hover:shadow-xl hover:shadow-indigo-900 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-400;
}
#hero > .content .buttons a:not(.button) {
@apply text-sm font-semibold transition-opacity hover:opacity-80;
}
.logos {
@apply bg-gradient-to-b from-transparent to-slate-900/30 py-px;
}
.logos > div {
@apply mx-auto mb-16 mt-40 grid max-w-lg grid-cols-6 items-center gap-x-3 gap-y-2 px-6 opacity-80 sm:mt-52 sm:grid-cols-6 sm:gap-x-8 md:max-w-4xl md:grid-cols-5 lg:px-8;
}
.logos > div > img {
@apply col-span-2 h-8 w-full object-contain md:col-span-1 md:h-10;
}
.logos > div > img:nth-of-type(4) {
@apply col-span-2 col-start-2 h-8 w-full object-contain md:col-span-1 md:h-10;
}
.logos > div > img:last-of-type {
@apply col-span-2 col-start-auto h-8 w-full object-contain md:col-span-1 md:h-10;
}
/* --- how --- */
#how {
@apply relative isolate overflow-hidden bg-slate-900/30 pb-16 pt-32 text-white sm:pt-48;
}
#how > div:first-of-type {
@apply absolute inset-x-0 top-12 -z-10 transform-gpu overflow-hidden px-36 blur-3xl;
}
#how > div:first-of-type > div {
@apply mx-auto aspect-[1155/678] w-[72.1875rem] bg-gradient-to-tr from-[#80acff] to-[#072450] opacity-30;
clip-path: polygon(
74.1% 44.1%,
100% 61.6%,
97.5% 26.9%,
85.5% 0.1%,
80.7% 2%,
72.5% 32.5%,
60.2% 62.4%,
52.4% 68.1%,
47.5% 58.3%,
45.2% 34.5%,
27.5% 76.7%,
0.1% 64.9%,
17.9% 100%,
27.6% 76.8%,
76.1% 97.7%,
74.1% 44.1%
);
}
#how > .content {
@apply mx-auto grid max-w-2xl grid-cols-1 gap-x-8 gap-y-16 px-6 pb-4 sm:gap-y-20 lg:max-w-7xl lg:grid-cols-2 lg:px-8;
}
#how .content > figure {
@apply pointer-events-none relative mb-px w-[48rem] max-w-none rounded-xl bg-slate-900/80 shadow-xl shadow-indigo-900/10 ring-1 ring-white/10 drop-shadow-xl sm:w-[57rem] md:-ml-4 lg:-ml-0;
}
#how .content > figure img {
@apply h-full w-full rounded-xl;
}
#how .content > figure:after {
content: "";
@apply absolute -bottom-px -right-px -top-px z-50 w-1/2 bg-gradient-to-r from-transparent via-[#070B1E50] to-[#070B1E] xl:block;
}
#how .content dl {
@apply mt-10 max-w-xl space-y-5 text-base text-gray-300 lg:max-w-none;
}
#how .content dl > div {
@apply relative pl-11;
}
#how .content dl > div > dt {
@apply mb-2 font-semibold text-white;
}
#how .content dl > div > dt > div {
@apply icon-glow-12 absolute -left-2 -top-1.5;
}
#how .content dl > div > dt > div svg {
@apply h-6 w-6;
}
#how .content dl > div > dd {
@apply text-md leading-normal opacity-80;
}
/* --- benefits --- */
#benefits {
@apply bg-slate-900/30 pb-28 pt-20 sm:pb-48 sm:pt-32;
}
#benefits > div:first-of-type {
@apply mx-auto max-w-7xl px-6 lg:px-12;
}
#benefits > div:first-of-type h3 > div {
@apply mt-2 inline lg:block;
}
#benefits > div.content {
@apply mx-auto mt-16 max-w-7xl px-6 sm:mt-20 md:mt-24 lg:px-12;
}
#benefits dl {
@apply grid max-w-xl grid-cols-1 gap-x-8 gap-y-12 sm:max-w-none sm:grid-cols-2 sm:gap-y-16 lg:grid-cols-3;
}
#benefits dl > div {
@apply flex flex-col;
}
#benefits dt {
@apply font-semibold;
}
#benefits dd {
@apply text-md mt-3 opacity-60;
}
/* --- testimonial --- */
#testimonial {
@apply relative z-10 bg-slate-900/50 pb-20 sm:pb-24 xl:pb-0;
}
#testimonial > div:first-of-type {
@apply absolute inset-0 overflow-hidden;
}
#testimonial > div:first-of-type > div {
@apply absolute left-[calc(50%-19rem)] top-[calc(50%-36rem)] transform-gpu blur-3xl;
}
#testimonial > div:first-of-type > div > div {
@apply aspect-[1097/1023] w-[68.5625rem] bg-gradient-to-r from-[#80acff] to-[#072450] opacity-25;
clip-path: polygon(
74.1% 44.1%,
100% 61.6%,
97.5% 26.9%,
85.5% 0.1%,
80.7% 2%,
72.5% 32.5%,
60.2% 62.4%,
52.4% 68.1%,
47.5% 58.3%,
45.2% 34.5%,
27.5% 76.7%,
0.1% 64.9%,
17.9% 100%,
27.6% 76.8%,
76.1% 97.7%,
74.1% 44.1%
);
}
#testimonial .content {
@apply mx-auto flex max-w-7xl flex-col items-center gap-x-8 gap-y-10 px-6 sm:gap-y-8 lg:px-8 xl:flex-row xl:items-stretch;
}
#testimonial .content .client-image {
@apply -mt-8 w-full max-w-2xl xl:-mb-8 xl:w-96 xl:flex-none;
}
#testimonial .content .client-image > div {
@apply relative aspect-[2/1] h-full rounded-2xl shadow-2xl md:-mx-8 xl:mx-0 xl:aspect-auto;
background: var(--client-image) 50% no-repeat;
background-position-y: 20%;
background-size: cover;
}
#testimonial .content .tesimonial {
@apply w-full max-w-2xl xl:max-w-none xl:flex-auto xl:px-16 xl:py-24;
}
#testimonial .content figure {
@apply relative isolate pt-6 sm:pt-12;
}
#testimonial .content .quote {
@apply absolute -left-4 -top-44 -z-10 font-serif text-[30rem] opacity-10;
}
#testimonial .content blockquote {
@apply text-xl font-semibold leading-8 text-white sm:text-2xl sm:leading-9;
}
#testimonial .content figcaption {
@apply mt-8 text-base;
}
/* --- scope --- */
#scope {
@apply bg-slate-900/30 pt-20 sm:pt-56;
}
#scope .content {
@apply mx-auto grid max-w-6xl grid-cols-1 gap-x-8 gap-y-16 px-6 sm:gap-y-20 lg:grid-cols-5 lg:px-8;
}
#scope .content > div:first-of-type {
@apply col-span-2;
}
#scope .content > div:last-of-type {
@apply col-span-3;
}
#scope .content > div:last-of-type h4 {
@apply mb-4 text-lg font-semibold;
}
#scope .content > div:last-of-type h4:not(:first-of-type) {
@apply mt-12;
}
#scope .content ul {
@apply grid grid-cols-2 gap-x-2 gap-y-3 text-base font-medium md:grid-cols-3 lg:grid-cols-2 xl:grid-cols-3;
}
#scope .content ul li {
@apply text-md relative pl-8 text-slate-200 opacity-90;
}
#scope .content ul li:before {
content: "✓";
@apply absolute left-0 top-0 h-5 w-5 text-xl text-indigo-500;
}
/* --- team --- */
#team {
@apply mx-auto bg-slate-900/30 pb-20 pt-28 sm:pt-44;
}
#team .content {
@apply mx-auto grid max-w-6xl grid-cols-1 gap-x-8 gap-y-16 px-6 sm:gap-y-20 lg:px-8 xl:grid-cols-5;
}
#team .content > div {
@apply col-span-2;
}
#team .content ul {
@apply col-span-3 mx-auto grid grid-cols-3 gap-x-4 gap-y-8 md:grid-cols-6;
}
#team .content ul img {
@apply aspect-square w-full rounded-xl object-cover;
}
#team .content ul h3 {
@apply mt-6 flex items-center text-base font-semibold tracking-tight;
}
#team .content ul h3 a {
@apply opacity-50 transition-opacity hover:opacity-90;
}
#team .content ul h3 a svg,
#team .content ul h3 a img {
@apply ml-4 h-5 w-5;
}
#team .content ul p {
@apply text-sm opacity-60;
}
/* --- pricing --- */
#pricing {
@apply relative isolate bg-slate-900/30 pt-20 text-white sm:pt-40;
}
#pricing > div:first-of-type {
@apply absolute inset-x-0 -top-3 -z-10 transform-gpu overflow-hidden px-36 blur-3xl;
}
#pricing > div:first-of-type > div {
@apply mx-auto aspect-[1155/678] w-[72.1875rem] bg-gradient-to-tr from-[#80acff] to-[#072450] opacity-30;
clip-path: polygon(
74.1% 44.1%,
100% 61.6%,
97.5% 26.9%,
85.5% 0.1%,
80.7% 2%,
72.5% 32.5%,
60.2% 62.4%,
52.4% 68.1%,
47.5% 58.3%,
45.2% 34.5%,
27.5% 76.7%,
0.1% 64.9%,
17.9% 100%,
27.6% 76.8%,
76.1% 97.7%,
74.1% 44.1%
);
}
#pricing > .content {
@apply mx-auto max-w-2xl px-6 text-center lg:max-w-4xl lg:px-8;
}
#pricing .single-price-wrapper {
@apply px-6 lg:px-8;
}
#pricing .single-price {
@apply mx-auto mt-12 grid grid-cols-1 items-center gap-6 sm:mt-16 lg:max-w-6xl lg:grid-cols-8;
@apply rounded-3xl bg-slate-900/50 p-4 ring-1 ring-gray-800;
}
#pricing .single-price > div:first-of-type {
@apply p-6 pt-8 lg:col-span-5;
}
#pricing .single-price ul {
@apply columns-2 content-start;
}
#pricing .single-price > div:last-of-type {
@apply h-full rounded-2xl p-6 text-center lg:col-span-3;
@apply flex flex-col bg-gradient-to-b from-slate-700/30 to-slate-700/10 shadow-xl;
}
#pricing .single-price > div:last-of-type > div {
@apply m-auto py-6 lg:pb-20;
}
#pricing .single-price > div:last-of-type > div > p:last-of-type {
@apply mt-12 opacity-60;
}
#pricing .single-price .pre-price {
@apply text-md leading-7 opacity-70;
}
#pricing > .plans {
@apply mx-auto mt-12 grid grid-cols-1 items-center gap-y-6 px-6 sm:mt-16 md:max-w-6xl md:grid-cols-3 lg:px-10;
}
#pricing > .plans > div:first-of-type {
@apply h-full rounded-3xl rounded-t-3xl bg-slate-900/50 p-8 pb-12 ring-1 ring-gray-800 sm:mx-8 md:mx-0 md:rounded-bl-3xl md:rounded-br-none md:rounded-tr-none lg:p-10 lg:pb-14;
}
#pricing > .plans > div:nth-of-type(2) {
@apply h-full rounded-3xl rounded-t-3xl bg-slate-900/50 p-8 pb-12 ring-1 ring-gray-800 sm:mx-8 md:mx-0 md:rounded-none lg:p-10 lg:pb-14;
}
#pricing > .plans > div:last-of-type {
@apply h-full rounded-3xl rounded-t-3xl bg-slate-900/50 p-8 pb-12 ring-1 ring-gray-800 sm:mx-8 md:mx-0 md:rounded-bl-none md:rounded-br-3xl md:rounded-tl-none lg:p-10 lg:pb-14;
}
#pricing > .plans h3 {
@apply text-xl font-semibold leading-7 text-indigo-400;
}
#pricing > .plans h3 + p {
@apply text-md mb-6 leading-7 opacity-80;
}
#pricing > .plans .price,
#pricing .single-price .price {
@apply mt-10 flex items-baseline gap-x-2 text-4xl font-bold tracking-tight;
}
#pricing .single-price .price {
@apply mx-auto mt-1 w-fit;
}
#pricing > .plans .price span,
#pricing .single-price .price span {
@apply text-base font-medium opacity-60;
}
#pricing > .plans .billing-cycle,
#pricing .single-price .billing-cycle {
@apply text-xs leading-7 opacity-70;
}
#pricing .button {
@apply mt-8 block rounded-md bg-indigo-600 px-3.5 py-4 text-center text-base font-semibold text-white shadow-sm transition-all hover:bg-indigo-500 hover:shadow-xl hover:shadow-indigo-900 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-500 sm:mt-10;
}
#pricing .button + a {
@apply mx-auto mt-3 block w-fit border-b text-sm font-medium transition-opacity hover:opacity-80;
}
#pricing hr {
@apply my-16 opacity-30;
}
#pricing ul {
@apply text-md my-8 space-y-3 opacity-80;
}
#pricing ul li {
@apply relative !mb-2 !mt-0 pl-6 opacity-90;
}
#pricing ul li:before {
content: "✓";
@apply absolute -left-0.5 -top-1 h-5 w-5 text-lg text-indigo-500;
}
/* --- faq --- */
#faq {
@apply mx-auto bg-slate-950 pb-20;
}
#faq > div:first-of-type {
@apply h-32 bg-gradient-to-b from-slate-900/30 to-slate-950 py-px sm:h-44;
}
#faq > .content {
@apply mx-auto max-w-2xl px-6 lg:max-w-4xl lg:px-8;
}
#faq > .content h3 {
@apply mb-12;
}
#faq details {
@apply mt-6 divide-white/10 border-t border-t-white/10 pt-6;
}
#faq details summary::-webkit-details-marker {
display: none;
}
#faq details summary::marker {
display: none;
}
#faq details summary::-moz-list-bullet {
list-style-type: none;
}
#faq details summary {
@apply flex w-full cursor-pointer items-start justify-between text-lg font-semibold;
}
#faq details:not([open]) summary {
@apply hover:opacity-80;
}
#faq details p {
@apply mt-3 pr-12 text-base opacity-70;
}
#faq details p:not(:first-of-type) {
@apply mt-5;
}
#faq details summary:after {
content: "";
@apply block h-5 w-5 opacity-80 transition-all;
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="white"><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 4.5l7.5 7.5-7.5 7.5" /></svg>');
}
#faq details[open] summary:after {
@apply rotate-90;
}
/* --- start --- */
#start {
@apply relative isolate overflow-hidden;
}
#start .content {
@apply mx-auto max-w-2xl px-6 py-24 text-center sm:px-6 sm:py-32 lg:px-8;
}
#start .content .button {
@apply mt-12 inline-block rounded-full bg-white p-4 text-base font-semibold text-gray-900 shadow-sm transition-all duration-300 hover:bg-indigo-400 hover:text-white hover:shadow-xl hover:shadow-indigo-900 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white;
}
#start > svg {
@apply absolute left-1/2 top-1/2 -z-10 h-[64rem] w-[64rem] -translate-x-1/2 [mask-image:radial-gradient(closest-side,white,transparent)];
}
/* --- footer --- */
body > footer {
@apply mx-auto max-w-7xl overflow-hidden px-6 py-20 sm:py-24 lg:px-8;
}
body > footer > nav {
@apply mx-auto flex w-fit items-center space-x-8;
}
body > footer > nav > a {
@apply my-0 text-center text-sm leading-6 opacity-50 transition-opacity hover:opacity-90;
}
body > footer > p {
@apply mt-10 text-center text-sm leading-5 opacity-50;
}
/* --- loader --- */
#loader {
@apply fixed inset-0 z-50 flex bg-slate-950;
}
#loader svg {
@apply m-auto block h-16 w-16 opacity-70;
}
/* --- slider --- */
#slide-over {
@apply relative z-50 hidden;
}
#slide-over.open {
@apply block;
}
#slide-over > div.backdrop {
@apply fixed inset-0 bg-black/50;
}
@keyframes slider-in {
from {transform: translateX(100%);}
to {transform: translateX(0);}
}
#slide-over > div.content {
@apply fixed bottom-0 right-0 top-0 w-full max-w-sm bg-white;
@apply transform transition duration-500 ease-in-out sm:duration-700;
/* @apply translate-x-full; */
}
#slide-over.open > div.content {
animation-name: slider-in;
animation-duration: 0.5s;
}
#slide-over > div.content iframe {
@apply m-0 -mt-2 h-full w-full border-0;
}
#slide-over > div.content button {
@apply fixed right-3 top-3;
@apply rounded-md text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2;
}
#slide-over > div.content button svg {
@apply h-6 w-6;
}
.person-name {
@apply flex items-center justify-between
}
.person-name svg {
@apply !w-3.5 !h-3.5 !mt-1 mx-1
}