1
1
/* Estilos generales */
2
2
body {
3
3
font-family : 'Poppins' , sans-serif;
4
- background : linear-gradient (135deg , # eef3f7, # cfd9df );
4
+ background : linear-gradient (135deg , # eef3f7, # d6e0e6 );
5
5
margin : 0 ;
6
6
padding : 0 ;
7
7
display : flex;
25
25
# header h1 {
26
26
font-size : 2.8rem ;
27
27
color : # 222 ;
28
- margin-bottom : 30 px ;
28
+ margin-bottom : 20 px ;
29
29
text-transform : uppercase;
30
30
letter-spacing : 1.5px ;
31
31
font-weight : 700 ;
@@ -40,5 +40,103 @@ body {
40
40
border-radius : 15px ;
41
41
box-shadow : 0 10px 20px rgba (0 , 0 , 0 , 0.1 );
42
42
width : 90% ;
43
- max-width : 700px ;
44
- margin:
43
+ max-width : 600px ;
44
+ margin : 20px auto;
45
+ text-align : center;
46
+ transition : transform 0.3s ease, box-shadow 0.3s ease;
47
+ }
48
+
49
+ .game-container : hover {
50
+ transform : translateY (-5px );
51
+ box-shadow : 0 15px 30px rgba (0 , 0 , 0 , 0.15 );
52
+ }
53
+
54
+ /* Botones */
55
+ .button-container {
56
+ display : flex;
57
+ justify-content : center;
58
+ gap : 10px ;
59
+ margin : 20px 0 ;
60
+ flex-wrap : wrap;
61
+ }
62
+
63
+ .game-button {
64
+ padding : 10px 20px ;
65
+ border : none;
66
+ border-radius : 8px ;
67
+ font-size : 1rem ;
68
+ font-weight : 600 ;
69
+ cursor : pointer;
70
+ transition : all 0.3s ease, transform 0.2s ease;
71
+ text-transform : uppercase;
72
+ letter-spacing : 0.5px ;
73
+ }
74
+
75
+ .start-button {
76
+ background-color : # 4CAF50 ;
77
+ color : white;
78
+ }
79
+
80
+ .language-button {
81
+ background-color : # 2196F3 ;
82
+ color : white;
83
+ }
84
+
85
+ .pause-button {
86
+ background-color : # FFA000 ;
87
+ color : white;
88
+ }
89
+
90
+ .game-button : hover {
91
+ transform : translateY (-3px );
92
+ box-shadow : 0 6px 12px rgba (0 , 0 , 0 , 0.2 );
93
+ }
94
+
95
+ .game-button : active {
96
+ transform : translateY (0 );
97
+ box-shadow : 0 3px 6px rgba (0 , 0 , 0 , 0.15 );
98
+ }
99
+
100
+ /* Campo de texto */
101
+ .text-input {
102
+ width : 100% ;
103
+ max-width : 500px ;
104
+ padding : 15px ;
105
+ margin : 20px 0 ;
106
+ border : 2px solid # e0e0e0 ;
107
+ border-radius : 8px ;
108
+ font-size : 1rem ;
109
+ transition : border-color 0.3s ease, box-shadow 0.3s ease;
110
+ box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.1 );
111
+ }
112
+
113
+ .text-input : focus {
114
+ outline : none;
115
+ border-color : # 4CAF50 ;
116
+ box-shadow : 0 0 8px rgba (76 , 175 , 80 , 0.4 );
117
+ }
118
+
119
+ /* Estadísticas */
120
+ .stats {
121
+ font-size : 1.1rem ;
122
+ color : # 555 ;
123
+ margin-top : 10px ;
124
+ text-align : left;
125
+ }
126
+
127
+ /* Footer */
128
+ footer {
129
+ margin-top : 20px ;
130
+ font-size : 0.9rem ;
131
+ color : # 666 ;
132
+ }
133
+
134
+ footer a {
135
+ color : # 2196F3 ;
136
+ text-decoration : none;
137
+ font-weight : 600 ;
138
+ }
139
+
140
+ footer a : hover {
141
+ text-decoration : underline;
142
+ }
0 commit comments