File size: 7,581 Bytes
915ecec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
/* Floating container style */
.floating-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Allows clicks to pass through */
    overflow: hidden;
    z-index: -1;
    /* Default: behind content */
}

/* Loading overlay style with a lower z-index */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    /* Semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    /* Ensure it’s behind the floating elements during loading */
}

/* Hoverable floating elements style */
.floating-element {
    position: absolute;
    bottom: -50px;
    width: 100px;
    height: 20px;
    background-color: #FCBF49;
    border-radius: 20%;
    animation: floatAnimation 8s linear infinite;
    opacity: 0.8;
}


/* Define animation keyframes */
@keyframes floatAnimation {
    0% {
        transform: translateY(0) scale(1);
        /* Starting point */
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) scale(0.5);
        /* Move up and shrink */
        opacity: 0;
        /* Fade out */
    }
}



/* Spinner styles */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #FCBF49;
    border-top: 5px solid #4a86c5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}




body {
    font-family: Arial, sans-serif;
    background-color: #F0F0EE;
    background-image: repeating-radial-gradient(circle at 0 0, #ccc, #ccc 2px, transparent 2px, transparent 20px);
    background-size: 20px 20px;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    color: #283C3C;
}


.container {
    max-width: 100%;
    /* Change to fill the entire width */
    padding: 0;
    /* Remove padding */
    background-color: transparent;
    /* Remove background color to blend with body */
    box-shadow: none;
    /* Remove the shadow */
    border-radius: 0;
    /* No rounding to match the rest of the page */
    text-align: center;
    margin: 0;
    z-index: 1;
}

header {
    margin-bottom: 20px;
}

header .logo {
    width: 150px;
    /* Adjust width according to logo size */
    /* margin-top: 200px;
    margin-bottom: 10px; */
    /* Spacing below the logo */
    position: absolute;
    top: 10px;
    left: 30px;
}

header h2 {
    color: #B83A14;
    /* Red theme color for headings */
    margin-bottom: 20px;
    font-size: 1.8rem;
}

label {
    display: block;
    margin: 10px 0 5px;
    color: #283C3C;
    /* Black-green theme for labels */
    font-weight: bold;
    font-size: larger;
}

.form-group {
    margin-bottom: 15px;
}

select {
    width: 520px;
    padding: 15px;
    border-radius: 10px;
    /* Rounded corners */
    border: 1px solid #ccc;
    font-size: 1rem;
    background-color: #fff;
    -webkit-appearance: none;
    /* Remove default arrow for a custom arrow look */
    -moz-appearance: none;
    /* For Firefox */
    appearance: none;
    position: relative;
    /* To position the arrow */
    padding-right: 30px;
    /* Extra padding to make space for the arrow */
}

select::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #B83A14;
    pointer-events: none;
}

input[type="file"] {
    width: 500px;
    padding: 10px;
    border-radius: 10px;
    /* Rounded corners */
    border: 1px solid #ccc;
    font-size: 1rem;
    background-color: #fff;
    cursor: pointer;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}


input[type="file"]::file-selector-button {
    background-color: #FCBF49;
    /* Set color similar to button */
    color: #fff;
    border: none;
    border-radius: 8px;
    /* Rounded corners */
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="file"]::file-selector-button:hover {
    background-color: #B83A14;
    /* Darken on hover */
}

button {
    background-color: #FCBF49;
    /* Yellow theme color for buttons */
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    border-radius: 30px 62px;
    /* Set to 10px for a subtle rounded look */
    padding: 25px 62px;
    /* Increase padding for a modern look */
}

button:hover {
    background-color: #B83A14;
    /* Darken to red on hover */
}

.result {
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: #fff3cd;
    /* Light yellow background for the result */
    border: 1px solid #ffeeba;
    border-radius: 30px;
    text-align: center;
    /* Center align the result */
}

.result h3 {
    color: #B83A14;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.emotion-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.emotion-text {
    font-size: 2rem;
    font-weight: bold;
    color: #4a86c5;
    margin-bottom: 10px;
    font-family: 'Comic Sans MS', cursive;
}

.emotion-model {
    font-size: 1.5rem;
    font-weight: bold;
    color: #293747;
    margin-bottom: 10px;
    font-family: 'Comic Sans MS', cursive;
}

.emotion-image {
    width: 150px;
    /* Size for larger display */
    height: 150px;
    object-fit: contain;
    /* Contain the image without cropping */
    padding: 10px;
    /* Optional: Add padding around the image */
    border: 2px solid #4a86c5;
    border-radius: 10px;
    /* Optional: Soft border rounding */
    background-color: #ffffff;
    transition: transform 0.3s ease;

}

.emotion-image:hover {
    transform: scale(1.05);
}


.result p {
    color: #283C3C;
    /* Black-green for result text */
    font-weight: bold;
    font-size: 1.2rem;
}

.image-section {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.image-container {}

.form-image {
    height: 150px;
    width: auto;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid #90151c;
    /* Red border for images */
    transition: transform 0.3s ease;
}

.form-image:hover {
    transform: scale(1.8);
    /* Slightly scale up the image on hover */
}

/* technologies-used banner kind top right */
.technologies-used {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #f5c055;
    color: #303030;
    padding: 15px 15px;
    font-size: 1.2rem;
    z-index: 10;
    border-radius: 25px;
    /* shadow */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    /* transition */
    transition: transform 0.3s ease;
    height: 300px;
    width: 250px;
}


.team-members {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #9fcafc;
    color: #303030;
    padding: 15px 15px;
    font-size: 1.2rem;
    z-index: 10;
    border-radius: 25px;
    /* shadow */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    /* transition */
    transition: transform 0.3s ease;
    height: 300px;
    width: 250px;
}

/* technologies-used points */
.technologies-used ul,
.team-members ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.technologies-used ul li,
.team-members ul li {
    margin-bottom: 5px;
}