-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
656 lines (565 loc) · 14.6 KB
/
style.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
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
/* Estilos mejorados */
:root {
/* Colores principales */
--primary: #6366f1;
--secondary: #8b5cf6;
--accent: #ec4899;
--dark: #0f172a;
--light: #f8fafc;
/* Variables de animación */
--transition-fast: 200ms;
--transition-normal: 300ms;
--transition-slow: 500ms;
--cubic-bezier: cubic-bezier(0.4, 0, 0.2, 1);
}
body {
font-family: 'Space Grotesk', sans-serif;
background-color: var(--dark);
color: var(--light);
margin: 0;
overflow-x: hidden;
}
.neo-brutalism {
border: 3px solid white;
box-shadow: 5px 5px 0px white;
transition: all 0.3s ease;
font-size: 1rem;
font-weight: bold;
color: #ffffff;
margin-bottom: 2rem;
padding: 1rem;
border-radius: 8px;
display: inline-block;
transform: translate(-5px, -5px);
}
.neo-brutalism:hover {
transform: translate(-5px, -5px);
box-shadow: 10px 10px 0px white;
}
.gradient-bg {
background: linear-gradient(
45deg,
rgba(99, 102, 241, 0.1),
rgba(139, 92, 246, 0.1),
rgba(236, 72, 153, 0.1)
);
padding: 2rem;
text-align: center;
}
.glass-card {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
}
.animated-border {
position: relative;
border-radius: 15px;
overflow: hidden;
}
.animated-border::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: conic-gradient(
from 0deg,
transparent 0deg,
var(--primary) 60deg,
var(--secondary) 120deg,
var(--accent) 180deg,
transparent 240deg
);
animation: rotate 4s linear infinite;
}
@keyframes rotate {
100% {
transform: rotate(360deg);
}
}
.card-content {
position: relative;
background: var(--dark);
margin: 2px;
border-radius: 15px;
z-index: 1;
}
.floating {
animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-20px);
}
}
.wavy-text {
animation: wave 2s ease-in-out infinite;
}
@keyframes wave {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.gradient-text {
background: linear-gradient(135deg, var(--primary), var(--accent));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
position: relative;
}
.hero-content {
padding: 5rem 1rem;
}
.wavy-text {
animation: wave 2s ease-in-out infinite;
}
.particle {
position: absolute;
width: 4px;
height: 4px;
background: var(--primary);
border-radius: 50%;
pointer-events: none;
}
.hover-scale {
transition: transform 0.3s ease;
}
.hover-scale:hover {
transform: scale(1.05);
}
.skill-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 1rem;
padding: 2rem;
}
.skill-item {
background: rgba(255, 255, 255, 0.05);
border-radius: 10px;
padding: 1rem;
text-align: center;
transition: transform var(--transition-normal) var(--cubic-bezier);
}
.skill-item::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, var(--primary), var(--accent));
opacity: 0;
transition: opacity 0.3s ease;
}
.skill-item:hover {
transform: scale(1.1);
}
.skill-item:hover::after {
opacity: 0.3;
}
/* Reset y estilos base */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* Animaciones de navegación */
.nav-link {
position: relative;
color: var(--light);
transition: color var(--transition-fast) ease;
}
.nav-link::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(to right, var(--primary), var(--accent));
transform: scaleX(0);
transform-origin: right;
transition: transform var(--transition-normal) var(--cubic-bezier);
}
.nav-link:hover::after {
transform: scaleX(1);
transform-origin: left;
}
/* Efectos de hover mejorados */
.hover-float {
transition: transform var(--transition-normal) var(--cubic-bezier);
}
.hover-float:hover {
transform: translateY(-8px);
}
/* Efectos de las cards */
.glass-card {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
transition: transform var(--transition-normal) var(--cubic-bezier),
box-shadow var(--transition-normal) var(--cubic-bezier);
}
.glass-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
}
/* Animated border effect */
.animated-border {
position: relative;
border-radius: 15px;
padding: 2px;
will-change: transform;
background: linear-gradient(
45deg,
var(--primary),
var(--secondary),
var(--accent),
var(--primary)
)
;}
.contact {
padding: 2rem;
text-align: center;
}
/* Título de la sección Skills */
.section-title {
font-size: 2.5rem;
font-weight: bold;
color: #ffffff;
margin-bottom: 2rem;
padding: 1rem;
border-radius: 8px;
display: inline-block;
border: 3px solid white;
transition: all 0.3s ease;
transform: translate(-5px, -5px);
box-shadow: 10px 10px 0px white;
}
/* Título de la sección contacto */
#contact .section-title {
font-size: 2.5rem;
font-weight: bold;
color: #ffffff;
margin-bottom: 2rem;
padding: 1rem;
border-radius: 8px;
display: inline-block;
border: 3px solid white;
transition: all 0.3s ease;
transform: translate(-5px, -5px);
box-shadow: 10px 10px 0px white;
}
form input, form textarea {
width: 100%;
margin: 0.5rem 0;
padding: 0.5rem;
border: 1px solid var(--light);
border-radius: 5px;
background: transparent;
color: var(--light);
}
form button {
padding: 0.5rem 1rem;
background: var(--primary);
border: none;
border-radius: 5px;
color: var(--light);
cursor: pointer;
}
.hover-scale:hover {
transform: scale(1.1);
}
/* Título de la sección */
#testimonials .section-title {
font-size: 2.5rem;
font-weight: bold;
color: #ffffff;
margin-bottom: 2rem;
padding: 1rem;
border-radius: 8px;
display: inline-block;
border: 3px solid white;
transition: all 0.3s ease;
transform: translate(-5px, -5px);
box-shadow: 10px 10px 0px white;
}
.testimonials-slider {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem; /* Espaciado entre los bloques */
}
/* Responsivo */
@media (max-width: 768px) {
.testimonials-slider {
flex-direction: column;
gap: 1.5rem; /* Ajusta el espaciado entre tarjetas */
}
#testimonials .section-title {
font-size: 1.75rem;
}
}
/* Título de la sección */
/* Estilos para la sección de experiencia */
#experience {
padding: 24px 0;
}
.experience-timeline {
display: flex;
flex-direction: column;
gap: 20px; /* Espacio entre los elementos */
}
#experience .section-title {
font-size: 2.5rem;
font-weight: bold;
color: #ffffff;
margin-bottom: 2rem;
padding: 1rem;
border-radius: 8px;
display: inline-block;
border: 3px solid white;
transition: all 0.3s ease;
transform: translate(-5px, -5px);
box-shadow: 10px 10px 0px white;
}
.carousel {
display: flex;
overflow-x: auto; /* Enables horizontal scrolling */
scroll-snap-type: x mandatory; /* Enables snap scrolling */
gap: 1rem; /* Space between cards */
padding: 2rem; /* Padding around the carousel */
}
#projects {
width: 100%;
height: 100%;
text-align: center;
padding: 4rem 1rem;
}
#projects .section-title {
text-align: center;
font-size: 2.5rem;
font-weight: bold;
color: #ffffff;
margin-bottom: 20px;
padding: 1rem;
border-radius: 8px;
display: inline-block;
border: 3px solid white;
transition: all 0.3s ease;
transform: translate(-5px, -5px);
box-shadow: 10px 10px 0px white;
}
/* Grid de proyectos */
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem; /* Espaciado entre los proyectos */
}
/* Tarjetas de proyectos */
.project-card {
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s ease;
text-align: center;
flex: 0 0 280px; /* Fixed width for each project card */
scroll-snap-align: start; /* Aligns the cards to the start of the carousel */
}
.project-card:hover {
transform: scale(1.05);
}
.carousel::-webkit-scrollbar {
display: none; /* Hides the scrollbar in WebKit browsers */
}
.project-card img {
border-radius: 12px;
max-height: 200px; /* Limita la altura de la imagen */
width: auto;
margin: 0 auto; /* Asegura que la imagen ocupe todo el ancho disponible */
object-fit: cover;
display: block; /* Ajusta la imagen sin distorsión */
}
.project-card h3 {
font-size: 1.5rem;
color: #ffffff;
margin-bottom: 0.5rem;
}
.project-card p {
font-size: 1rem;
color: #ffffff;
}
.project-card .tech-tag {
background: #3498db;
color: white;
font-size: 0.875rem;
padding: 0.25rem 0.5rem;
border-radius: 4px;
display: inline-block;
}
.project-card .tech-tag + .tech-tag {
margin-left: 0.2rem; /* Espaciado entre las etiquetas */
}
.project-card .flex {
justify-content: center; /* Centra el contenido horizontalmente */
}
.project-card .project-link {
color: #3498db;
font-weight: bold;
transition: color 0.3s;
}
.project-card .project-link:hover {
color: #2c82c9;
}
/* Responsivo */
@media (max-width: 768px) {
#projects .section-title {
font-size: 2rem;
}
.project-grid {
grid-template-columns: 1fr;
}
.project-card {
padding: 0.75rem; /* Ajusta el relleno en pantallas pequeñas */
}
}
.tools-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 20px; /* Espacio entre las tecnologías */
}
.tool-card {
border: 2px solid white; /* Borde blanco */
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
transition: transform 0.3s ease;
}
.tool-card:hover {
transform: translateY(-10px); /* Efecto flotante */
}
.section-title {
font-size: 2rem;
font-weight: bold;
text-align: center;
margin-bottom: 20px;
}
.text-primary {
color: #007bff;
}
.profile-image {
width: 100%;
max-width: 400px; /* Tamaño máximo de la imagen */
border-radius: 10px; /* Bordes redondeados */
border: 5px solid white; /* Borde blanco */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra */
transition: transform 0.3s ease;
margin-left: 250px; /* Espacio a la izquierda */
}
.profile-image:hover {
transform: scale(1.05); /* Efecto de zoom al pasar el ratón */
}
#about {
padding: 24px 0;
position: relative;
}
.section-title {
font-size: 2.5rem;
font-weight: bold;
color: #ffffff;
margin-bottom: 2rem;
padding: 1rem;
border-radius: 8px;
display: inline-block;
border: 3px solid white;
transition: all 0.3s ease;
transform: translate(-5px, -5px);
box-shadow: 10px 10px 0px white;
}
.text-lg {
font-size: 1.125rem;
line-height: 1.75rem;
}
.leading-relaxed {
line-height: 1.625;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
}
.stat-card {
border: 2px solid white;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 1.5rem;
}
.gradient-text {
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* Estilos para los enlaces de redes sociales */
.social-links {
display: flex;
gap: 20px; /* Espacio entre los iconos */
flex-wrap: wrap
}
.social-link {
display: inline-block;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.social-link:hover {
transform: translateY(-5px); /* Efecto de elevación al pasar el cursor */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra al pasar el cursor */
}
.social-link svg, .social-link img {
width: 40px; /* Tamaño del icono */
height: 40px; /* Tamaño del icono */
fill: #ffffff; /* Color del icono */
}
.glass-card ul {
padding-left: 20px; /* Espacio a la izquierda para alinear los elementos */
}
.glass-card li {
text-align: left; /* Alineación a la izquierda */
list-style-position: inside; /* Asegura que los puntos de la lista estén dentro del contenedor */
}
.text-lg {
text-align: left; /* Alineación a la izquierda */
margin-bottom: 1.5rem; /* Espacio inferior */
}
/* Estilos para el botón */
button[type="submit"] {
margin-left: 5px;
padding: 0.75rem 1.5rem; /* Espaciado interno */
color: #ffffff; /* Color del texto */
border: none; /* Sin borde */
border-radius: 0.5rem; /* Bordes redondeados */
cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
font-size: 1rem; /* Tamaño de la fuente */
font-weight: bold; /* Negrita */
transition: background-color 0.3s ease, transform 0.3s ease; /* Transiciones suaves */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
}
button[type="submit"]:hover {
background-color: #0056b3; /* Color de fondo al pasar el cursor */
transform: translateY(-2px); /* Efecto de elevación al pasar el cursor */
}
button[type="submit"]:active {
background-color: #004494; /* Color de fondo al hacer clic */
transform: translateY(0); /* Restablece la elevación al hacer clic */
}
button[type="submit"]:focus {
outline: none; /* Sin borde de enfoque */
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); /* Sombra de enfoque */
}