-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmystyles.css
More file actions
502 lines (422 loc) · 9 KB
/
mystyles.css
File metadata and controls
502 lines (422 loc) · 9 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
@charset "utf-8";
/* Estilos generales de la navbar */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background-color: #333;
}
.navbar .logo a {
color: white;
font-size: 24px;
font-weight: bold;
text-decoration: none;
}
.nav-links {
list-style: none;
display: flex;
gap: 20px;
}
.nav-links li {
display: inline;
}
.nav-links a {
color: white;
text-decoration: none;
font-size: 18px;
padding: 10px;
transition: color 0.3s;
}
.nav-links a:hover {
color: #28a745; /* Color verde para hover */
}
/* Estilos para el icono de hamburguesa */
.hamburger {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
}
.hamburger .bar {
width: 30px;
height: 4px;
background-color: white;
border-radius: 10px;
}
/* Estilos responsivos */
@media (max-width: 768px) {
/* Mostrar hamburguesa en pantallas pequeñas */
.hamburger {
display: flex;
}
/* Ocultar enlaces en pantallas pequeñas */
.nav-links {
position: absolute;
top: 60px;
right: 0;
background-color: #333;
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transform: translateX(100%);
transition: transform 0.3s ease;
}
/* Mostrar los enlaces cuando el menú hamburguesa está abierto */
.nav-links.active {
transform: translateX(0);
}
.nav-links li {
margin: 20px 0;
}
.nav-links a {
font-size: 24px;
}
}
/* Estilos generales */
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: 'Krub', sans-serif;
color: rgb(27, 27, 27);
font-size: 1.15rem;
line-height: 1.4;
}
h1, h2, h3 {
color: #ffffff;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 1.9);
}
h1 {
font-size: 4rem;
font-weight: 400;
font-family: "Pixelify Sans", sans-serif;
}
h2 {
font-family: "Pixelify Sans", sans-serif;
font-weight: 350;
color: #0c6331;
}
h3 {
font-family: "Pixelify Sans", sans-serif;
font-weight: 200;
color: #5f3d12;
margin-bottom: 1rem;
}
/* Navbar */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
background-color: #333;
}
.navbar .logo a {
color: white;
font-size: 1.5rem;
text-decoration: none;
font-weight: bold;
}
.nav-links {
list-style-type: none;
display: flex;
}
.nav-links li {
margin: 0 1rem;
}
.nav-links a {
color: white;
text-decoration: none;
font-size: 1rem;
}
.nav-links a:hover {
color: #bb68fc;
}
/* Parallax */
.parallax {
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
min-height: 670px;
position: relative;
padding: 20px;
}
/* Background Images */
.bg1 {
background-image: url("recursos/inicio.jpg");
}
.bg2 {
background-image: url("recursos/desarrollo.gif");
}
.bg3 {
background-image: url("recursos/fin.jpg");
}
/* Flexbox Layout */
.titulos {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 600px;
}
.texto {
background-color: white;
padding: 5%;
text-align: justify;
text-justify: inter-word;
word-spacing: -0.05em; /* Ajustar espacio entre palabras */
width: 100%; /* Asegura que ocupe todo el ancho disponible */
max-width: 100%; /* No limitar el ancho */
}
.texto p, .texto span {
margin: 0;
padding: 0;
}
.texto img, .texto .custom-list, .texto .lista-ordenada {
max-width: 100%;
}
.custom-list, .lista-ordenada {
list-style: none;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
gap: 20px;
}
.custom-list li, .lista-ordenada li {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
width: 250px;
padding: 1em;
border-radius: 8px;
background-color: rgba(255, 255, 255, 0.8);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.custom-list .text, .lista-ordenada .text {
margin-bottom: 10px;
}
.custom-list .image, .lista-ordenada .image {
width: 100%;
text-align: center;
}
.custom-list .image img, .lista-ordenada .image img {
width: 100%;
height: auto;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Hover effect */
.custom-list li:hover, .lista-ordenada li:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* Responsivo */
@media screen and (max-width: 768px) {
.custom-list li, .lista-ordenada li {
flex-direction: column;
align-items: center;
width: 90%;
}
.custom-list .image img, .lista-ordenada .image img {
width: 80%;
}
}
/* Juegos */
.game-cards {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 20px;
padding: 20px;
}
.card {
background-color: rgba(255, 255, 255, 0.9);
border-radius: 8px;
overflow: hidden;
width: 250px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.card-image img {
width: 100%;
height: 200px;
object-fit: cover;
}
.card-content {
padding: 15px;
}
.card h3 a {
color: #0c6331;
font-weight: 600;
text-decoration: none;
}
.card p {
font-size: 0.9rem;
color: #333;
}
/* Sección de contacto con imagen de fondo */
.bg4 {
background-image: url("recursos/contacto.jpg");
background-position: center;
background-size: cover;
min-height: 600px;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
position: relative;
}
/* Capa de superposición para el fondo */
.overlay {
background-color: rgba(0, 0, 0, 0.5); /* Sombra suave para contraste */
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
padding: 40px;
box-sizing: border-box;
}
/* Contenedor del formulario */
.contact-container {
background-color: rgba(255, 255, 255, 0.9); /* Fondo claro con transparencia */
border-radius: 10px;
padding: 40px;
width: 100%;
max-width: 700px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Título de la sección */
.contact-text h1 {
color: #333;
text-align: center;
font-size: 2.5rem;
margin-bottom: 20px;
}
.contact-text p {
color: #777;
text-align: center;
font-size: 1.2rem;
margin-bottom: 40px;
}
/* Estilo de los campos del formulario */
.input-container {
margin-bottom: 20px;
}
.input-container label {
display: block;
font-weight: bold;
color: #333;
margin-bottom: 8px;
}
.input-container input,
.input-container textarea {
width: 100%;
padding: 14px;
border-radius: 8px;
border: 2px solid #ccc;
font-size: 1rem;
color: #333;
background-color: #f9f9f9;
transition: border-color 0.3s ease;
}
.input-container input:focus,
.input-container textarea:focus {
outline: none;
border-color: #28a745;
box-shadow: 0 0 8px rgba(40, 167, 69, 0.2); /* Efecto de foco */
}
/* Estilo del botón de enviar */
.submit-btn {
background-color: #28a745;
color: white;
border: none;
padding: 14px 28px;
font-size: 1.2rem;
font-weight: 600;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
width: 100%;
margin-top: 20px;
}
/* Efecto hover del botón */
.submit-btn:hover {
background-color: #218838;
transform: translateY(-4px);
}
.submit-btn:active {
background-color: #1e7e34;
}
/* Responsivo para pantallas más pequeñas */
@media screen and (max-width: 768px) {
.contact-container {
padding: 30px;
}
.contact-text h1 {
font-size: 2rem;
}
.contact-text p {
font-size: 1rem;
}
.input-container input,
.input-container textarea {
font-size: 1rem;
}
.submit-btn {
font-size: 1rem;
}
}
/* Estilo del footer */
footer {
background-color: #333; /* Fondo oscuro para el footer */
color: white; /* Texto blanco para mejorar la legibilidad */
padding: 40px 0; /* Espaciado adecuado */
text-align: center; /* Centrar el texto */
}
footer a {
color: #fff; /* Enlaces en color blanco */
text-decoration: none; /* Eliminar subrayado */
font-weight: 600;
transition: color 0.3s ease; /* Transición suave al pasar el ratón */
}
footer a:hover {
color: #28a745; /* Color verde cuando el usuario pasa el cursor */
}
footer .social-icons {
margin: 20px 0; /* Espaciado entre los iconos sociales */
}
footer .social-icons a {
margin: 0 15px; /* Espaciado entre los iconos */
font-size: 24px; /* Tamaño adecuado para los iconos */
transition: transform 0.3s ease; /* Transición suave al hacer hover */
}
footer .social-icons a:hover {
transform: scale(1.1); /* Efecto de ampliación al hacer hover */
}
/* Estilos responsivos para pantallas más pequeñas */
@media screen and (max-width: 768px) {
footer {
padding: 30px 0;
}
footer .social-icons a {
font-size: 20px; /* Reducir tamaño de los iconos en móviles */
margin: 0 10px;
}
footer p {
font-size: 1rem; /* Ajustar el tamaño del texto para móviles */
}
}