-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2025.css
144 lines (131 loc) · 3.44 KB
/
2025.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
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{ box-sizing: border-box; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth;}
html, body { height: 100%; overflow: hidden;}
body {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
margin: 0;
font-family: Poppins;
background: #000;
font-size: calc(var(--_size) * 0.022);
--_factor: min(1000px, 100vh);
--_size: min(var(--_factor), 100vw);
}
#navi {
position: fixed;
top: -4%;
width: 100%;
}
@media (min-width: 640px) { /* sm breakpoint for Tailwind */
#navi {
top: 0%; /* Adjust this value as needed */
}
}
@font-face {
font-family: "San Francisco";
font-weight: 400;
src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff");
}
svg.filters { height:0; width: 0; position: absolute; z-index:-1; }
.header-text {
color: #c8c2bd;
font-size: 3em;
text-align: center;
line-height: 1.0625;
font-weight: 600;
letter-spacing: -0.009em;
}
.glow-filter{
position: relative;
display: inline-block;
scale: 1;
animation: onloadscale 1s ease-out forwards;
}
.glow-filter::before{
content: attr(data-text);
position: absolute;
pointer-events: none;
color: #fffaf6;
background: linear-gradient(0deg, #dfe5ee 0%, #fffaf6 50%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
filter: url(#glow-4);
-moz-filter: url(#glow-4);
-webkit-filter: url(#glow-4);
opacity: 0;
animation: onloadopacity 1s ease-out forwards;
}
@keyframes onloadscale {
24% { scale: 1; }
100% { scale: 1.02; }
}
@keyframes onloadopacity {
24% { opacity: 0; }
100% { opacity: 1; }
}
p {
position: absolute;
color: #86868b;
font-weight: 600;
background: linear-gradient(0deg,#86868b 0%, #bdc2c9 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
top: 0; bottom: 0; margin: auto;
height: fit-content;
translate: 0 12em;
max-width: 28em;
text-align: center;
}
p span {
position: relative;
display: inline-block;
-webkit-text-fill-color:#e7dfd6;
font-weight: 1000;
}
.bg {
width: 100%; height: 100%;
max-width: 44em;
position: absolute;
}
.bg > div {
position: absolute;
scale: 1.2;
opacity: 0.6;
}
.bg > div:nth-child(1) {
width: 100%;
height: 100%;
border-radius: 100em;
box-shadow:
inset 0 0 4em 3em rgba(238, 200, 175, 0.2),
inset 0 0 2em 0.4em rgba(238, 200, 175, 0.2),
0 0 0.1em 0.1em rgba(238, 200, 175, 0.2),
0 0 1em 0.4em rgba(238, 200, 175, 0.3);
translate: 0 -70%;
animation: onloadbgt 1s ease-in-out forwards;
}
.bg > div:nth-child(2) {
width: 100%;
height: 100%;
border-radius: 100em;
box-shadow:
inset 0 0 4em 3em rgba(238, 200, 175, 0.2),
inset 0 0 2em 0.4em rgba(238, 200, 175, 0.2),
0 0 0.1em 0.1em rgba(238, 200, 175, 0.2),
0 0 1em 0.4em rgba(238, 200, 175, 0.3);
translate: 0 70%;
animation: onloadbgb 1s ease-in-out forwards;
}
@keyframes onloadbgt {
0% { translate: 0 -70%; opacity: 0.3; }
100% { translate: 0 -64%; opacity: 0.8; }
}
@keyframes onloadbgb {
0% { translate: 0 70%; opacity: 0.3; }
100% { translate: 0 64%; opacity: 0.8; }
}