-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
241 lines (228 loc) · 4.52 KB
/
index.css
File metadata and controls
241 lines (228 loc) · 4.52 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
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
/* Fullscreen centered layout */
html,
body {
margin: 0;
padding: 0;
height: 100%;
background-color: #f7b6c8;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
font-family: "Helvetica Neue", sans-serif;
}
/* Container for title + links */
.container {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
width: 100%;
height: 100vh;
position: relative;
z-index: 1;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
}
/* Main title styling */
.hover-text {
font-size: clamp(4rem, 12vw, 10rem);
font-weight: 900;
letter-spacing: 0.05em;
pointer-events: none;
z-index: 0;
}
.hover-text span {
pointer-events: all;
display: inline-block;
transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
transform-origin: center center;
will-change: transform;
color: #fce87d;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
/* Nav links below title */
.nav-links {
margin-top: 2rem;
display: flex;
gap: 2.5rem;
justify-content: center;
flex-wrap: wrap;
position: relative;
z-index: 2;
}
.nav-links a {
font-size: 1.5rem;
font-weight: 600;
color: #fce87d;
text-decoration: none;
transition: color 0.3s ease, transform 0.3s ease;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
position: relative;
}
/* Hover effect for all links */
.nav-links a .text {
position: relative;
display: inline-block;
}
.nav-links a:hover .text {
color: #fff;
}
.nav-links a .text::before {
content: "";
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 100%;
height: 100%;
background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/33/Monstera_deliciosa_1.jpg"); /* Replace with your monstera leaf image URL */
background-size: 150%;
background-repeat: no-repeat;
opacity: 0;
z-index: -1;
transition: opacity 0.3s ease-in-out, transform 1s ease-in-out;
}
.nav-links a:hover .text::before {
opacity: 1;
transform: translateX(-50%) scale(1.5); /* Expand and shift the vines outside */
}
/* Blobs */
.blob {
position: absolute;
width: 500px;
height: 500px;
background: radial-gradient(
circle at 30% 30%,
#ffcc00 0%,
#ff0099 50%,
#6e00ff 100%
);
opacity: 0.8;
animation: blobWiggle 60s ease-in-out infinite, blobRotate 60s linear infinite;
z-index: 0;
mix-blend-mode: normal;
border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
transition: background 1s ease-in-out, border-radius 1s ease-in-out;
}
.blob:nth-of-type(1) {
top: 5%;
left: 5%;
animation-delay: 0s;
}
.blob:nth-of-type(2) {
top: 25%;
left: 75%;
background: radial-gradient(
circle at 70% 40%,
#ff9900 0%,
#ff00cc 50%,
#6600ff 100%
);
animation-delay: 5s;
}
.blob:nth-of-type(3) {
top: 80%;
left: 10%;
background: radial-gradient(
circle at 20% 60%,
#ff8800 0%,
#ff33cc 50%,
#5500ff 100%
);
animation-delay: 10s;
}
.blob:nth-of-type(4) {
top: 10%;
left: 90%;
background: radial-gradient(
circle at 50% 70%,
#ffaa00 0%,
#ff66cc 50%,
#4400ff 100%
);
animation-delay: 15s;
}
.blob:nth-of-type(5) {
top: 60%;
left: 5%;
background: radial-gradient(
circle at 40% 40%,
#ffcc00 0%,
#ff33aa 50%,
#3300ff 100%
);
animation-delay: 20s;
}
.blob:nth-of-type(6) {
top: 85%;
left: 80%;
background: radial-gradient(
circle at 60% 50%,
#ffbb00 0%,
#ff00aa 50%,
#2200ff 100%
);
animation-delay: 25s;
}
.blob:nth-of-type(7) {
top: 35%;
left: 45%;
background: radial-gradient(
circle at 50% 50%,
#ffee00 0%,
#ff3399 50%,
#1100ff 100%
);
animation-delay: 30s;
}
.blob:nth-of-type(8) {
top: 3%;
left: 8%;
background: radial-gradient(
circle at 60% 60%,
#ff99cc 0%,
#cc00ff 50%,
#4400ff 100%
);
animation-delay: 35s;
}
.blob:nth-of-type(9) {
top: 12%;
left: 22%;
background: radial-gradient(
circle at 50% 50%,
#ff77aa 0%,
#dd00ee 50%,
#3300cc 100%
);
animation-delay: 40s;
}
.blob:nth-of-type(10) {
top: 18%;
left: 2%;
background: radial-gradient(
circle at 40% 60%,
#ffaaee 0%,
#cc00cc 50%,
#2200aa 100%
);
animation-delay: 45s;
}
@keyframes blobWiggle {
0% {
transform: translate(0, 0) scale(1);
border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
15% {
transform: translate(8vw, -5vh) scale(1.1);
border-radius: 65% 35% 45% 55% / 55% 45% 55% 45%;
}
30% {
transform: translate(-12vw, 10vh) scale(0.95);
border-radius: 70% 30% 50% 50% / 50% 50% 30% 70%;
}
}