Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
199 lines (175 loc) · 4.92 KB
/
Copy pathstyle.css
File metadata and controls
199 lines (175 loc) · 4.92 KB
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
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
font-family: 'Space Mono', monospace;
color: #fff;
background: #0a0a0a;
}
.bg {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 0;
}
.dots {
position: fixed;
inset: 0;
background-image: radial-gradient(circle, rgba(255,255,255,0.30) 1.2px, transparent 1.2px);
background-size: 26px 26px;
pointer-events: none;
z-index: 1;
animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.6; }
}
.scene {
position: relative;
z-index: 3;
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.eyebrow {
font-size: 13px;
letter-spacing: 0.32em;
color: rgba(255,255,255,0.55);
text-transform: uppercase;
margin-bottom: 18px;
opacity: 0;
animation: fadeUp 0.7s ease forwards 0.2s;
}
.logo-wrap {
margin-bottom: 40px;
opacity: 0;
filter: drop-shadow(0 0 40px rgba(255,255,255,0.06));
animation: fadeUp 0.9s ease forwards 0.5s, logoFloat 6s ease-in-out infinite 1.5s;
}
.logo-img {
width: clamp(340px, 48vw, 580px);
height: auto;
display: block;
}
@keyframes logoFloat {
0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 30px rgba(255,255,255,0.06)); }
50% { transform: translateY(-7px); filter: drop-shadow(0 6px 36px rgba(255,255,255,0.12)); }
}
.about-label {
font-size: 11px;
letter-spacing: 0.28em;
color: rgba(255,255,255,0.5);
text-transform: uppercase;
margin-bottom: 18px;
opacity: 0;
animation: fadeUp 0.7s ease forwards 0.9s;
}
.btn-row {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
opacity: 0;
animation: fadeUp 0.7s ease forwards 1.1s;
}
.btn {
position: relative;
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 20px;
border: 1.5px solid rgba(255,255,255,0.18);
border-radius: 7px;
background: rgba(255,255,255,0.04);
color: #fff;
font-family: 'Space Mono', monospace;
font-size: 11px;
letter-spacing: 0.18em;
text-decoration: none;
cursor: pointer;
overflow: hidden;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
transition:
border-color 0.3s,
box-shadow 0.3s,
transform 0.22s cubic-bezier(.34,1.56,.64,1);
}
.btn::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.07) 50%, transparent 75%);
transform: translateX(-120%);
transition: transform 0.5s ease;
}
.btn::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 1px;
background: rgba(255,255,255,0.55);
transition: width 0.35s ease;
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover::after { width: 75%; }
.btn:hover {
border-color: rgba(255,255,255,0.5);
box-shadow: 0 6px 28px rgba(255,255,255,0.06), 0 2px 6px rgba(0,0,0,0.5);
transform: translateY(-3px) scale(1.03);
}
.btn:active {
transform: translateY(0) scale(0.97);
}
.btn-icon {
width: 15px;
height: 15px;
flex-shrink: 0;
opacity: 0.85;
transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), opacity 0.25s;
}
.btn:hover .btn-icon {
opacity: 1;
transform: scale(1.18);
}
.btn-mail {
padding: 12px 16px;
}
@keyframes fadeUp {
from { opacity: 0; transform: translateY(18px); }
to { opacity: 1; transform: translateY(0); }
}
body::after {
content: '';
position: fixed;
left: 0;
top: -2px;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
animation: scanline 9s linear infinite;
pointer-events: none;
z-index: 999;
}
@keyframes scanline {
from { top: -2px; }
to { top: 100vh; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation: none !important; transition: none !important; }
.eyebrow, .logo-wrap, .about-label, .btn-row { opacity: 1; }
}