deedrop1140 commited on
Commit
3f13f2e
·
verified ·
1 Parent(s): f6c4ff7

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +352 -477
static/style.css CHANGED
@@ -1,477 +1,352 @@
1
- /* General Reset */
2
- * {
3
- margin: 0;
4
- padding: 0;
5
- box-sizing: border-box;
6
- }
7
-
8
- /* Body Style */
9
- body {
10
- background-color: #1e1e1e; /* Dark background for contrast */
11
- color: #ffffff; /* White text color */
12
- font-family: Arial, sans-serif;
13
- transition: background-color 0.5s ease, color 0.5s ease;
14
- text-align: center; /* Center text for main layout */
15
- }
16
-
17
- /* App container: Sidebar + Content layout */
18
- .app-container {
19
- display: flex;
20
- min-height: 100vh;
21
- background-color: #f8f9fa;
22
- }
23
-
24
- /* Sidebar styles */
25
- .sidebar {
26
- background-color: #343a40;
27
- padding: 20px;
28
- color: white;
29
- height: 100vh;
30
- width: 220px; /* Sidebar width */
31
- }
32
-
33
- /* Content section */
34
- .content {
35
- flex-grow: 1;
36
- display: flex;
37
- flex-direction: column;
38
- background-color: #fff;
39
- padding: 20px;
40
- }
41
-
42
- /* Header styles */
43
- header {
44
- background-color: #343a40; /* Dark background for the navbar */
45
- padding: 15px;
46
- }
47
-
48
- /* Navbar Style */
49
- .navbar {
50
- display: flex;
51
- justify-content: space-between;
52
- align-items: center;
53
- padding: 10px 20px;
54
- }
55
-
56
- /* Navbar content */
57
- .nav-links {
58
- list-style: none;
59
- display: flex;
60
- margin: 0;
61
- padding: 0;
62
- }
63
-
64
- .nav-links li {
65
- margin-left: 20px;
66
- }
67
-
68
- .nav-links a {
69
- text-decoration: none;
70
- color: white;
71
- font-weight: bold;
72
- padding: 0.5rem 1rem; /* Padding inside the links */
73
- transition: background-color 0.3s; /* Smooth background color change */
74
- }
75
-
76
- /* Change link color on hover */
77
- .nav-links a:hover {
78
- background-color: rgba(255, 255, 255, 0.2); /* Slightly lighter on hover */
79
- border-radius: 4px; /* Rounded corners on hover */
80
- }
81
-
82
- /* Active link style */
83
- .nav-links a.active {
84
- background-color: rgba(255, 255, 255, 0.3); /* Highlight active link */
85
- }
86
-
87
- /* Search form styles */
88
- .search-form {
89
- display: flex;
90
- align-items: center;
91
- }
92
-
93
- .search-form input[type="text"] {
94
- border: none;
95
- padding: 8px;
96
- border-radius: 4px;
97
- margin-right: 5px;
98
- background-color: #2c2c2c; /* Dark background for search input */
99
- color: #ffffff; /* White text color */
100
- }
101
-
102
- .search-form button {
103
- padding: 8px 12px;
104
- border: none;
105
- border-radius: 4px;
106
- background-color: #007bff; /* Button color */
107
- color: white;
108
- cursor: pointer;
109
- }
110
-
111
- .search-form button:hover {
112
- background-color: #0056b3; /* Darker on hover */
113
- }
114
-
115
- /* Form styles */
116
- .form-container {
117
- background-color: #252525;
118
- padding: 20px;
119
- border-radius: 8px;
120
- margin: 20px auto; /* Centering */
121
- max-width: 600px; /* Maximum width for forms */
122
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
123
- opacity: 0; /* Start invisible for animation */
124
- transform: translateY(20px); /* Start slightly lower for effect */
125
- animation: slideIn 0.5s forwards; /* Adding slide-in effect */
126
- }
127
-
128
- /* Input and Button Styles */
129
- input[type="file"], button {
130
- margin: 10px 0;
131
- padding: 8px;
132
- width: 100%; /* Make inputs full width */
133
- border: none;
134
- border-radius: 4px;
135
- background-color: #3a3a3a;
136
- color: #ffffff;
137
- transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
138
- }
139
-
140
- input[type="file"]:hover {
141
- background-color: #4a4a4a; /* Change background on hover */
142
- transform: scale(1.02); /* Slightly grow on hover */
143
- }
144
-
145
- button {
146
- background-color: #007bff; /* Button color */
147
- }
148
-
149
- button:hover {
150
- background-color: #0056b3; /* Darker on hover */
151
- }
152
-
153
- /* Animations */
154
- @keyframes slideIn {
155
- from {
156
- opacity: 0;
157
- transform: translateY(20px);
158
- }
159
- to {
160
- opacity: 1;
161
- transform: translateY(0);
162
- }
163
- }
164
-
165
- /* Headings */
166
- h1, h2 {
167
- margin: 20px 0; /* Spacing around headings */
168
- }
169
-
170
- /* Results Container */
171
- .results-container {
172
- background-color: #000000;
173
- padding: 20px;
174
- border-radius: 8px;
175
- margin: 20px auto; /* Centering */
176
- max-width: 600px; /* Maximum width for results */
177
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
178
- }
179
-
180
- /* Responsive styles */
181
- @media (max-width: 768px) {
182
- .navbar {
183
- flex-direction: column; /* Stack navbar items vertically on small screens */
184
- }
185
-
186
- .navbar .nav-link {
187
- text-align: center; /* Center align links */
188
- padding: 1rem; /* Slightly more padding */
189
- }
190
-
191
- .form-container,
192
- .results-container {
193
- width: 95%; /* Make forms/responses full width on smaller screens */
194
- }
195
- }
196
- body {
197
- background-color: #000000; /* Dark gray background */
198
- font-family: Arial, sans-serif;
199
- overflow: hidden; /* Add this to prevent scrolling */
200
- }
201
-
202
- /* Add a new container for the moving background effect */
203
- .moving-background {
204
- position: absolute;
205
- top: 0;
206
- left: 0;
207
- width: 100%;
208
- height: 100vh;
209
- background-image: linear-gradient(to right, #333, #444, #555);
210
- background-size: 300px 100vh;
211
- animation: move-background 10s linear infinite;
212
- }
213
-
214
- @keyframes move-background {
215
- 0% {
216
- transform: translateX(0);
217
- }
218
- 100% {
219
- transform: translateX(-300px);
220
- }
221
- }
222
-
223
- .navbar {
224
- background-color: #000000; /* Darker gray background for navbar */
225
- padding: 1rem;
226
- display: flex;
227
- justify-content: center; /* Center the navbar elements horizontally */
228
- align-items: center; /* Center the navbar elements vertically */
229
- }
230
-
231
- .navbar ul {
232
- list-style: none;
233
- margin: 0;
234
- padding: 0;
235
- display: flex;
236
- justify-content: center; /* Center the navbar links horizontally */
237
- }
238
-
239
- .navbar li {
240
- margin-right: 20px;
241
- }
242
-
243
- .nav-link {
244
- color: #68E905; /* White text color */
245
- text-shadow: #68E905;
246
- padding: 10px 20px; /* Add padding to create a box around the link */
247
- border-radius: 20px; /* Add a rounded corner effect */
248
- transition: none; /* Remove transition effect */
249
- }
250
-
251
- .nav-link:hover {
252
- box-shadow: 0 0 10px #a5c747, 0 0 20px #a5c747, 0 0 30px #a5c747; /* White shining neon effect */
253
- }
254
-
255
- main {
256
- display: flex;
257
- flex-direction: column;
258
- align-items: center;
259
- padding: 2rem;
260
- }
261
-
262
- h1, p {
263
- color: #fff; /* White text color */
264
- }
265
-
266
- .login-container {
267
- width: 500px;
268
- background-color: #000000; /* Darker gray background for login container */
269
- padding: 40px;
270
- border-radius: 30px;
271
- box-shadow: 0 0 900px #8605e9;
272
- margin: 100px auto;
273
- }
274
-
275
- h1 {
276
- text-decoration-color: #68E905;
277
- color: #68E905; /* White text color */
278
- text-align: center;
279
- }
280
-
281
- label {
282
- color: #68E905; /* White text color */
283
- }
284
-
285
- input[type="text"], input[type="password"] {
286
- width: 100%;
287
- padding: 10px;
288
- margin: 10px 0;
289
- border: none;
290
- border-radius: 5px;
291
- background-color: #444;
292
- color: #fff;
293
- }
294
-
295
- input[type="submit"] {
296
- width: 100%;
297
- padding: 10px;
298
- margin: 10px 0;
299
- border: none;
300
- border-radius: 5px;
301
- background-color: #68E905;
302
- color: #000000;
303
- cursor: pointer;
304
- }
305
-
306
- input[type="submit"]:hover {
307
- background-color: #ffffff;
308
- }
309
-
310
- p {
311
- color: #ffffff; /* White text color */
312
- text-align: center;
313
- }
314
-
315
- a {
316
- color: #68E905; /* Blue text color */
317
- text-decoration: none;
318
- }
319
-
320
- a:hover {
321
- color: #fa0000;
322
- }
323
- .pricing-container {
324
- display: flex;
325
- flex-wrap: wrap;
326
- justify-content: center;
327
- padding: 40px;
328
- }
329
-
330
- .pricing-plan {
331
- background-color: #333;
332
- padding: 20px;
333
- margin: 20px;
334
- border-radius: 10px;
335
- box-shadow: 0 0 10px #8605e9;
336
- width: 250px;
337
- }
338
-
339
- .pricing-plan h2 {
340
- color: #68E905;
341
- text-align: center;
342
- }
343
-
344
- .pricing-plan p {
345
- color: #fff;
346
- text-align: center;
347
- }
348
-
349
- .pricing-plan ul {
350
- list-style: none;
351
- padding: 0;
352
- margin: 0;
353
- }
354
-
355
- .pricing-plan li {
356
- color: #fff;
357
- padding: 10px;
358
- border-bottom: 1px solid #444;
359
- }
360
-
361
- .pricing-plan li:last-child {
362
- border-bottom: none;
363
- }
364
-
365
- .btn {
366
- background-color: #68E905;
367
- color: #000;
368
- padding: 10px 20px;
369
- border: none;
370
- border-radius: 5px;
371
- cursor: pointer;
372
- }
373
-
374
- .btn:hover {
375
- background-color: #ffffff;
376
- }
377
- .contact-container {
378
- display: flex;
379
- flex-direction: column;
380
- align-items: center;
381
- padding: 40px;
382
- }
383
-
384
- form {
385
- display: flex;
386
- flex-direction: column;
387
- align-items: center;
388
- padding: 20px;
389
- border: 1px solid #000000;
390
- border-radius: 10px;
391
- box-shadow: 0 0 900px #a5c747;
392
- width: 500px;
393
- }
394
-
395
- label {
396
- color: #68E905;
397
- padding: 10px;
398
- }
399
-
400
- input[type="text"], input[type="email"] {
401
- width: 100%;
402
- padding: 10px;
403
- margin: 10px 0;
404
- border: none;
405
- border-radius: 5px;
406
- background-color: #444;
407
- color: #fff;
408
- }
409
-
410
- textarea {
411
- width: 100%;
412
- padding: 10px;
413
- margin: 10px 0;
414
- border: none;
415
- border-radius: 5px;
416
- background-color: #444;
417
- color: #fff;
418
- }
419
-
420
- input[type="submit"] {
421
- width: 100%;
422
- padding: 10px;
423
- margin: 10px 0;
424
- border: none;
425
- border-radius: 5px;
426
- background-color: #ffffff;
427
- color: #000;
428
- cursor: pointer;
429
- }
430
-
431
- input[type="submit"]:hover {
432
- background-color: #ffffff;
433
- }
434
-
435
- body {
436
- margin: 0;
437
- height: 100vh;
438
- overflow: hidden; /* Prevent scrolling */
439
- background: linear-gradient(270deg, #000000, #32002f, #1c0000);
440
- background-size: 400% 400%;
441
- animation: gradient 5s ease infinite;
442
- overflow-y: auto; /* Allow vertical scrolling */
443
- min-height: 100vh; /* Ensure the body takes at least the full height of the viewport */
444
- }
445
-
446
- @keyframes gradient {
447
- 0% {
448
- background-position: 0% 50%;
449
- }
450
- 50% {
451
- background-position: 100% 50%;
452
- }
453
- 100% {
454
- background-position: 0% 50%;
455
- }
456
- }
457
-
458
- .glowing-effect {
459
- position: absolute;
460
- width: 100px; /* Adjust size as needed */
461
- height: 100px; /* Adjust size as needed */
462
- border-radius: 50%;
463
- background: rgba(0, 0, 0, 0.5);
464
- box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
465
- pointer-events: none; /* Prevent interaction */
466
- transform: translate(-50%, -50%);
467
- transition: background 0.3s ease;
468
- }
469
-
470
- .js-generated {
471
- /* Additional styles for JavaScript-generated elements */
472
- }
473
- .text {
474
- color: #ffffff; /* Text color */
475
- font-style: italic; /* Italic style */
476
- text-shadow: 0 0 5px #ee00ff; /* Brighter glow effect */
477
- }
 
1
+ /* ==========================
2
+ Global reset & base
3
+ ========================== */
4
+ * {
5
+ margin: 0;
6
+ padding: 0;
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ :root{
11
+ --bg-dark: #000;
12
+ --panel-dark: #111;
13
+ --muted: #444;
14
+ --accent: #68E905;
15
+ --accent-2: #a5c747;
16
+ --button: #68E905;
17
+ --button-text: #000;
18
+ --surface: #1a1a1a;
19
+ --glass: rgba(255,255,255,0.03);
20
+ --max-width: 1200px;
21
+ }
22
+
23
+ /* sensible defaults */
24
+ html,body {
25
+ height: 100%;
26
+ font-family: Arial, sans-serif;
27
+ -webkit-font-smoothing:antialiased;
28
+ -moz-osx-font-smoothing:grayscale;
29
+ color: #fff;
30
+ background: linear-gradient(270deg, #000000, #32002f, #1c0000);
31
+ background-size: 400% 400%;
32
+ animation: gradient 8s ease infinite;
33
+ min-height: 100vh;
34
+ overflow-y: auto; /* allow vertical scroll */
35
+ -webkit-overflow-scrolling: touch;
36
+ }
37
+
38
+ /* ==========================
39
+ Background & moving layer
40
+ ========================== */
41
+ .moving-background{
42
+ position: fixed;
43
+ inset: 0;
44
+ width: 100%;
45
+ height: 100%;
46
+ pointer-events: none;
47
+ z-index: 0;
48
+ background-image: linear-gradient(to right, #222, #333, #444);
49
+ background-size: 300px 100vh;
50
+ animation: move-background 10s linear infinite;
51
+ opacity: 0.12;
52
+ }
53
+
54
+ @keyframes move-background {
55
+ 0% { transform: translateX(0); }
56
+ 100% { transform: translateX(-300px); }
57
+ }
58
+
59
+ @keyframes gradient {
60
+ 0% { background-position: 0% 50%; }
61
+ 50% { background-position: 100% 50%; }
62
+ 100% { background-position: 0% 50%; }
63
+ }
64
+
65
+ /* ==========================
66
+ Layout containers
67
+ ========================== */
68
+ .app-container {
69
+ display: flex;
70
+ min-height: 100vh;
71
+ max-width: var(--max-width);
72
+ margin: 0 auto;
73
+ position: relative;
74
+ z-index: 2;
75
+ }
76
+
77
+ /* Sidebar */
78
+ .sidebar {
79
+ background-color: #343a40;
80
+ color: #fff;
81
+ padding: 20px;
82
+ width: 220px;
83
+ min-height: 100vh;
84
+ }
85
+
86
+ /* Main content */
87
+ .content {
88
+ flex: 1 1 auto;
89
+ display: flex;
90
+ flex-direction: column;
91
+ padding: 24px;
92
+ }
93
+
94
+ /* Use a centered main area for single-column pages (login/forms/etc) */
95
+ main {
96
+ display: flex;
97
+ flex-direction: column;
98
+ align-items: center;
99
+ padding: 2rem;
100
+ width: 100%;
101
+ z-index: 3;
102
+ }
103
+
104
+ /* ==========================
105
+ Navbar
106
+ ========================== */
107
+ .navbar {
108
+ background-color: rgba(0,0,0,0.6);
109
+ padding: 0.75rem 1rem;
110
+ display: flex;
111
+ justify-content: center;
112
+ align-items: center;
113
+ z-index: 4;
114
+ position: relative;
115
+ gap: 1rem;
116
+ }
117
+
118
+ .navbar ul {
119
+ list-style: none;
120
+ display: flex;
121
+ gap: 0.75rem;
122
+ align-items: center;
123
+ margin: 0;
124
+ padding: 0;
125
+ }
126
+
127
+ .navbar li { margin: 0; }
128
+
129
+ .nav-link {
130
+ color: var(--accent);
131
+ text-shadow: 0 0 6px rgba(104,233,5,0.12);
132
+ padding: 10px 18px;
133
+ border-radius: 20px;
134
+ display: inline-block;
135
+ text-decoration: none;
136
+ font-weight: 600;
137
+ transition: box-shadow 150ms ease;
138
+ }
139
+
140
+ .nav-link:hover,
141
+ .nav-links a:hover {
142
+ box-shadow: 0 0 10px var(--accent-2), 0 0 20px var(--accent-2);
143
+ color: #fff;
144
+ }
145
+
146
+ /* active class */
147
+ .nav-links a.active {
148
+ background: rgba(104,233,5,0.08);
149
+ color: var(--accent);
150
+ }
151
+
152
+ /* ==========================
153
+ Forms / Cards
154
+ ========================== */
155
+ .form-container {
156
+ background-color: #0f0f10;
157
+ padding: 20px;
158
+ border-radius: 12px;
159
+ margin: 20px auto;
160
+ max-width: 600px;
161
+ box-shadow: 0 6px 24px rgba(0,0,0,0.6);
162
+ transform: translateY(0);
163
+ animation: slideIn 0.45s ease both;
164
+ z-index: 3;
165
+ }
166
+
167
+ @keyframes slideIn {
168
+ from { opacity: 0; transform: translateY(20px); }
169
+ to { opacity: 1; transform: translateY(0); }
170
+ }
171
+
172
+ /* Inputs and buttons */
173
+ input[type="file"], input[type="text"], input[type="password"], textarea, select, button {
174
+ margin: 10px 0;
175
+ padding: 10px 12px;
176
+ width: 100%;
177
+ border: none;
178
+ border-radius: 8px;
179
+ background-color: #222;
180
+ color: #fff;
181
+ font-size: 1rem;
182
+ outline: none;
183
+ transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
184
+ }
185
+
186
+ input[type="file"]:hover, input[type="text"]:hover, textarea:hover {
187
+ transform: translateY(-1px);
188
+ background-color: #2a2a2a;
189
+ }
190
+
191
+ button {
192
+ background-color: var(--button);
193
+ color: var(--button-text);
194
+ cursor: pointer;
195
+ border-radius: 8px;
196
+ padding: 12px 14px;
197
+ font-weight: 700;
198
+ border: none;
199
+ }
200
+
201
+ button:hover {
202
+ filter: brightness(0.95);
203
+ }
204
+
205
+ /* Login container / auth card */
206
+ .login-container {
207
+ width: 100%;
208
+ max-width: 520px;
209
+ background-color: rgba(0,0,0,0.6);
210
+ padding: 36px;
211
+ border-radius: 20px;
212
+ box-shadow: 0 0 140px rgba(134,5,233,0.12);
213
+ margin: 60px auto;
214
+ }
215
+
216
+ /* Results box */
217
+ .results-container {
218
+ background-color: #050505;
219
+ padding: 20px;
220
+ border-radius: 8px;
221
+ margin: 20px auto;
222
+ max-width: 640px;
223
+ box-shadow: 0 6px 20px rgba(0,0,0,0.6);
224
+ }
225
+
226
+ /* Pricing cards */
227
+ .pricing-container {
228
+ display: flex;
229
+ flex-wrap: wrap;
230
+ justify-content: center;
231
+ gap: 20px;
232
+ padding: 40px 12px;
233
+ }
234
+
235
+ .pricing-plan {
236
+ background-color: #222;
237
+ padding: 20px;
238
+ border-radius: 10px;
239
+ box-shadow: 0 6px 18px rgba(134,5,233,0.06);
240
+ width: 260px;
241
+ color: #fff;
242
+ }
243
+
244
+ /* Contact form */
245
+ .contact-container { display:flex; flex-direction:column; align-items:center; padding:40px; }
246
+ .contact-container form {
247
+ width:100%;
248
+ max-width:520px;
249
+ background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
250
+ padding:20px;
251
+ border-radius: 10px;
252
+ box-shadow: 0 0 120px rgba(165,199,71,0.04);
253
+ }
254
+
255
+ /* Buttons common */
256
+ .btn {
257
+ background-color: var(--button);
258
+ color: var(--button-text);
259
+ padding: 10px 18px;
260
+ border-radius: 8px;
261
+ border: none;
262
+ cursor: pointer;
263
+ }
264
+
265
+ /* ==========================
266
+ Text & small utilities
267
+ ========================== */
268
+ h1, h2 {
269
+ margin: 20px 0;
270
+ color: var(--accent);
271
+ text-align: center;
272
+ }
273
+
274
+ p { color: #ddd; line-height: 1.6; }
275
+
276
+ a { color: var(--accent); text-decoration: none; }
277
+ a:hover { color: #fff; }
278
+
279
+ /* subtle label color */
280
+ label { color: var(--accent); font-weight:600; display:block; margin-bottom:6px; }
281
+
282
+ /* ==========================
283
+ Glowing cursor effect
284
+ ========================== */
285
+ .glowing-effect {
286
+ position: fixed;
287
+ left: 0;
288
+ top: 0;
289
+ width: 180px;
290
+ height: 180px;
291
+ pointer-events: none;
292
+ transform: translate(calc(var(--x, 0) - 50%), calc(var(--y, 0) - 50%));
293
+ mix-blend-mode: screen;
294
+ filter: blur(36px);
295
+ z-index: 9999;
296
+ background: radial-gradient(circle at center, rgba(104,150,255,0.20) 0%, rgba(104,150,255,0.06) 40%, transparent 70%);
297
+ transition: transform 0.04s linear;
298
+ }
299
+ .glowing-effect.js-generated { opacity: 0.95; }
300
+
301
+ /* ==========================
302
+ Small screens / responsive
303
+ ========================== */
304
+ @media (max-width: 992px) {
305
+ .sidebar { display: none; }
306
+ .app-container { padding: 0 12px; }
307
+ .login-container { margin: 28px auto; padding: 28px; }
308
+ .pricing-plan { width: 220px; }
309
+ }
310
+
311
+ @media (max-width: 576px) {
312
+ .navbar { flex-direction: column; gap: 8px; padding: 0.5rem; }
313
+ .navbar ul { flex-wrap: wrap; gap: 8px; justify-content:center; }
314
+ .form-container, .results-container, .login-container, .contact-container form {
315
+ width: 95%;
316
+ padding: 16px;
317
+ margin: 12px auto;
318
+ }
319
+ .glowing-effect { width: 120px; height: 120px; filter: blur(28px); }
320
+ h1 { font-size: 1.4rem; }
321
+ }
322
+
323
+ /* ==========================
324
+ Accessibility & reductions
325
+ ========================== */
326
+ /* reduce motion for users who prefer it */
327
+ @media (prefers-reduced-motion: reduce) {
328
+ * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
329
+ }
330
+
331
+ /* ==========================
332
+ Minor helpers
333
+ ========================== */
334
+ .text {
335
+ color: #fff;
336
+ font-style: italic;
337
+ text-shadow: 0 0 8px #ee00ff;
338
+ text-align: center;
339
+ z-index: 3;
340
+ }
341
+ .download-link {
342
+ display:inline-block;
343
+ margin-top:8px;
344
+ padding:8px 12px;
345
+ background:#007bff;
346
+ color:#fff;
347
+ border-radius:6px;
348
+ text-decoration:none;
349
+ }
350
+
351
+ /* ensure overlays sit above content */
352
+ .app-overlay { position:relative; z-index:5; }