File size: 5,166 Bytes
fc1e6df
 
 
 
 
 
8e1f58c
fc1e6df
 
 
 
 
 
 
 
 
 
8e1f58c
fc1e6df
 
 
 
 
 
 
 
 
 
 
8e1f58c
fc1e6df
efb665a
 
 
 
 
fc1e6df
 
efb665a
fc1e6df
 
efb665a
fc1e6df
efb665a
fc1e6df
 
efb665a
8e1f58c
fc1e6df
efb665a
 
 
 
 
 
 
 
 
 
fc1e6df
 
efb665a
 
 
 
 
 
 
 
 
 
fc1e6df
 
 
 
 
 
 
 
 
 
8e1f58c
fc1e6df
 
 
8e1f58c
fc1e6df
 
 
 
8e1f58c
fc1e6df
 
 
8e1f58c
003ddb5
fc1e6df
 
 
8e1f58c
fc1e6df
 
8e1f58c
fc1e6df
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9ea33c1
db46cfd
fc1e6df
 
 
 
 
 
 
 
 
003ddb5
 
db46cfd
 
fc1e6df
 
db46cfd
fc1e6df
 
 
db46cfd
efb665a
8bff1fb
 
 
 
efb665a
8bff1fb
efb665a
 
 
db46cfd
 
 
efb665a
 
db46cfd
 
8bff1fb
efb665a
9ea33c1
fc1e6df
 
 
 
 
 
 
 
 
8e1f58c
 
 
 
fc1e6df
8e1f58c
003ddb5
 
 
 
 
8e1f58c
 
 
 
fc1e6df
 
8e1f58c
fa53e80
 
 
 
 
 
 
fc1e6df
fa53e80
 
 
efb665a
 
 
 
 
 
 
 
 
 
 
 
 
 
fa53e80
 
 
 
fc1e6df
fa53e80
 
fc1e6df
fa53e80
 
fc1e6df
 
fa53e80
 
 
 
efb665a
4740af8
 
 
 
003ddb5
4740af8
 
 
 
 
 
efb665a
4740af8
003ddb5
 
fa53e80
efb665a
8e1f58c
 
 
 
 
8bee8fe
8e1f58c
8bee8fe
8e1f58c
 
 
 
 
 
 
 
 
 
 
 
fc1e6df
 
 
 
 
 
 
003ddb5
 
fc1e6df
 
8e1f58c
fc1e6df
 
003ddb5
 
 
 
 
 
 
 
db46cfd
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
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Header Navbar */
header {
    width: 100%;
    background-color: #1E293B;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    position: relative;
}

header .sidebar-toggle {
    position: absolute;
    left: 15px; 
    min-width: 120px; 
    max-width: 150px; 
    text-align: center;
    white-space: nowrap;
    background-color: #334155;
    color: white;
    padding: 8px 12px; 
    border: none;
    border-radius: 6px;
    font-size: 14px; 
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

/* Hover Effect */
header .sidebar-toggle:hover {
    background-color: #475569;
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Mobile Optimization */
@media (max-width: 400px) {
    header .sidebar-toggle {
        min-width: 90px;
        font-size: 12px;
        padding: 5px 8px;
    }
}

@media (max-width: 320px) {
    header .sidebar-toggle {
        min-width: 85px; 
        font-size: 11px; 
        padding: 4px 6px;
    }
}



.header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

header img {
    height: 40px;
}

/* Sidebar Navigation */
nav {
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh;
    width: 250px;
    background-color: #1E293B;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    transition: left 0.3s ease-in-out;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.2);
}

nav.show {
    left: 0;
}

nav .nav-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

nav img {
    height: 30px;
}

nav h2 {
    font-size: 20px;
    font-weight: bold;
}

/* Sidebar Buttons */
nav button, nav a {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background-color: #334155;
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 10px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

nav button:hover, nav a:hover {
    background-color: #475569;
}

nav .linkedin-link {
    margin-top: 20px;
    color: #0077B5; 
    font-weight: 300;
    text-decoration: none; 
    background: none; 
    padding: 8px 0;
    border: none; 
    display: block;
    text-align: center;
    transition: color 0.2s ease-in-out;
}

nav .linkedin-link:hover {
    text-decoration: underline;
    color: #005582; 
}



/* Main Content */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Hide Sections Initially */
#upload-container, #video-container {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: white;
    max-width: 600px;
    width: 100%;
}

#upload-container.active, #video-container.active {
    display: flex;
}

/* Upload Form */
.upload-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-form input[type="file"] {
    display: none;
}

.upload-title {
    margin-bottom: 15px; 
}

.upload-buttons {
    display: flex;
    gap: 15px; 
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%; 
    max-width: 400px; 
}

.custom-file-upload {
    background-color: #3B82F6;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.custom-file-upload:hover {
    background-color: #2563EB;
}

.upload-buttons button {
    background-color: #3B82F6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.upload-buttons button:hover {
    background-color: #2563EB;
}



/* Emotion List */
.emotion-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: 1.6;
}

/* Video Controls */
.video-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.video-controls button {
    background-color: #3B82F6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.video-controls button:hover {
    background-color: #2563EB;
}

/* Styled Images */
.result-image, video {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}