Update style.css
Browse files
style.css
CHANGED
@@ -85,35 +85,22 @@ body {
|
|
85 |
|
86 |
/* Game Over Overlay */
|
87 |
.overlay {
|
88 |
-
position:
|
89 |
top: 0;
|
90 |
left: 0;
|
91 |
-
|
92 |
-
|
|
|
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 |
-
|
105 |
-
|
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:
|
|
|
85 |
|
86 |
/* Game Over Overlay */
|
87 |
.overlay {
|
88 |
+
position: absolute;
|
89 |
top: 0;
|
90 |
left: 0;
|
91 |
+
width: 100vw;
|
92 |
+
height: 100vh;
|
93 |
+
background: rgba(0, 0, 0, 0.8);
|
94 |
display: none;
|
95 |
justify-content: center;
|
96 |
align-items: center;
|
|
|
|
|
97 |
}
|
98 |
|
99 |
.overlay-content {
|
100 |
text-align: center;
|
101 |
color: white;
|
102 |
+
font-size: 2em;
|
103 |
+
background: rgba(0, 0, 0, 0.7);
|
104 |
padding: 20px;
|
105 |
+
border-radius: 15px;
|
106 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|