Reaperxxxx commited on
Commit
5afa95e
·
verified ·
1 Parent(s): aae2c9c

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +66 -63
styles.css CHANGED
@@ -14,17 +14,17 @@ body {
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
 
30
  @keyframes fadeIn {
@@ -44,23 +44,17 @@ header {
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
-
57
- @keyframes bounce {
58
- 0%, 100% {
59
- transform: translateY(0);
60
- }
61
- 50% {
62
- transform: translateY(-5px);
63
- }
64
  }
65
 
66
  header .balance-display {
@@ -71,7 +65,7 @@ header .balance-display {
71
  #back-btn {
72
  background: #e63946;
73
  color: #ffffff;
74
- padding: 8px 15px;
75
  border: none;
76
  border-radius: 5px;
77
  font-size: 14px;
@@ -86,16 +80,14 @@ header .balance-display {
86
 
87
  /* Game screen styling */
88
  .game-screen {
89
- position: relative;
90
  width: 100%;
91
- aspect-ratio: 16 / 9;
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
 
@@ -110,14 +102,15 @@ header .balance-display {
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
  }
122
 
123
  .plane:hover {
@@ -127,14 +120,15 @@ header .balance-display {
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
 
140
  @keyframes pulse {
@@ -150,16 +144,20 @@ header .balance-display {
150
  .controls {
151
  width: 100%;
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;
@@ -171,29 +169,22 @@ header .balance-display {
171
  box-shadow: 0 0 8px #e63946;
172
  }
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
  }
190
 
191
- .controls #stake-btn {
192
  background: #e63946;
193
  color: #ffffff;
194
  }
195
 
196
- .controls #cashout-btn {
197
  background: #444;
198
  color: #ffffff;
199
  }
@@ -208,15 +199,32 @@ header .balance-display {
208
  transform: scale(1.05);
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 {
@@ -226,11 +234,6 @@ header .balance-display {
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
  }
 
14
 
15
  /* Container styling */
16
  .container {
17
+ width: 100%;
18
+ height: 100%;
19
  display: flex;
20
  flex-direction: column;
21
  align-items: center;
22
+ justify-content: space-between;
23
  background: #2c2c2c;
24
+ border: none;
25
+ padding: 0;
 
 
26
  animation: fadeIn 0.6s ease-in-out;
27
+ position: relative;
28
  }
29
 
30
  @keyframes fadeIn {
 
44
  display: flex;
45
  justify-content: space-between;
46
  align-items: center;
47
+ padding: 10px 20px;
48
+ background: #1a1a1a;
49
+ position: absolute;
50
+ top: 0;
51
+ z-index: 10;
52
  }
53
 
54
  header h1 {
55
+ font-size: 18px;
56
  color: #e63946;
57
+ margin: 0;
 
 
 
 
 
 
 
 
 
 
58
  }
59
 
60
  header .balance-display {
 
65
  #back-btn {
66
  background: #e63946;
67
  color: #ffffff;
68
+ padding: 8px 12px;
69
  border: none;
70
  border-radius: 5px;
71
  font-size: 14px;
 
80
 
81
  /* Game screen styling */
82
  .game-screen {
 
83
  width: 100%;
84
+ height: 100%;
 
 
 
 
85
  display: flex;
86
  align-items: flex-end;
87
+ justify-content: center;
88
+ position: relative;
89
+ border-radius: 0;
90
+ overflow: hidden;
91
  background: #3a3a3a;
92
  }
93
 
 
102
  z-index: 0;
103
  }
104
 
105
+ /* Plane styling */
106
  .plane {
107
  position: absolute;
108
+ bottom: 15%;
109
+ left: 5%;
110
+ width: 60px;
111
  height: auto;
112
  transition: transform 0.2s ease-in-out, left 0.4s ease-in-out;
113
+ z-index: 1;
114
  }
115
 
116
  .plane:hover {
 
120
  /* Multiplier styling */
121
  .multiplier {
122
  position: absolute;
123
+ top: 10%;
124
+ left: 10%;
125
  background: rgba(0, 0, 0, 0.7);
126
  color: #ffffff;
127
+ padding: 10px 15px;
128
+ border-radius: 10px;
129
+ font-size: 16px;
130
  animation: pulse 1.5s infinite;
131
+ z-index: 1;
132
  }
133
 
134
  @keyframes pulse {
 
144
  .controls {
145
  width: 100%;
146
  display: flex;
147
+ justify-content: space-around;
148
+ padding: 10px 20px;
149
+ background: #1a1a1a;
150
+ position: absolute;
151
+ bottom: 0;
152
+ z-index: 10;
153
  }
154
 
155
  .controls input {
156
+ flex: 1;
157
+ margin: 0 10px;
158
  padding: 10px;
159
  border: 2px solid #e63946;
160
+ border-radius: 5px;
161
  background: #202124;
162
  color: #ffffff;
163
  font-size: 14px;
 
169
  box-shadow: 0 0 8px #e63946;
170
  }
171
 
 
 
 
 
 
 
 
172
  .controls button {
173
  flex: 1;
174
+ padding: 10px;
175
  border: none;
176
+ border-radius: 5px;
177
  font-size: 14px;
178
  cursor: pointer;
179
  transition: background 0.3s ease, transform 0.2s ease;
180
  }
181
 
182
+ #stake-btn {
183
  background: #e63946;
184
  color: #ffffff;
185
  }
186
 
187
+ #cashout-btn {
188
  background: #444;
189
  color: #ffffff;
190
  }
 
199
  transform: scale(1.05);
200
  }
201
 
202
+ /* Corner Positions */
203
+ .balance-display {
204
+ position: absolute;
205
+ top: 10px;
206
+ right: 10px;
207
+ font-size: 14px;
208
+ background: rgba(0, 0, 0, 0.7);
209
+ padding: 5px 10px;
210
+ border-radius: 5px;
211
+ }
212
+
213
+ #back-btn {
214
+ position: absolute;
215
+ top: 10px;
216
+ left: 10px;
217
+ }
218
+
219
  /* Responsive design */
220
+ @media (max-width: 768px) {
221
  header h1 {
222
+ font-size: 16px;
223
  }
224
 
225
+ .multiplier {
226
+ font-size: 12px;
227
+ padding: 8px 10px;
228
  }
229
 
230
  .controls input {
 
234
 
235
  .controls button {
236
  font-size: 12px;
237
+ padding: 8px;
 
 
 
 
 
238
  }
239
  }