Reaperxxxx commited on
Commit
7f64cb0
·
verified ·
1 Parent(s): eb4cfea

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +72 -73
styles.css CHANGED
@@ -1,7 +1,7 @@
1
  /* General styles */
2
  body {
3
- font-family: 'Arial', sans-serif;
4
- background: #121212;
5
  color: #ffffff;
6
  margin: 0;
7
  padding: 0;
@@ -14,20 +14,23 @@ body {
14
 
15
  /* Container styling */
16
  .container {
17
- width: 100%;
18
- height: 100%;
19
  display: flex;
20
  flex-direction: column;
21
- background: #1f1f1f;
22
- overflow: hidden;
23
- position: relative;
 
 
 
24
  animation: fadeIn 0.6s ease-in-out;
25
  }
26
 
27
  @keyframes fadeIn {
28
  from {
29
  opacity: 0;
30
- transform: scale(0.9);
31
  }
32
  to {
33
  opacity: 1;
@@ -41,32 +44,34 @@ header {
41
  display: flex;
42
  justify-content: space-between;
43
  align-items: center;
44
- padding: 10px 20px;
45
- background: #1a1a1a;
46
- position: fixed;
47
- top: 0;
48
- z-index: 10;
49
- box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.7);
50
  }
51
 
52
  header h1 {
53
- font-size: 20px;
54
  color: #e63946;
55
- margin: 0;
 
 
 
 
 
 
 
 
 
 
56
  }
57
 
58
  header .balance-display {
59
- background: rgba(255, 255, 255, 0.1);
60
- padding: 5px 12px;
61
- border-radius: 8px;
62
  font-size: 14px;
63
  }
64
 
65
- /* Back button */
66
  #back-btn {
67
  background: #e63946;
68
  color: #ffffff;
69
- padding: 8px 12px;
70
  border: none;
71
  border-radius: 5px;
72
  font-size: 14px;
@@ -81,19 +86,20 @@ header .balance-display {
81
 
82
  /* Game screen styling */
83
  .game-screen {
84
- flex: 1;
85
- display: flex;
86
- align-items: center;
87
- justify-content: center;
88
  position: relative;
89
- background: linear-gradient(180deg, #202124, #1f1f1f);
 
90
  border: 2px solid #e63946;
91
- margin: 70px 20px 0; /* Leave space for header and margins */
92
- border-radius: 12px;
93
  overflow: hidden;
 
 
 
 
 
94
  }
95
 
96
- /* Sky image */
97
  .sky-image {
98
  position: absolute;
99
  top: 0;
@@ -102,18 +108,16 @@ header .balance-display {
102
  height: 100%;
103
  object-fit: cover;
104
  z-index: 0;
105
- filter: brightness(0.8);
106
  }
107
 
108
- /* Plane styling */
109
  .plane {
110
  position: absolute;
111
- bottom: 15%;
112
- left: 10%;
113
- width: 70px;
114
  height: auto;
115
- transition: transform 0.3s ease, left 0.4s ease;
116
- z-index: 2;
117
  }
118
 
119
  .plane:hover {
@@ -123,15 +127,14 @@ header .balance-display {
123
  /* Multiplier styling */
124
  .multiplier {
125
  position: absolute;
126
- top: 10%;
127
- left: 5%;
128
  background: rgba(0, 0, 0, 0.7);
129
  color: #ffffff;
130
- padding: 10px 20px;
131
- border-radius: 10px;
132
- font-size: 18px;
133
  animation: pulse 1.5s infinite;
134
- z-index: 2;
135
  }
136
 
137
  @keyframes pulse {
@@ -143,26 +146,20 @@ header .balance-display {
143
  }
144
  }
145
 
146
- /* Controls */
147
  .controls {
148
  width: 100%;
149
- padding: 15px 20px;
150
  display: flex;
 
151
  align-items: center;
152
- justify-content: space-between;
153
- background: #1a1a1a;
154
- box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.7);
155
- position: fixed;
156
- bottom: 0;
157
- z-index: 10;
158
  }
159
 
160
  .controls input {
161
- flex: 2;
162
- margin: 0 10px;
163
  padding: 10px;
164
  border: 2px solid #e63946;
165
- border-radius: 5px;
166
  background: #202124;
167
  color: #ffffff;
168
  font-size: 14px;
@@ -174,22 +171,29 @@ header .balance-display {
174
  box-shadow: 0 0 8px #e63946;
175
  }
176
 
 
 
 
 
 
 
 
177
  .controls button {
178
  flex: 1;
179
- padding: 10px;
180
  border: none;
181
- border-radius: 5px;
182
  font-size: 14px;
183
  cursor: pointer;
184
  transition: background 0.3s ease, transform 0.2s ease;
185
  }
186
 
187
- #stake-btn {
188
  background: #e63946;
189
  color: #ffffff;
190
  }
191
 
192
- #cashout-btn {
193
  background: #444;
194
  color: #ffffff;
195
  }
@@ -204,25 +208,15 @@ header .balance-display {
204
  transform: scale(1.05);
205
  }
206
 
207
- /* Footer info */
208
- footer {
209
- position: absolute;
210
- bottom: 10px;
211
- width: 100%;
212
- text-align: center;
213
- color: rgba(255, 255, 255, 0.5);
214
- font-size: 12px;
215
- }
216
-
217
  /* Responsive design */
218
- @media (max-width: 768px) {
219
  header h1 {
220
- font-size: 16px;
221
  }
222
 
223
- .multiplier {
224
- font-size: 14px;
225
- padding: 8px 10px;
226
  }
227
 
228
  .controls input {
@@ -232,6 +226,11 @@ footer {
232
 
233
  .controls button {
234
  font-size: 12px;
235
- padding: 8px;
 
 
 
 
 
236
  }
237
  }
 
1
  /* General styles */
2
  body {
3
+ font-family: Arial, sans-serif;
4
+ background: #1a1a1a;
5
  color: #ffffff;
6
  margin: 0;
7
  padding: 0;
 
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 {
31
  from {
32
  opacity: 0;
33
+ transform: scale(0.95);
34
  }
35
  to {
36
  opacity: 1;
 
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 {
 
 
 
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;
 
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
 
102
+ /* Sky image styling */
103
  .sky-image {
104
  position: absolute;
105
  top: 0;
 
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
  }
122
 
123
  .plane:hover {
 
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 {
 
146
  }
147
  }
148
 
149
+ /* Controls styling */
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
  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
  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
 
227
  .controls button {
228
  font-size: 12px;
229
+ padding: 6px;
230
+ }
231
+
232
+ .multiplier {
233
+ font-size: 12px;
234
+ padding: 6px 10px;
235
  }
236
  }