GarGerry commited on
Commit
fab2b64
·
verified ·
1 Parent(s): e1c3637

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +38 -24
style.css CHANGED
@@ -88,45 +88,59 @@ body {
88
  position: fixed;
89
  top: 0;
90
  left: 0;
91
- width: 100vw;
92
- height: 100vh;
93
- background: rgba(0, 0, 0, 0.7);
94
  display: none;
95
  justify-content: center;
96
  align-items: center;
97
- color: white;
98
- font-size: 2em;
99
- text-align: center;
100
  }
101
 
102
  .overlay-content {
103
- background: rgba(0, 0, 0, 0.9);
 
104
  padding: 20px;
105
- border-radius: 15px;
106
- box-shadow: 0 0 20px #ff0066;
 
 
107
  }
108
 
109
- .overlay h2 {
110
- font-size: 2em;
111
  }
112
 
113
- .overlay p {
114
- font-size: 1.5em;
115
- margin: 20px 0;
116
  }
117
 
118
- .overlay button {
119
- background: linear-gradient(90deg, #00ffcc, #0066ff);
 
 
120
  color: white;
121
  border: none;
122
- border-radius: 10px;
123
- padding: 10px 20px;
124
- font-size: 1.5em;
125
  cursor: pointer;
126
- outline: none;
127
- box-shadow: 0 0 10px #00ffcc;
128
  }
129
 
130
- .overlay button:hover {
131
- transform: scale(1.1);
132
- box-shadow: 0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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