-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles3.css
260 lines (218 loc) · 4.55 KB
/
styles3.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
/* Global styles for the home page */
body {
margin: 0;
font-family: Arial, sans-serif;
background: linear-gradient(to right, #ffb6c1, #e84393);
color: #000; /* Black text color */
}
.header-container {
background-color: rgba(255, 255, 255, 0);
padding: 10px 20px;
position: relative;
z-index: 1000;
border-bottom: 1px solid #000;
}
.header-container nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
max-width: 80px; /* Adjusted logo size */
height: auto;
}
nav ul {
list-style: none;
display: flex;
margin: 0;
padding: 0;
}
nav ul li {
margin: 0 10px; /* Adjusted spacing between navigation items */
}
nav ul li a {
text-decoration: none;
color: #000000;
font-weight: bold;
font-size: 1.0em; /* Adjusted font size for navigation links */
}
.hero {
display: flex;
justify-content: space-between;
align-items: flex-start;
background-color: rgba(255, 255, 255, 0);
text-align: left;
padding: 50px 20px;
position: relative;
}
.text-container {
max-width: 50%;
}
.hero-title {
font-size: 2em;
font-weight: bold;
color: hsl(331, 98%, 35%);
}
.result-container {
margin-top: 20px;
padding: 20px;
background-color: rgba(0, 0, 0, 0.2);
max-width: 400px;
margin-left: 0;
color: #0d0d0d;
}
.hero-image {
width: 45%;
height: auto;
margin-top: 50px;
}
.predict-box {
background-color: rgba(0, 0, 0, 0.8);
color: #fff;
padding: 20px;
margin-bottom: 20px;
}
.form-group {
margin-bottom: 10px;
}
.form-group label {
display: block;
margin-bottom: 5px;
}
.form-group input,
.form-group select {
width: calc(50% - 16px);
padding: 8px;
font-size: 0.9em;
}
button {
padding: 8px 16px;
}
.popup {
display: none;
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
border: 1px solid #000;
background-color: #fff;
z-index: 1001;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.popup table {
width: 100%;
border-collapse: collapse;
}
.popup table,
.popup th,
.popup td {
border: 1px solid #000;
}
.popup th,
.popup td {
padding: 8px;
text-align: left;
}
.popup .close-btn {
display: inline-block;
margin-top: 10px;
padding: 5px 10px;
background-color: #e84393;
color: #fff;
border: none;
cursor: pointer;
}
.footer-container {
text-align: center;
position: fixed;
bottom: 20px; /* Adjust as needed */
left: 50%;
transform: translateX(-50%);
width: 100%; /* Ensure it spans full width */
}
.footer-content {
display: inline-block;
}
.submit-button {
background-color: #e8e7e8; /* Light green */
border: none;
color: rgb(11, 11, 11);
padding: 10px 20px; /* Adjust padding as needed */
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease; /* Add smooth transition */
}
.submit-button:hover {
background-color: #e7ccce; /* Darker green on hover */
}
/* Responsive Styles */
@media (max-width: 1200px) {
.hero {
padding: 40px 10px; /* Adjust padding for medium screens */
}
.text-container {
max-width: 100%;
}
.hero-title {
font-size: 1.8em; /* Slightly smaller font size */
}
.hero-image {
width: 50%; /* Adjust width for medium screens */
margin-top: 30px;
}
.result-container {
max-width: 90%; /* Adjust width for medium screens */
}
.form-group input,
.form-group select {
width: 100%; /* Full width for inputs on medium screens */
}
}
@media (max-width: 768px) {
.hero {
flex-direction: column;
align-items: center;
text-align: center;
}
.hero-title {
font-size: 1.6em; /* Smaller font size for smaller screens */
}
.hero-image {
width: 70%; /* Adjust width for smaller screens */
margin-top: 20px;
}
.result-container {
max-width: 100%; /* Full width on smaller screens */
}
.form-group input,
.form-group select {
width: 100%; /* Full width for inputs on smaller screens */
}
}
@media (max-width: 480px) {
.hero-title {
font-size: 1.4em; /* Even smaller font size for very small screens */
}
nav ul li {
margin: 0 5px; /* Reduced margin */
}
nav ul li a {
font-size: 0.8em; /* Smaller font size for links */
}
.hero-image {
width: 80%; /* Wider image for very small screens */
margin-top: 15px;
}
.form-group input,
.form-group select {
font-size: 0.8em; /* Smaller font size for inputs */
}
.submit-button {
font-size: 14px; /* Adjust font size for buttons */
}
}