Update style.css
Browse files
style.css
CHANGED
@@ -88,45 +88,59 @@ body {
|
|
88 |
position: fixed;
|
89 |
top: 0;
|
90 |
left: 0;
|
91 |
-
|
92 |
-
|
93 |
-
background: rgba(0, 0, 0, 0.7);
|
94 |
display: none;
|
95 |
justify-content: center;
|
96 |
align-items: center;
|
97 |
-
|
98 |
-
|
99 |
-
text-align: center;
|
100 |
}
|
101 |
|
102 |
.overlay-content {
|
103 |
-
|
|
|
104 |
padding: 20px;
|
105 |
-
|
106 |
-
|
|
|
|
|
107 |
}
|
108 |
|
109 |
-
|
110 |
-
font-size:
|
111 |
}
|
112 |
|
113 |
-
|
114 |
-
font-size: 1.
|
115 |
-
margin: 20px 0;
|
116 |
}
|
117 |
|
118 |
-
|
119 |
-
|
|
|
|
|
120 |
color: white;
|
121 |
border: none;
|
122 |
-
border-radius:
|
123 |
-
padding: 10px 20px;
|
124 |
-
font-size: 1.5em;
|
125 |
cursor: pointer;
|
126 |
-
|
127 |
-
box-shadow: 0 0 10px #00ffcc;
|
128 |
}
|
129 |
|
130 |
-
|
131 |
-
|
132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
position: fixed;
|
89 |
top: 0;
|
90 |
left: 0;
|
91 |
+
right: 0;
|
92 |
+
bottom: 0;
|
|
|
93 |
display: none;
|
94 |
justify-content: center;
|
95 |
align-items: center;
|
96 |
+
background: rgba(0, 0, 0, 0.7);
|
97 |
+
z-index: 9999;
|
|
|
98 |
}
|
99 |
|
100 |
.overlay-content {
|
101 |
+
text-align: center;
|
102 |
+
color: white;
|
103 |
padding: 20px;
|
104 |
+
background: rgba(0, 0, 0, 0.8);
|
105 |
+
border-radius: 10px;
|
106 |
+
width: 80%;
|
107 |
+
max-width: 400px;
|
108 |
}
|
109 |
|
110 |
+
h2 {
|
111 |
+
font-size: 2rem;
|
112 |
}
|
113 |
|
114 |
+
p {
|
115 |
+
font-size: 1.5rem;
|
|
|
116 |
}
|
117 |
|
118 |
+
button {
|
119 |
+
padding: 10px 20px;
|
120 |
+
margin-top: 20px;
|
121 |
+
background-color: #ff6600;
|
122 |
color: white;
|
123 |
border: none;
|
124 |
+
border-radius: 5px;
|
|
|
|
|
125 |
cursor: pointer;
|
126 |
+
font-size: 1rem;
|
|
|
127 |
}
|
128 |
|
129 |
+
button:hover {
|
130 |
+
background-color: #ff4400;
|
131 |
+
}
|
132 |
+
|
133 |
+
/* Responsive adjustments */
|
134 |
+
@media (max-width: 768px) {
|
135 |
+
.score-board {
|
136 |
+
font-size: 1.2em;
|
137 |
+
padding: 8px 15px;
|
138 |
+
}
|
139 |
+
|
140 |
+
.controls button {
|
141 |
+
font-size: 1.2em;
|
142 |
+
padding: 8px 15px;
|
143 |
+
}
|
144 |
+
|
145 |
+
h2 {
|
146 |
+
font-size: 1
|