-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
618 lines (534 loc) · 15.3 KB
/
main.css
File metadata and controls
618 lines (534 loc) · 15.3 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
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
/* --- 1. VARIABLES Y RESET --- */
:root {
--primary: #00ffcc; /* Verde Esmeralda Neón */
--primary-glow: rgba(0, 255, 204, 0.4);
--secondary: #0066ff; /* Azul Eléctrico para Glitch */
--bg-dark: #020808; /* Negro Profundo */
--glass: rgba(255, 255, 255, 0.03);
--glass-border: rgba(0, 255, 204, 0.2);
--text: #e0fef9;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background: var(--bg-dark);
color: var(--text);
font-family: 'Space Mono', monospace;
height: 100vh;
width: 100vw;
overflow: hidden;
position: relative;
}
/* --- 2. MOTOR VISUAL: NEBULOSA Y PARTÍCULAS --- */
#canvas-bg {
position: fixed;
inset: 0;
z-index: -2;
background: radial-gradient(circle at center, #051a1a 0%, #020808 100%);
}
.nebula-overlay {
position: fixed;
inset: 0;
background:
radial-gradient(circle at 20% 30%, rgba(0, 255, 204, 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.08) 0%, transparent 50%);
z-index: -1;
filter: blur(100px);
animation: nebulaMove 20s infinite alternate ease-in-out;
}
@keyframes nebulaMove {
from { transform: scale(1) translate(0, 0); }
to { transform: scale(1.2) translate(2%, 2%); }
}
/* --- 3. NAVEGACIÓN: DOCK FLOTANTE --- */
.nav-dock {
position: fixed;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
background: var(--glass);
backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
padding: 8px 25px;
border-radius: 100px;
display: flex;
gap: 15px;
z-index: 1000;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.nav-btn {
background: none;
border: none;
color: var(--text);
padding: 10px;
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
transition: 0.3s;
opacity: 0.6;
}
.nav-btn.active {
opacity: 1;
color: var(--primary);
filter: drop-shadow(0 0 8px var(--primary));
}
.btn-label { font-size: 0.6rem; font-weight: bold; }
/* --- 4. SECCIONES (Lógica SPA) --- */
.section {
position: absolute;
inset: 0;
display: none;
justify-content: center;
align-items: center;
padding: 20px;
}
.section.active { display: flex; animation: fadeIn 0.8s forwards; }
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
/* --- 5. EFECTO GLITCH (Hero) --- */
.glitch-title {
font-family: 'Syncopate', sans-serif;
font-size: clamp(3rem, 10vw, 6rem);
position: relative;
color: white;
}
.glitch-title::before, .glitch-title::after {
content: attr(data-text);
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
}
.glitch-title:hover::before {
left: 2px;
text-shadow: -2px 0 var(--secondary);
clip: rect(44px, 999px, 56px, 0);
animation: glitch-anim 2s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
0% { clip: rect(10px, 999px, 40px, 0); }
100% { clip: rect(60px, 999px, 90px, 0); }
}
/* --- 6. ID CARD: GLASSMORPHISM & TIGER --- */
.glass-card {
width: 500px;
background: var(--glass);
backdrop-filter: blur(30px);
border: 1px solid var(--glass-border);
border-radius: 30px;
padding: 40px;
position: relative;
overflow: hidden;
box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}
.card-inner {
display: flex;
gap: 30px;
z-index: 2;
position: relative;
}
.profile-frame {
width: 120px;
height: 120px;
border-radius: 20px;
border: 1px solid var(--primary);
overflow: hidden;
box-shadow: 0 0 20px var(--primary-glow);
}
.profile-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5); }
.tiger-icon {
position: absolute;
bottom: -30px;
right: -20px;
font-size: 8rem;
opacity: 0.04; /* Tigre oculto sutil */
pointer-events: none;
transform: rotate(-15deg);
}
.user-id { color: var(--primary); font-family: 'Syncopate'; font-size: 1.2rem; margin-bottom: 15px; }
.badge {
background: rgba(0, 255, 204, 0.1);
border: 1px solid var(--primary);
padding: 3px 10px;
font-size: 0.6rem;
border-radius: 5px;
margin-right: 5px;
}
.bio-paragraph {
font-family: 'Space Mono', monospace; /* Para ese look de consola */
font-size: 0.85rem;
line-height: 1.6;
color: rgba(255, 255, 255, 0.8);
text-align: left;
margin-bottom: 20px;
}
/* Para que las etiquetas brillen un poco más */
.bio-paragraph b {
color: var(--primary); /* Tu verde neón */
text-shadow: 0 0 5px var(--primary);
}
.open-pitch {
/* Reseteo de estilos base */
background: rgba(255, 0, 68, 0.05); /* Fondo traslúcido tipo terminal */
color: #ff0044;
border: 1px solid rgba(255, 0, 68, 0.4);
/* Tipografía y Espaciado */
padding: 10px 22px;
border-radius: 4px;
font-family: 'JetBrains Mono', 'Courier New', monospace;
font-size: 0.7rem;
font-weight: bold;
letter-spacing: 1.5px;
text-transform: uppercase;
/* Alineación */
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
cursor: pointer;
/* Posicionamiento */
margin: 30px auto 10px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
width: fit-content;
}
/* El ícono de YouTube */
.open-pitch i {
font-size: 0.9rem;
filter: drop-shadow(0 0 3px rgba(255, 0, 68, 0.5));
}
/* Hover: El botón se "activa" */
.open-pitch:hover {
background: rgba(255, 0, 68, 0.12);
border-color: #ff0044;
box-shadow: 0 0 15px rgba(255, 0, 68, 0.3),
inset 0 0 10px rgba(255, 0, 68, 0.1);
transform: translateY(-2px);
color: #ff0044; /* Mantenemos el color para no saturar con blanco */
}
/* Efecto de click */
.open-pitch:active {
transform: translateY(0);
filter: brightness(0.8);
}
/* --- 7. SIDEBAR SOCIAL --- */
.social-bar {
position: fixed;
left: 30px;
top: 50%;
transform: translateY(-50%);
display: flex;
flex-direction: column;
gap: 20px;
z-index: 1000;
}
.social-link {
color: var(--primary);
font-size: 1.5rem;
transition: 0.3s;
opacity: 0.5;
}
.social-link:hover { opacity: 1; transform: scale(1.2); }
/* --- 8. VIDEO MODAL: INTERFAZ HOLOGRÁFICA --- */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(2, 8, 8, 0.85); /* Fondo oscuro profundo */
backdrop-filter: blur(15px); /* Desenfoque de la nebulosa al abrir video */
display: none; /* Oculto por defecto */
justify-content: center;
align-items: center;
z-index: 2000; /* Por encima de todo */
opacity: 0;
transition: opacity 0.4s ease;
}
.modal-overlay.active {
display: flex;
opacity: 1;
}
.modal-content.glass {
width: 90%;
max-width: 800px;
background: rgba(0, 255, 204, 0.05);
border: 1px solid var(--glass-border);
border-radius: 20px;
padding: 10px;
position: relative;
box-shadow: 0 0 50px rgba(0, 255, 204, 0.2);
}
.video-container {
position: relative;
padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
height: 0;
overflow: hidden;
border-radius: 15px;
}
.video-container iframe {
position: absolute;
top: 0; left: 0;
width: 100%;
height: 100%;
border: none;
}
.close-btn {
position: absolute;
top: -40px;
right: 0;
background: none;
border: none;
color: var(--primary);
font-size: 2rem;
font-family: 'Space Mono', monospace;
cursor: pointer;
transition: 0.3s;
}
.close-btn:hover {
transform: rotate(90deg);
color: #ff0044;
}
/* Animación de entrada para el contenido del modal */
.modal-overlay.active .modal-content {
animation: modalSlide 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
@keyframes modalSlide {
from { transform: scale(0.8) translateY(20px); opacity: 0; }
to { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-layout {
display: grid;
grid-template-columns: 1.2fr 0.8fr; /* Video más grande que el texto */
gap: 20px;
}
.info-side {
display: flex;
flex-direction: column;
justify-content: center;
padding: 10px;
}
#modal-title {
font-size: 1.5rem;
color: var(--primary);
margin-bottom: 15px;
}
/* Responsivo para móviles */
@media (max-width: 768px) {
.modal-layout {
grid-template-columns: 1fr;
}
}
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
width: 80%;
max-width: 1200px;
}
.project-node {
background: var(--glass);
border: 1px solid var(--glass-border);
padding: 20px;
border-radius: 15px;
cursor: pointer;
transition: 0.3s;
position: relative;
overflow: hidden;
}
.project-node:hover {
background: rgba(0, 255, 204, 0.08);
transform: translateY(-5px);
box-shadow: 0 0 20px var(--primary-glow);
}
.node-header { display: flex; justify-content: space-between; font-size: 0.7rem; opacity: 0.6; margin-bottom: 15px; }
.node-content h3 { color: var(--primary); font-family: 'Syncopate'; font-size: 1rem; }
.node-tags { margin-top: 10px; display: flex; gap: 5px; }
.node-tags span { font-size: 0.6rem; border: 1px solid var(--primary); padding: 2px 5px; border-radius: 3px; }
.node-footer { margin-top: 20px; font-size: 0.7rem; color: var(--secondary); font-weight: bold; }
/* ELITE NODE: Estilo Base */
.elite-node {
position: relative;
border: 1px solid var(--primary) !important;
background: rgba(0, 255, 194, 0.05) !important;
overflow: hidden;
}
/* El Resplandor de Partículas (Aura) */
.elite-node::before {
content: '';
position: absolute;
top: -50%; left: -50%;
width: 200%; height: 200%;
background: radial-gradient(circle, rgba(0,255,194,0.1) 0%, transparent 70%);
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
}
/* Efecto de Glitch de Colores (Aberración Cromática) en Hover */
.elite-node:hover {
animation: chromaticGlitch 0.2s infinite;
box-shadow: 0 0 20px rgba(0, 255, 194, 0.4),
inset 0 0 15px rgba(0, 255, 194, 0.2);
transform: scale(1.03);
}
.elite-node:hover::before {
opacity: 1;
}
/* Animación de Vibración de Colores */
@keyframes chromaticGlitch {
0% {
text-shadow: 2px 0 red, -2px 0 cyan;
transform: translate(0);
}
25% {
text-shadow: -2px 0 red, 2px 0 cyan;
transform: translate(-1px, 1px);
}
50% {
text-shadow: 2px 2px red, -2px -2px cyan;
transform: translate(1px, -1px);
}
75% {
text-shadow: -2px -2px red, 2px 2px cyan;
transform: translate(-1px, -1px);
}
100% {
text-shadow: 2px 0 red, -2px 0 cyan;
transform: translate(0);
}
}
/* Indicador de "PRESIÓNAME" */
.elite-node::after {
content: 'CRITICAL_DATA';
position: absolute;
top: 5px;
right: 10px;
font-size: 8px;
color: var(--primary);
letter-spacing: 2px;
opacity: 0.5;
}
.carousel-3d-scene {
height: 220px; /* Un poco más de aire */
perspective: 1200px;
display: flex;
justify-content: center;
align-items: center;
overflow: visible;
}
.carousel-3d-track {
position: relative;
width: 180px;
height: 120px;
transform-style: preserve-3d;
transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.info-card-3d {
position: absolute;
width: 100%;
height: 100%;
background: rgba(0, 255, 194, 0.05);
border: 1px solid rgba(0, 255, 194, 0.4);
padding: 15px;
border-radius: 10px;
backface-visibility: hidden;
display: flex;
flex-direction: column;
justify-content: center;
transition: all 0.4s ease;
/* Posicionamiento inicial en el círculo */
transform: rotateY(calc(var(--i) * 90deg)) translateZ(160px);
}
/* Títulos nítidos */
.info-card-3d h3 {
color: var(--primary);
font-size: 0.9rem;
margin: 5px 0;
text-shadow: 0 0 5px rgba(0, 255, 194, 0.5);
}
.info-card-3d p {
font-size: 0.75rem;
color: #e0e0e0;
line-height: 1.2;
}
/* Contenedor para centrar y dar espacio */
.custom-scroll-container {
width: 85%;
margin: 25px auto 10px;
padding: 10px;
background: rgba(0, 0, 0, 0.2);
border-radius: 20px;
border: 1px solid rgba(0, 255, 194, 0.1);
}
.cyber-range {
-webkit-appearance: none;
width: 100%;
height: 6px;
background: rgba(0, 255, 194, 0.1);
border-radius: 10px;
outline: none;
cursor: pointer;
border: 1px solid rgba(0, 255, 194, 0.2);
}
/* El "Thumb" (el botón que arrastras) - Chrome/Safari/Edge */
.cyber-range::-webkit-slider-thumb {
-webkit-appearance: none;
width: 50px; /* Más ancho para que parezca una pieza de hardware */
height: 14px;
background: var(--primary); /* El color neón que ya usas */
border-radius: 4px;
cursor: pointer;
box-shadow: 0 0 15px var(--primary), inset 0 0 5px rgba(255, 255, 255, 0.5);
border: none;
transition: all 0.2s ease;
}
/* Efecto al presionar la barrita */
.cyber-range::-webkit-slider-thumb:active {
width: 60px;
filter: brightness(1.3);
box-shadow: 0 0 25px var(--primary);
}
/* El "Thumb" - Firefox */
.cyber-range::-moz-range-thumb {
width: 50px;
height: 14px;
background: var(--primary);
border: none;
border-radius: 4px;
box-shadow: 0 0 15px var(--primary);
}
/* La línea que queda "detrás" del botón (Progreso) */
.cyber-range::-webkit-slider-runnable-track {
background: linear-gradient(90deg, var(--primary) 0%, rgba(0, 255, 194, 0.1) 100%);
border-radius: 10px;
}
/* Estilo para los botones de GitHub/Source Code en los proyectos */
.project-btn, .view-source-btn, .modal-content a[href*="github"] {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
background: rgba(0, 255, 194, 0.05); /* Fondo traslúcido verde */
color: var(--primary);
border: 1px solid rgba(0, 255, 194, 0.4);
padding: 8px 16px;
border-radius: 4px;
font-family: 'JetBrains Mono', monospace;
font-size: 0.7rem;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.3s ease;
margin-top: 15px;
}
/* Efecto Hover: El botón se ilumina */
.project-btn:hover, .view-source-btn:hover, .modal-content a[href*="github"]:hover {
background: rgba(0, 255, 194, 0.15);
border-color: var(--primary);
box-shadow: 0 0 15px rgba(0, 255, 194, 0.3),
inset 0 0 10px rgba(0, 255, 194, 0.1);
transform: translateY(-2px);
color: #fff; /* Brilla en blanco al pasar el mouse */
}
/* El ícono de GitHub dentro del botón */
.project-btn i, .view-source-btn i {
font-size: 0.9rem;
}