File size: 2,712 Bytes
549c71a
 
 
 
 
 
de03dfd
549c71a
 
dc11a36
 
 
 
 
549c71a
61e83a7
 
 
b09ab19
 
61e83a7
549c71a
 
 
 
b09ab19
61e83a7
 
 
 
dc11a36
549c71a
 
b09ab19
61e83a7
549c71a
61e83a7
b09ab19
61e83a7
 
b09ab19
549c71a
61e83a7
b09ab19
61e83a7
549c71a
 
b09ab19
61e83a7
 
 
549c71a
 
 
 
 
 
 
b09ab19
61e83a7
549c71a
61e83a7
 
 
549c71a
 
dc11a36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
549c71a
61e83a7
 
b09ab19
61e83a7
 
 
 
 
 
 
 
 
 
549c71a
 
 
 
61e83a7
 
 
 
b09ab19
549c71a
61e83a7
 
549c71a
61e83a7
 
 
 
a0db438
 
 
dc11a36
 
 
 
4e386e1
 
 
 
 
 
 
 
 
 
 
 
 
a0db438
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
body {
  font-family: Arial, sans-serif;
  background-color: #222;
  color: #fff;
  margin: 0;
  padding: 1rem;
  text-align: center;
}

body.light-mode {
  background: #f0f0f0;
  color: #222;
}

h1 {
  font-size: 2.7rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(to right, #ff9a9e, #fad0c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

#videoElement {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  margin-bottom: 24px;
  object-fit: cover;
}

.btn {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  margin: 10px 0;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.btn:hover {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  box-shadow: 0 8px 20px rgba(56, 249, 215, 0.5);
  transform: scale(1.05);
}

#emojiDisplay {
  margin-top: 20px;
}

#emojiDisplay img {
  margin-top: 1rem;
  width: 140px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  animation: bounce 1.2s ease infinite;
}

#toggleTheme {
  background: linear-gradient(to right, #ff6a00, #ee0979);
  color: #fff;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  box-shadow: 0 6px 12px rgba(255, 106, 0, 0.4);
}

#toggleTheme:hover {
  background: linear-gradient(to right, #ee0979, #ff6a00);
  box-shadow: 0 8px 18px rgba(238, 9, 121, 0.5);
  transform: scale(1.05);
}

#emotionText {
  font-size: 1.3rem;
  margin-top: 1.2rem;
  font-weight: 500;
  color: #c7ffec;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

#downloadEmoji {
  display: none;
  background: linear-gradient(to right, #ff6a00, #ee0979);
  padding: 12px 24px;
  border-radius: 40px;
  margin-top: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

#downloadEmoji:hover {
  background: linear-gradient(to right, #ee0979, #ff6a00);
  box-shadow: 0 6px 12px rgba(255, 106, 0, 0.4);
}

#capturedImagePreview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  width: 100%;
  padding: 0 1rem;
}

#snapshotImage {
  max-width: 100%;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  margin-top: 0.5rem;
  height: auto;
}