Reaperxxxx commited on
Commit
aae2c9c
·
verified ·
1 Parent(s): 337e62e

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +52 -34
styles.css CHANGED
@@ -9,20 +9,21 @@ body {
9
  justify-content: center;
10
  align-items: center;
11
  height: 100vh;
 
12
  }
13
 
14
  /* Container styling */
15
  .container {
16
- width: 90%;
17
- max-width: 800px;
18
  display: flex;
19
  flex-direction: column;
20
  align-items: center;
21
  background: #2c2c2c;
22
  border: 2px solid #444;
23
- border-radius: 10px;
24
- padding: 20px;
25
- box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
26
  animation: fadeIn 0.6s ease-in-out;
27
  }
28
 
@@ -43,12 +44,13 @@ header {
43
  display: flex;
44
  justify-content: space-between;
45
  align-items: center;
46
- margin-bottom: 20px;
47
  }
48
 
49
  header h1 {
50
- font-size: 28px;
51
  color: #e63946;
 
52
  animation: bounce 1.5s infinite;
53
  }
54
 
@@ -62,17 +64,18 @@ header h1 {
62
  }
63
 
64
  header .balance-display {
65
- font-size: 16px;
66
  }
67
 
 
68
  #back-btn {
69
  background: #e63946;
70
  color: #ffffff;
71
- padding: 10px 20px;
72
  border: none;
73
  border-radius: 5px;
 
74
  cursor: pointer;
75
- font-size: 16px;
76
  transition: background 0.3s ease, transform 0.2s ease;
77
  }
78
 
@@ -89,11 +92,11 @@ header .balance-display {
89
  border: 2px solid #e63946;
90
  border-radius: 10px;
91
  overflow: hidden;
92
- margin-bottom: 20px;
93
  display: flex;
94
  align-items: flex-end;
95
  justify-content: flex-start;
96
- background: #ff0000; /* Debugging color to check visibility */
97
  }
98
 
99
  /* Sky image styling */
@@ -103,16 +106,16 @@ header .balance-display {
103
  left: 0;
104
  width: 100%;
105
  height: 100%;
106
- object-fit: cover; /* Ensures the image covers the container */
107
- z-index: 0; /* Places the image behind other elements */
108
  }
109
 
110
  /* Adjusted plane position */
111
  .plane {
112
  position: absolute;
113
- bottom: 30px; /* Moved up slightly from the bottom */
114
  left: 10px;
115
- width: 60px;
116
  height: auto;
117
  transition: transform 0.2s ease-in-out, left 0.4s ease-in-out;
118
  }
@@ -121,15 +124,16 @@ header .balance-display {
121
  transform: scale(1.1);
122
  }
123
 
 
124
  .multiplier {
125
  position: absolute;
126
- top: 10px;
127
- left: 10px;
128
  background: rgba(0, 0, 0, 0.7);
129
  color: #ffffff;
130
- padding: 5px 10px;
131
- border-radius: 5px;
132
- font-size: 18px;
133
  animation: pulse 1.5s infinite;
134
  }
135
 
@@ -148,17 +152,17 @@ header .balance-display {
148
  display: flex;
149
  flex-direction: column;
150
  align-items: center;
151
- gap: 10px;
152
  }
153
 
154
  .controls input {
155
- width: 80%;
156
  padding: 10px;
157
  border: 2px solid #e63946;
158
- border-radius: 5px;
159
  background: #202124;
160
  color: #ffffff;
161
- font-size: 16px;
162
  transition: box-shadow 0.3s ease;
163
  }
164
 
@@ -169,17 +173,17 @@ header .balance-display {
169
 
170
  .buttons-group {
171
  display: flex;
172
- gap: 10px;
173
  width: 100%;
174
  justify-content: center;
175
  }
176
 
177
  .controls button {
178
  flex: 1;
179
- padding: 10px;
180
  border: none;
181
- border-radius: 5px;
182
- font-size: 16px;
183
  cursor: pointer;
184
  transition: background 0.3s ease, transform 0.2s ease;
185
  }
@@ -205,14 +209,28 @@ header .balance-display {
205
  }
206
 
207
  /* Responsive design */
208
- @media (max-width: 600px) {
 
 
 
 
209
  .container {
210
- width: 100%;
211
- padding: 10px;
 
 
 
 
 
212
  }
213
 
214
- .controls input,
215
  .controls button {
216
- width: 100%;
 
 
 
 
 
 
217
  }
218
  }
 
9
  justify-content: center;
10
  align-items: center;
11
  height: 100vh;
12
+ overflow: hidden;
13
  }
14
 
15
  /* Container styling */
16
  .container {
17
+ width: 95%;
18
+ max-width: 600px;
19
  display: flex;
20
  flex-direction: column;
21
  align-items: center;
22
  background: #2c2c2c;
23
  border: 2px solid #444;
24
+ border-radius: 15px;
25
+ padding: 15px;
26
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
27
  animation: fadeIn 0.6s ease-in-out;
28
  }
29
 
 
44
  display: flex;
45
  justify-content: space-between;
46
  align-items: center;
47
+ margin-bottom: 15px;
48
  }
49
 
50
  header h1 {
51
+ font-size: 24px;
52
  color: #e63946;
53
+ text-align: center;
54
  animation: bounce 1.5s infinite;
55
  }
56
 
 
64
  }
65
 
66
  header .balance-display {
67
+ font-size: 14px;
68
  }
69
 
70
+ /* Button styling */
71
  #back-btn {
72
  background: #e63946;
73
  color: #ffffff;
74
+ padding: 8px 15px;
75
  border: none;
76
  border-radius: 5px;
77
+ font-size: 14px;
78
  cursor: pointer;
 
79
  transition: background 0.3s ease, transform 0.2s ease;
80
  }
81
 
 
92
  border: 2px solid #e63946;
93
  border-radius: 10px;
94
  overflow: hidden;
95
+ margin-bottom: 15px;
96
  display: flex;
97
  align-items: flex-end;
98
  justify-content: flex-start;
99
+ background: #3a3a3a;
100
  }
101
 
102
  /* Sky image styling */
 
106
  left: 0;
107
  width: 100%;
108
  height: 100%;
109
+ object-fit: cover;
110
+ z-index: 0;
111
  }
112
 
113
  /* Adjusted plane position */
114
  .plane {
115
  position: absolute;
116
+ bottom: 20px;
117
  left: 10px;
118
+ width: 50px;
119
  height: auto;
120
  transition: transform 0.2s ease-in-out, left 0.4s ease-in-out;
121
  }
 
124
  transform: scale(1.1);
125
  }
126
 
127
+ /* Multiplier styling */
128
  .multiplier {
129
  position: absolute;
130
+ top: 5px;
131
+ left: 5px;
132
  background: rgba(0, 0, 0, 0.7);
133
  color: #ffffff;
134
+ padding: 8px 12px;
135
+ border-radius: 8px;
136
+ font-size: 14px;
137
  animation: pulse 1.5s infinite;
138
  }
139
 
 
152
  display: flex;
153
  flex-direction: column;
154
  align-items: center;
155
+ gap: 12px;
156
  }
157
 
158
  .controls input {
159
+ width: 90%;
160
  padding: 10px;
161
  border: 2px solid #e63946;
162
+ border-radius: 8px;
163
  background: #202124;
164
  color: #ffffff;
165
+ font-size: 14px;
166
  transition: box-shadow 0.3s ease;
167
  }
168
 
 
173
 
174
  .buttons-group {
175
  display: flex;
176
+ gap: 8px;
177
  width: 100%;
178
  justify-content: center;
179
  }
180
 
181
  .controls button {
182
  flex: 1;
183
+ padding: 8px;
184
  border: none;
185
+ border-radius: 8px;
186
+ font-size: 14px;
187
  cursor: pointer;
188
  transition: background 0.3s ease, transform 0.2s ease;
189
  }
 
209
  }
210
 
211
  /* Responsive design */
212
+ @media (max-width: 480px) {
213
+ header h1 {
214
+ font-size: 20px;
215
+ }
216
+
217
  .container {
218
+ padding: 12px;
219
+ border-radius: 10px;
220
+ }
221
+
222
+ .controls input {
223
+ font-size: 12px;
224
+ padding: 8px;
225
  }
226
 
 
227
  .controls button {
228
+ font-size: 12px;
229
+ padding: 6px;
230
+ }
231
+
232
+ .multiplier {
233
+ font-size: 12px;
234
+ padding: 6px 10px;
235
  }
236
  }