whitney0507 commited on
Commit
cdb882f
·
verified ·
1 Parent(s): 8f4979c

Update ui.css

Browse files
Files changed (1) hide show
  1. ui.css +774 -516
ui.css CHANGED
@@ -1,516 +1,774 @@
1
- /* Gradio container - Solid background color */
2
- @import url('https://fonts.googleapis.com/css2?family=Jacques+Francois&display=swap');
3
- .gradio-container {
4
- background-image: url('https://i.ibb.co/KxBn0Yt5/Bottom-Grass-Image.png') !important;
5
- background-size: cover !important;
6
- background-position: center!important;
7
- background-repeat: no-repeat !important;
8
- padding: 60px !important;
9
- align-items: center;
10
- text-align: center !important;
11
-
12
- }
13
- .gradio-container, .gr-block, .gr-panel, .gr-box {
14
- border: none !important;
15
- box-shadow: none !important; /* Remove any shadow effect */
16
- color:#000 !important; /* Ensure text is visible */
17
- }
18
-
19
- /* Ensure inside container has a solid dark background */
20
- .inner-container {
21
- background-color: #0B0F19;
22
- padding: 10px;
23
- border-radius: 15px;
24
- border: 5px solid rgb(20, 18, 18);
25
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
26
- max-width: 800px;
27
- text-align: center;
28
- display: flex;
29
- flex-direction: column;
30
- align-items: center;
31
- }
32
-
33
-
34
- /* Title and description - ensure visibility */
35
- .title-text{
36
- background-color: transparent !important;
37
- color: #fff !important;
38
- text-align: center !important;
39
- }
40
- .h1, h1 {
41
- font-size: 40px !important;
42
- font-family:'Jacques Francois', serif;
43
- margin: 10px 0 !important;
44
- }
45
- .description-text{
46
- font-size: 20px !important;
47
- font-family:'Jacques Francois', serif;
48
- margin: 10px 0 !important;
49
- background-color: transparent !important;
50
- color: #fff !important;
51
- text-align: center !important;
52
- }
53
- .jacques-francois-regular {
54
- font-family: "Jacques Francois", serif;
55
- font-weight: 400;
56
- font-style: normal;
57
- }
58
-
59
-
60
- /* Logo styling */
61
- .logo-container {
62
- background-color: #0B0F19 !important; /* Background color for the logo container */
63
- margin: 10px 0 !important;
64
- padding: 30px !important; /* Adjust padding if necessary */
65
- display: flex;
66
- justify-content: center;
67
- align-items: center;
68
- height:120px !important;
69
- width: 400px !important;
70
- }
71
-
72
- /* Optional: Add some padding around the logo image */
73
- .logo-container img {
74
- object-fit: contain !important; /* Ensure image scales properly */
75
- max-height: 100% !important; /* Make sure the image fits the container */
76
- }
77
- .logo-container-system {
78
- background-color: #E4E4E7 !important; /* Background color for the logo container */
79
- margin: 10px 10px !important;
80
- text-align: left !important;
81
- height: 80px !important;
82
- width: 200px !important;
83
- }
84
-
85
- /* Optional: Add some padding around the logo image */
86
- .logo-container-system img {
87
- display: inline-block;
88
- vertical-align: middle;
89
- }
90
-
91
- /* Button styling */
92
- .trial-button {
93
- background-color: #E67E22 !important;
94
- color: white !important;
95
- border: none !important;
96
- border-radius: 15px !important;
97
- padding: 10px 30px !important;
98
- font-size: 16px !important;
99
- /* Make it center so margin has to be auto*/
100
- margin: 20px auto !important;
101
- cursor: pointer !important;
102
- max-width: 200px !important; /* Limit the button width */
103
- text-align: center !important;
104
- display: flex !important;
105
- justify-content: center !important;
106
- }
107
-
108
-
109
-
110
- .back-button {
111
- margin-top: 20px !important;
112
- margin: 20px auto !important;
113
- padding: 10px 30px !important;
114
- font-size: 16px !important;
115
- border-radius: 15px !important;
116
- background-color: #E67E22 !important;
117
- color: white !important;
118
- border: none !important;
119
- cursor: pointer !important;
120
- max-width: 200px !important;
121
- }
122
- .system-page-description{
123
- font-size: 20px !important;
124
- color: #000000 !important;
125
- text-align: center !important;
126
- margin: 40px 40px!important;
127
- /* padding: 40px 40px!important; */
128
- background-color: transparent !important;
129
- }
130
-
131
-
132
-
133
-
134
- .project-container {
135
- display: flex;
136
- flex-direction: column;
137
- width: 100%;
138
- max-width: 1200px;
139
- margin: 0 auto;
140
- padding: 20px;
141
- }
142
-
143
- .project-container .project-title {
144
- text-align: center;
145
- font-size: 30px !important;
146
- margin: 0 auto;
147
- }
148
-
149
- .upper-content {
150
- display: flex;
151
- flex-direction: row;
152
- gap: 30px;
153
- padding-top: 20px;
154
- }
155
-
156
- .left-upper-column {
157
- flex: 1;
158
- display: flex;
159
- flex-direction: column;
160
- }
161
-
162
- .right-upper-column {
163
- flex: 1;
164
- display: flex;
165
- flex-direction: column;
166
- justify-content: center;
167
- }
168
-
169
- .chart {
170
- font-family: 'Jacques Francois', serif;
171
- width: 100%;
172
- background-color: white;
173
- border-radius: 10px;
174
- padding: 10px;
175
- }
176
-
177
- .chart-image {
178
- width: 100%;
179
- height: auto;
180
- }
181
-
182
- .chart-caption {
183
- text-align: center;
184
- font-size: 12px;
185
- margin-top: 10px;
186
- color: #333;
187
- }
188
-
189
- .herbicide-description {
190
- padding: 20px 0;
191
- font-size: 20px;
192
- text-align: justify;
193
- }
194
-
195
- .herbicide-title {
196
- margin-top: -40px;
197
- margin-bottom: 20px;
198
- font-size: 50px;
199
- text-align: center;
200
- }
201
- span.bold-red{
202
- font-family: 'Jacques Francois', serif;
203
- font-size: 20px;
204
- color:red;
205
- font-weight: bold;
206
- }
207
-
208
-
209
- .middle-content {
210
- display: flex;
211
- flex-direction: row;
212
- gap: 30px;
213
- padding-top: 20px;
214
- }
215
-
216
- .left-middle-column {
217
- flex: 1;
218
- display: flex;
219
- flex-direction: column;
220
-
221
- }
222
-
223
- .right-middle-column {
224
- flex: 1;
225
- display: flex;
226
- flex-direction: column;
227
- justify-content: center;
228
- align-items: center;
229
- }
230
-
231
- .objective-description {
232
- padding: 20px;
233
-
234
- }
235
-
236
- .objective-title {
237
- font-size: clamp(30px, 5vw, 50px); /* Responsive font size */
238
- white-space: nowrap;
239
- margin-bottom: 20px;
240
- text-align: left;
241
- }
242
-
243
- .objective-text {
244
- font-size: 20px;
245
- line-height: 1.6;
246
- text-align: justify;
247
- color: #333;
248
- }
249
-
250
- :root {
251
- --size-width: 400px;
252
- --size-height: 250px;
253
- }
254
-
255
- .carousel-wrapper {
256
- width: calc(var(--size-width) * 1.3);
257
- height: calc(var(--size-height) * 1.4);
258
- display: flex;
259
- justify-content: center;
260
- align-items: center;
261
- box-shadow: 5px 5px 25px 0px rgba(46, 61, 73, 0.2);
262
- border-radius: 15px;
263
- }
264
-
265
- .carousel-container {
266
- width: var(--size-width);
267
- height: var(--size-height);
268
- overflow: hidden;
269
- margin: 0 auto;
270
- font-size: 16px;
271
- font-weight:bold;
272
- font-family: 'Jacques Francois', serif;
273
- }
274
-
275
- .carousel {
276
- display: flex;
277
- width: calc(var(--size-width) * 3);
278
- animation: sliding 6s infinite;
279
- }
280
-
281
-
282
- .carousel div {
283
- width: var(--size-width);
284
- height: var(--size-height);
285
- background-size: cover;
286
- background-position: center;
287
- }
288
-
289
- .carousel:hover {
290
- animation-play-state: paused;
291
- }
292
-
293
- .image-one {
294
- background-image: url("https://i.ibb.co/0jpWh4CD/Dock-Weed-1.jpg");
295
- }
296
-
297
- .image-two {
298
- background-image: url("https://i.ibb.co/1f7zdPMk/Dock-Weed-2.jpg");
299
- }
300
-
301
- .image-three {
302
- background-image: url("https://i.ibb.co/4Z1YffPd/Dock-Weed-3.jpg");
303
- }
304
-
305
- @keyframes sliding {
306
- 30% {
307
- transform: translateX(0);
308
- }
309
- 35% {
310
- transform: translateX(calc(var(--size-width) * -1));
311
- }
312
- 65% {
313
- transform: translateX(calc(var(--size-width) * -1));
314
- }
315
- 70% {
316
- transform: translateX(calc(var(--size-width) * -2));
317
- }
318
- 98% {
319
- transform: translateX(calc(var(--size-width) * -2));
320
- }
321
- 100% {
322
- transform: translateX(0);
323
- }
324
- }
325
-
326
- @media screen and (max-width: 768px) {
327
- :root {
328
- --size-width: 240px;
329
- --size-height: 150px;
330
- }
331
- }
332
- .bottom-content {
333
- display: flex;
334
- flex-direction: row;
335
- gap: 30px;
336
- padding: 20px 0;
337
- background-image: url('path-to-your-green-background.jpg');
338
- background-size: cover;
339
- background-position: center;
340
- color: white;
341
- border-radius: 10px;
342
- margin-top: 10px;
343
- }
344
-
345
- .left-bottom-column {
346
- flex: 1;
347
- display: flex;
348
- flex-direction: column;
349
- padding: 20px;
350
- }
351
-
352
- .right-bottom-column {
353
- flex: 1;
354
- display: flex;
355
- flex-direction: column;
356
- justify-content: center;
357
- align-items: center;
358
- padding: 20px;
359
- }
360
-
361
- .benefits-description {
362
- width: 600px;
363
- height: 300px;
364
- text-align: left;
365
- background-color: white;
366
- border: 10px;
367
- border-radius: 20px;
368
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
369
-
370
-
371
- }
372
-
373
- .benefits-title {
374
- font-size: clamp(30px, 5vw, 50px);
375
- text-align: center;
376
- margin-bottom: 20px;
377
- font-weight: bold;
378
- }
379
-
380
- .benefits-text {
381
- font-size: 18px;
382
- line-height: 1.8;
383
- text-align: left;
384
- padding-left: 20px;
385
- }
386
-
387
- .benefits-text br {
388
- margin-bottom: 10px;
389
- }
390
-
391
- .model-image {
392
- margin: 20px auto;
393
- width: 100%;
394
- height: auto;
395
- max-width: 400px; /* Limit the image width */
396
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
397
- background-color: #fff;
398
- }
399
-
400
-
401
- /* For bullet points, you can use this instead of <br> */
402
- .benefits-list {
403
- list-style-type: disc;
404
- padding-left: 40px;
405
- }
406
-
407
- .benefits-list li {
408
- margin-bottom: 10px;
409
- font-size: 18px;
410
- font-weight: bold;
411
- }
412
- .author-section {
413
- max-width: 1200px;
414
- margin: 0 auto;
415
- padding: 30px 20px;
416
- font-family: 'Jacques Francois', serif;
417
- }
418
-
419
- .author-title {
420
- text-align: center;
421
- font-size: 40px;
422
- margin-bottom: 40px;
423
- }
424
-
425
- .author-content {
426
- display: flex;
427
- flex-direction: row;
428
- gap: 40px;
429
- align-items: center;
430
- }
431
-
432
- .author-image-container {
433
- flex: 0 0 200px;
434
- }
435
-
436
- .author-image {
437
- width: 100%;
438
- border-radius: 10px;
439
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
440
- }
441
-
442
- .author-bio {
443
- flex: 1;
444
- }
445
-
446
- .author-text {
447
- font-size: 18px;
448
- line-height: 1.6;
449
- margin-bottom: 30px;
450
- text-align: justify;
451
- }
452
-
453
- .social-links {
454
- display: flex;
455
- gap: 20px;
456
- margin-top: 20px;
457
- }
458
-
459
- .social-link {
460
- display: flex;
461
- align-items: center;
462
- gap: 8px;
463
- text-decoration: none;
464
- color: #2a6a39;
465
- font-weight: bold;
466
- padding: 10px 15px;
467
- border-radius: 5px;
468
- background-color: #f5f5f5;
469
- transition: all 0.3s ease;
470
- }
471
-
472
- .social-link:hover {
473
- background-color: #e0e0e0;
474
- transform: translateY(-2px);
475
- }
476
-
477
- .social-icon {
478
- width: 24px;
479
- height: 24px;
480
- }
481
-
482
-
483
-
484
-
485
-
486
-
487
- @media (max-width: 1200px) {
488
- .upper-content {
489
- flex-direction: column;
490
- }
491
- .middle-content {
492
- flex-direction: column; /* This would stack elements on small screens */
493
- }
494
- .bottom-content {
495
- flex-direction: column;
496
- }
497
- .author-content {
498
- flex-direction: column;
499
- text-align: center;
500
- }
501
-
502
- .author-image-container {
503
- max-width: 150px;
504
- margin: 0 auto;
505
- }
506
-
507
- .social-links {
508
- flex-direction: column;
509
- align-items: center;
510
- }
511
-
512
- .social-link {
513
- width: 80%;
514
- justify-content: center;
515
- }
516
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Gradio container - Solid background color */
2
+ @import url('https://fonts.googleapis.com/css2?family=Jacques+Francois&display=swap');
3
+ .gradio-container {
4
+ background-image: url('https://i.ibb.co/KxBn0Yt5/Bottom-Grass-Image.png') !important;
5
+ background-size: cover !important;
6
+ background-position: center!important;
7
+ background-repeat: no-repeat !important;
8
+ padding: 60px !important;
9
+ align-items: center;
10
+ text-align: center !important;
11
+
12
+ }
13
+ .gradio-container, .gr-block, .gr-panel, .gr-box {
14
+ border: none !important;
15
+ box-shadow: none !important; /* Remove any shadow effect */
16
+ color:#000 !important; /* Ensure text is visible */
17
+ }
18
+
19
+ /* Ensure inside container has a solid dark background */
20
+ .inner-container {
21
+ background-color: #0B0F19;
22
+ padding: 10px;
23
+ border-radius: 15px;
24
+ border: 5px solid rgb(20, 18, 18);
25
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
26
+ max-width: 800px;
27
+ text-align: center;
28
+ display: flex;
29
+ flex-direction: column;
30
+ align-items: center;
31
+ }
32
+
33
+
34
+ /* Title and description - ensure visibility */
35
+ .title-text{
36
+ background-color: transparent !important;
37
+ color: #fff !important;
38
+ text-align: center !important;
39
+ }
40
+ .h1, h1 {
41
+ font-size: 40px !important;
42
+ font-family:'Jacques Francois', serif;
43
+ margin: 10px 0 !important;
44
+ }
45
+ .description-text{
46
+ font-size: 20px !important;
47
+ font-family:'Jacques Francois', serif;
48
+ margin: 10px 0 !important;
49
+ background-color: transparent !important;
50
+ color: #fff !important;
51
+ text-align: center !important;
52
+ }
53
+ .jacques-francois-regular {
54
+ font-family: "Jacques Francois", serif;
55
+ font-weight: 400;
56
+ font-style: normal;
57
+ }
58
+
59
+
60
+ /* Logo styling */
61
+ .logo-container {
62
+ background-color: #0B0F19 !important; /* Background color for the logo container */
63
+ margin: 10px 0 !important;
64
+ padding: 30px !important; /* Adjust padding if necessary */
65
+ display: flex;
66
+ justify-content: center;
67
+ align-items: center;
68
+ height:120px !important;
69
+ width: 400px !important;
70
+ }
71
+
72
+ /* Optional: Add some padding around the logo image */
73
+ .logo-container img {
74
+ object-fit: contain !important; /* Ensure image scales properly */
75
+ max-height: 100% !important; /* Make sure the image fits the container */
76
+ }
77
+ .logo-container-system {
78
+ background-color: #E4E4E7 !important; /* Background color for the logo container */
79
+ margin: 10px 10px !important;
80
+ text-align: left !important;
81
+ height: 80px !important;
82
+ width: 200px !important;
83
+ }
84
+
85
+ /* Optional: Add some padding around the logo image */
86
+ .logo-container-system img {
87
+ display: inline-block;
88
+ vertical-align: middle;
89
+ }
90
+
91
+ /* Button styling */
92
+ .trial-button {
93
+ background-color: #E67E22 !important;
94
+ color: white !important;
95
+ border: none !important;
96
+ border-radius: 15px !important;
97
+ padding: 10px 30px !important;
98
+ font-size: 16px !important;
99
+ /* Make it center so margin has to be auto*/
100
+ margin: 20px auto !important;
101
+ cursor: pointer !important;
102
+ max-width: 200px !important; /* Limit the button width */
103
+ text-align: center !important;
104
+ display: flex !important;
105
+ justify-content: center !important;
106
+ }
107
+
108
+
109
+
110
+ .back-button {
111
+ margin-top: 20px !important;
112
+ margin: 20px auto !important;
113
+ padding: 10px 30px !important;
114
+ font-size: 16px !important;
115
+ border-radius: 15px !important;
116
+ background-color: #E67E22 !important;
117
+ color: white !important;
118
+ border: none !important;
119
+ cursor: pointer !important;
120
+ max-width: 200px !important;
121
+ }
122
+ .system-page-description{
123
+ font-size: 20px !important;
124
+ color: #000000 !important;
125
+ text-align: center !important;
126
+ margin: 40px 40px!important;
127
+ /* padding: 40px 40px!important; */
128
+ background-color: transparent !important;
129
+ }
130
+
131
+
132
+
133
+
134
+ .project-container {
135
+ display: flex;
136
+ flex-direction: column;
137
+ width: 100%;
138
+ max-width: 1200px;
139
+ margin: 0 auto;
140
+ padding: 20px;
141
+ }
142
+
143
+ .project-container .project-title {
144
+ text-align: center;
145
+ font-size: 30px !important;
146
+ margin: 0 auto;
147
+ }
148
+
149
+ .upper-content {
150
+ display: flex;
151
+ flex-direction: row;
152
+ gap: 30px;
153
+ padding-top: 20px;
154
+ }
155
+
156
+ .left-upper-column {
157
+ flex: 1;
158
+ display: flex;
159
+ flex-direction: column;
160
+ }
161
+
162
+ .right-upper-column {
163
+ flex: 1;
164
+ display: flex;
165
+ flex-direction: column;
166
+ justify-content: center;
167
+ }
168
+
169
+ .chart {
170
+ font-family: 'Jacques Francois', serif;
171
+ width: 100%;
172
+ background-color: white;
173
+ border-radius: 10px;
174
+ padding: 10px;
175
+ }
176
+
177
+ .chart-image {
178
+ width: 100%;
179
+ height: auto;
180
+ }
181
+
182
+ .chart-caption {
183
+ text-align: center;
184
+ font-size: 12px;
185
+ margin-top: 10px;
186
+ color: #333;
187
+ }
188
+
189
+ .herbicide-description {
190
+ padding: 20px 0;
191
+ font-size: 20px;
192
+ text-align: justify;
193
+ }
194
+
195
+ .herbicide-title {
196
+ margin-top: -40px;
197
+ margin-bottom: 20px;
198
+ font-size: 50px;
199
+ text-align: center;
200
+ }
201
+ span.bold-red{
202
+ font-family: 'Jacques Francois', serif;
203
+ font-size: 20px;
204
+ color:red;
205
+ font-weight: bold;
206
+ }
207
+
208
+
209
+ .middle-content {
210
+ display: flex;
211
+ flex-direction: row;
212
+ gap: 30px;
213
+ padding-top: 20px;
214
+ }
215
+
216
+ .left-middle-column {
217
+ flex: 1;
218
+ display: flex;
219
+ flex-direction: column;
220
+
221
+ }
222
+
223
+ .right-middle-column {
224
+ flex: 1;
225
+ display: flex;
226
+ flex-direction: column;
227
+ justify-content: center;
228
+ align-items: center;
229
+ }
230
+
231
+ .objective-description {
232
+ padding: 20px;
233
+
234
+ }
235
+
236
+ .objective-title {
237
+ font-size: clamp(30px, 5vw, 50px); /* Responsive font size */
238
+ white-space: nowrap;
239
+ margin-bottom: 20px;
240
+ text-align: left;
241
+ }
242
+
243
+ .objective-text {
244
+ font-size: 20px;
245
+ line-height: 1.6;
246
+ text-align: justify;
247
+ color: #333;
248
+ }
249
+
250
+ :root {
251
+ --size-width: 400px;
252
+ --size-height: 250px;
253
+ }
254
+
255
+ .carousel-wrapper {
256
+ width: calc(var(--size-width) * 1.3);
257
+ height: calc(var(--size-height) * 1.4);
258
+ display: flex;
259
+ justify-content: center;
260
+ align-items: center;
261
+ box-shadow: 5px 5px 25px 0px rgba(46, 61, 73, 0.2);
262
+ border-radius: 15px;
263
+ }
264
+
265
+ .carousel-container {
266
+ width: var(--size-width);
267
+ height: var(--size-height);
268
+ overflow: hidden;
269
+ margin: 0 auto;
270
+ font-size: 16px;
271
+ font-weight:bold;
272
+ font-family: 'Jacques Francois', serif;
273
+ }
274
+
275
+ .carousel {
276
+ display: flex;
277
+ width: calc(var(--size-width) * 3);
278
+ animation: sliding 6s infinite;
279
+ }
280
+
281
+
282
+ .carousel div {
283
+ width: var(--size-width);
284
+ height: var(--size-height);
285
+ background-size: cover;
286
+ background-position: center;
287
+ }
288
+
289
+ .carousel:hover {
290
+ animation-play-state: paused;
291
+ }
292
+
293
+ .image-one {
294
+ background-image: url("https://i.ibb.co/0jpWh4CD/Dock-Weed-1.jpg");
295
+ }
296
+
297
+ .image-two {
298
+ background-image: url("https://i.ibb.co/1f7zdPMk/Dock-Weed-2.jpg");
299
+ }
300
+
301
+ .image-three {
302
+ background-image: url("https://i.ibb.co/4Z1YffPd/Dock-Weed-3.jpg");
303
+ }
304
+
305
+ @keyframes sliding {
306
+ 30% {
307
+ transform: translateX(0);
308
+ }
309
+ 35% {
310
+ transform: translateX(calc(var(--size-width) * -1));
311
+ }
312
+ 65% {
313
+ transform: translateX(calc(var(--size-width) * -1));
314
+ }
315
+ 70% {
316
+ transform: translateX(calc(var(--size-width) * -2));
317
+ }
318
+ 98% {
319
+ transform: translateX(calc(var(--size-width) * -2));
320
+ }
321
+ 100% {
322
+ transform: translateX(0);
323
+ }
324
+ }
325
+
326
+ @media screen and (max-width: 768px) {
327
+ :root {
328
+ --size-width: 240px;
329
+ --size-height: 150px;
330
+ }
331
+ }
332
+ .bottom-content {
333
+ display: flex;
334
+ flex-direction: row;
335
+ gap: 30px;
336
+ padding: 20px 0;
337
+ background-image: url('path-to-your-green-background.jpg');
338
+ background-size: cover;
339
+ background-position: center;
340
+ color: white;
341
+ border-radius: 10px;
342
+ margin-top: 10px;
343
+ }
344
+
345
+ .left-bottom-column {
346
+ flex: 1;
347
+ display: flex;
348
+ flex-direction: column;
349
+ padding: 20px;
350
+ }
351
+
352
+ .right-bottom-column {
353
+ flex: 1;
354
+ display: flex;
355
+ flex-direction: column;
356
+ justify-content: center;
357
+ align-items: center;
358
+ padding: 20px;
359
+ }
360
+
361
+ .benefits-description {
362
+ width: 600px;
363
+ height: 300px;
364
+ text-align: left;
365
+ background-color: white;
366
+ border: 10px;
367
+ border-radius: 20px;
368
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
369
+
370
+
371
+ }
372
+
373
+ .benefits-title {
374
+ font-size: clamp(30px, 5vw, 50px);
375
+ text-align: center;
376
+ margin-bottom: 20px;
377
+ font-weight: bold;
378
+ }
379
+
380
+ .benefits-text {
381
+ font-size: 18px;
382
+ line-height: 1.8;
383
+ text-align: left;
384
+ padding-left: 20px;
385
+ }
386
+
387
+ .benefits-text br {
388
+ margin-bottom: 10px;
389
+ }
390
+
391
+ .model-image {
392
+ margin: 20px auto;
393
+ width: 100%;
394
+ height: auto;
395
+ max-width: 400px; /* Limit the image width */
396
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
397
+ background-color: #fff;
398
+ }
399
+
400
+
401
+ /* For bullet points, you can use this instead of <br> */
402
+ .benefits-list {
403
+ list-style-type: disc;
404
+ padding-left: 40px;
405
+ }
406
+
407
+ .benefits-list li {
408
+ margin-bottom: 10px;
409
+ font-size: 18px;
410
+ font-weight: bold;
411
+ }
412
+ .author-section {
413
+ max-width: 1200px;
414
+ margin: 0 auto;
415
+ padding: 30px 20px;
416
+ font-family: 'Jacques Francois', serif;
417
+ }
418
+
419
+ .author-title {
420
+ text-align: center;
421
+ font-size: 40px;
422
+ margin-bottom: 40px;
423
+ }
424
+
425
+ .author-content {
426
+ display: flex;
427
+ flex-direction: row;
428
+ gap: 40px;
429
+ align-items: center;
430
+ }
431
+
432
+ .author-image-container {
433
+ flex: 0 0 200px;
434
+ }
435
+
436
+ .author-image {
437
+ width: 100%;
438
+ border-radius: 10px;
439
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
440
+ }
441
+
442
+ .author-bio {
443
+ flex: 1;
444
+ }
445
+
446
+ .author-text {
447
+ font-size: 18px;
448
+ line-height: 1.6;
449
+ margin-bottom: 30px;
450
+ text-align: justify;
451
+ }
452
+
453
+ .social-links {
454
+ display: flex;
455
+ gap: 20px;
456
+ margin-top: 20px;
457
+ }
458
+
459
+ .social-link {
460
+ display: flex;
461
+ align-items: center;
462
+ gap: 8px;
463
+ text-decoration: none;
464
+ color: #2a6a39;
465
+ font-weight: bold;
466
+ padding: 10px 15px;
467
+ border-radius: 5px;
468
+ background-color: #f5f5f5;
469
+ transition: all 0.3s ease;
470
+ }
471
+
472
+ .social-link:hover {
473
+ background-color: #e0e0e0;
474
+ transform: translateY(-2px);
475
+ }
476
+
477
+ .social-icon {
478
+ width: 24px;
479
+ height: 24px;
480
+ }
481
+
482
+
483
+
484
+
485
+
486
+
487
+ @media (max-width: 1200px) {
488
+ .upper-content {
489
+ flex-direction: column;
490
+ }
491
+ .middle-content {
492
+ flex-direction: column; /* This would stack elements on small screens */
493
+ }
494
+ .bottom-content {
495
+ flex-direction: column;
496
+ }
497
+ .author-content {
498
+ flex-direction: column;
499
+ text-align: center;
500
+ }
501
+
502
+ .author-image-container {
503
+ max-width: 150px;
504
+ margin: 0 auto;
505
+ }
506
+
507
+ .social-links {
508
+ flex-direction: column;
509
+ align-items: center;
510
+ }
511
+
512
+ .social-link {
513
+ width: 80%;
514
+ justify-content: center;
515
+ }
516
+ }
517
+
518
+ .api-introduction-section {
519
+ font-family: 'Jacques Francois', serif;
520
+ background-color: #ffffff;
521
+ border-radius: 12px;
522
+ padding: 25px;
523
+ margin: 20px auto;
524
+ max-width: 800px;
525
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
526
+ border: 1px solid #e0e0e0;
527
+ }
528
+
529
+ .api-page-title {
530
+ color: #000000;
531
+ text-align: center;
532
+ font-size: 28px;
533
+ margin-bottom: 20px;
534
+ border-bottom: 2px solid #2e7d32;
535
+ padding-bottom: 10px;
536
+ }
537
+
538
+ .api-page-description {
539
+ font-size: 20px;
540
+ line-height: 1.6;
541
+ margin-bottom: 25px;
542
+ color: #424242;
543
+ }
544
+
545
+ .needed-tools {
546
+ background-color: rgba(46, 125, 50, 0.1);
547
+ border-radius: 8px;
548
+ padding: 15px;
549
+ margin: 20px 0;
550
+ text-align: center;
551
+ }
552
+
553
+ .needed-tools h3 {
554
+ color: #010201;
555
+ margin-top: 0;
556
+ font-size: 20px;
557
+ }
558
+
559
+ .tool-icons {
560
+ display: flex;
561
+ justify-content: center;
562
+ align-items: center;
563
+ flex-wrap: wrap;
564
+ gap: 20px;
565
+ margin-top: 15px;
566
+ }
567
+
568
+ .tool-icon {
569
+ height: 50px;
570
+ border-radius: 8px;
571
+ transition: transform 0.3s ease;
572
+ }
573
+
574
+ .tool-icon:hover {
575
+ transform: scale(1.1);
576
+ }
577
+
578
+ .api-link-section {
579
+ margin: 25px 0;
580
+ text-align: center;
581
+ }
582
+
583
+ .api-link-section h3 {
584
+ color: #030503;
585
+ margin-bottom: 15px;
586
+ }
587
+
588
+ .api-link-button {
589
+ display: inline-block;
590
+ background-color: #2e7d32;
591
+ color: white;
592
+ padding: 12px 24px;
593
+ border-radius: 6px;
594
+ text-decoration: none;
595
+ font-weight: bold;
596
+ transition: background-color 0.3s ease;
597
+ }
598
+
599
+ .api-link-button:hover {
600
+ background-color: #1b5e20;
601
+ text-decoration: none;
602
+ }
603
+ .api-link-description{
604
+ font-size: 18px;
605
+ line-height: 1.6;
606
+ margin-top: 20px;
607
+ margin-bottom: 25px;
608
+ color: #424242;
609
+ text-align: center;
610
+ }
611
+
612
+ .how-to-use {
613
+ background-color: rgba(92, 107, 192, 0.1);
614
+ border-radius: 8px;
615
+ padding: 15px 30px;
616
+ margin: 20px 0;
617
+ }
618
+
619
+ .how-to-use h3 {
620
+ color: #3949ab;
621
+ margin-top: 0;
622
+ }
623
+
624
+ .how-to-use ol {
625
+ margin-left: 20px;
626
+ padding-left: 0;
627
+ }
628
+
629
+ .how-to-use li {
630
+ margin-bottom: 10px;
631
+ color: #424242;
632
+ text-align: left;
633
+ }
634
+
635
+ .model-playground-container {
636
+ max-width: 1200px;
637
+ margin: 0 auto;
638
+ padding: 20px;
639
+ background-color: #f9f9f9;
640
+ border-radius: 10px;
641
+ }
642
+ .model-playground-header {
643
+ font-size: 30px;
644
+ text-align: center;
645
+ color: #333;
646
+ margin-bottom: 15px;
647
+ font-family: 'Jacques Francois', serif;
648
+ }
649
+ .model-playground-description {
650
+ font-size: 18px;
651
+ line-height: 1.6;
652
+ color: #555;
653
+ margin-bottom: 30px;
654
+ padding: 10px;
655
+ font-family: 'Jacques Francois', serif;
656
+ }
657
+
658
+ .download-image-header, .select-model-header {
659
+ color: #000000;
660
+ font-size: 24px;
661
+ font-family: 'Jacques Francois', serif;
662
+ margin-bottom: 10px;
663
+ }
664
+ .download-image-description, .select-model-description {
665
+ color: #555555;
666
+ font-size: 18px;
667
+ font-family: 'Jacques Francois', serif;
668
+ margin-bottom: 15px;
669
+ }
670
+ .section-container {
671
+ padding: 15px;
672
+ border-radius: 8px;
673
+ background-color: #f5f5f5;
674
+ height: 100%;
675
+ }
676
+
677
+ .model-selection-container {
678
+ display: flex;
679
+ justify-content: center;
680
+ width: 100%;
681
+ }
682
+
683
+ /* Additional styling for the radio button itself */
684
+ .model-selection-radio .gr-form {
685
+ display: flex;
686
+ justify-content: center;
687
+ }
688
+
689
+ /* Style for the radio button label */
690
+ .model-selection-radio label {
691
+ text-align: center;
692
+ }
693
+ .advice-container {
694
+ display: flex;
695
+ flex-direction: column;
696
+ justify-content: center;
697
+ align-items: center;
698
+ max-width: 1200px;
699
+ margin-top: 20px;
700
+ padding: 15px;
701
+ border-radius: 10px;
702
+ background-color: #f8f9fa;
703
+
704
+ }
705
+
706
+ .advice-header {
707
+ color: #333;
708
+ font-size: 24px;
709
+ font-family: 'Jacques Francois', serif;
710
+ text-align: center;
711
+ margin-bottom: 10px;
712
+ }
713
+
714
+ .advice-description {
715
+ color: #555;
716
+ font-size: 16px;
717
+ text-align: center;
718
+ margin-bottom: 20px;
719
+ }
720
+
721
+ .advice-card {
722
+ border-radius: 8px;
723
+ padding: 20px;
724
+ margin-bottom: 15px;
725
+ box-shadow: 0 4px 8px rgba(0,0,0,0.1);
726
+ }
727
+
728
+ .high-risk {
729
+ border-left: 5px solid #d9534f;
730
+ background-color: #fff8f8;
731
+ }
732
+
733
+ .medium-risk {
734
+ border-left: 5px solid #f0ad4e;
735
+ background-color: #fffcf5;
736
+ }
737
+
738
+ .low-risk {
739
+ border-left: 5px solid #5cb85c;
740
+ background-color: #f5fff5;
741
+ }
742
+
743
+ .advice-card h3 {
744
+ margin-top: 0;
745
+ color: #333;
746
+ font-size: 20px;
747
+ margin-bottom: 15px;
748
+ }
749
+
750
+ .advice-content {
751
+ display: flex;
752
+ flex-wrap: wrap;
753
+ gap: 15px;
754
+ }
755
+
756
+ .advice-section {
757
+ flex: 1 1 calc(33.333% - 15px);
758
+ min-width: 250px;
759
+ }
760
+
761
+ .advice-section h4 {
762
+ color: #555;
763
+ margin-bottom: 8px;
764
+ font-size: 16px;
765
+ }
766
+
767
+ .advice-section ul {
768
+ margin: 0;
769
+ padding-left: 20px;
770
+ }
771
+
772
+ .advice-section li {
773
+ margin-bottom: 5px;
774
+ }