Skip to content

Commit 654ec56

Browse files
authored
1 parent 59041b6 commit 654ec56

File tree

1 file changed

+102
-4
lines changed

1 file changed

+102
-4
lines changed

styles.css

Lines changed: 102 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Estilos generales */
22
body {
33
font-family: 'Poppins', sans-serif;
4-
background: linear-gradient(135deg, #eef3f7, #cfd9df);
4+
background: linear-gradient(135deg, #eef3f7, #d6e0e6);
55
margin: 0;
66
padding: 0;
77
display: flex;
@@ -25,7 +25,7 @@ body {
2525
#header h1 {
2626
font-size: 2.8rem;
2727
color: #222;
28-
margin-bottom: 30px;
28+
margin-bottom: 20px;
2929
text-transform: uppercase;
3030
letter-spacing: 1.5px;
3131
font-weight: 700;
@@ -40,5 +40,103 @@ body {
4040
border-radius: 15px;
4141
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
4242
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

Comments
 (0)