File size: 7,292 Bytes
da5176d
 
 
 
 
 
 
 
 
 
4600811
 
da5176d
 
 
 
 
 
4600811
 
da5176d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4600811
 
da5176d
 
4600811
 
da5176d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4600811
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
body,
html {
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333;
  color: #fff;
  font-family: Arial, sans-serif;
}

#logo-link {
  position: absolute;
  top: 10px; /* Prilagodite ovo kako biste logo postavili na željenu poziciju */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000; /* Ako je potrebno da bude iznad ostalih elemenata */
}

#logo-img {
  width: 200px; /* Prilagodite širinu */
  height: auto;
  opacity: 0.5; /* Prilagodite prozirnost */
  transition: opacity 0.3s ease;

  /* Ako želite da logo malo zasvetli kada se pređe mišem preko njega */
  &:hover {
    opacity: 0.8;
  }
}

#audioResponse {
  display: none;
}
:root {
  --color-box: #fff;
  --color-shadow: #65c1ff;
  --color-font: #000;
}
.centered {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
}

.button-container {
  bottom: 20px; /* Adjust the bottom spacing as needed */
}

.blob-container {
  top: 50%;
  transform: translate(-50%, -50%);
}

#thought-bubble {
  width: 200px;
  display: none;
  height: 120px;
  background-color: white;
  border-radius: 100px; /* This gives a circular shape to the main part of the cloud */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  /* Add box shadow for a 3D effect if desired */
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite, gentleRotation 6s infinite linear;
}

.cloud-puff {
  /* Apply the same animation but with a slight delay to each puff for added effect */
  animation: puffMove 3s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.2s);
}

.cloud-puff::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 50%;
  top: 0;
  left: 0;
  z-index: -1;
  animation: colorChange 10s infinite alternate;
}
/* Additional pseudo-elements for more cloud puffs if needed */
#thought-bubble .cloud-puff:nth-child(1) {
  content: "";
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  top: -50px;
  left: -40px; /* Adjust as needed */
  animation-delay: 0.2s;
}

#thought-bubble .cloud-puff:nth-child(2) {
  content: "";
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  top: -70px;
  left: 40px; /* Adjust as needed */
  animation-delay: 0.4s;
}

#thought-bubble .cloud-puff:nth-child(3) {
  content: "";
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  top: -30px;
  left: 110px; /* Adjust as needed */
  animation-delay: 0.6s;
}
#thought-bubble .cloud-puff:nth-child(4) {
  content: "";
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  top: 20px;
  left: 70px; /* Adjust as needed */
  animation-delay: 0.8s;
}
#thought-bubble .cloud-puff:nth-child(5) {
  content: "";
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  top: 25px;
  left: -20px; /* Adjust as needed */
  animation-delay: 1s;
}
#thought-bubble .cloud-puff:nth-child(6) {
  content: "";
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  top: 135px;
  left: -60px; /* Adjust as needed */
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-47%, -53%) scale(1.05);
  }
}
@keyframes gentleRotation {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    transform: translate(-47%, -53%) rotate(-3deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

/* Modify the puffMove animation for a bobbing effect */
@keyframes puffMove {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.07);
  }
}

@keyframes colorChange {
  0% {
    background: white;
  }
  100% {
    background: #daf1f1; /* Light grey for a subtle change */
  }
}
.content {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: flex-end; /* Aligns vertically to the bottom */
  height: 85vh; /* Takes up 85% of the viewport height */
  padding-bottom: 10vh; /* Adds some space at the bottom */
}

.mic-checkbox {
  display: none;
}

.mic-checkbox:checked + .mic-button {
  transform: rotateY(180deg);
}

.button-container {
  perspective: 500px;
  -moz-perspective: 500px;
  -webkit-perspective: 500px;
  bottom: 40px;
}

.mic-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 100px;
  border-radius: 100%;
  transition: transform 0.4s;
  border: 2px solid #fff;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  position: relative;
}

.button-message,
.mic {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
}

.button-message {
  position: absolute;
  width: 50px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  text-align: center;
  line-height: 20px;
  z-index: 2;
  transform: rotateY(0deg);
  pointer-events: none;
  left: 23px;
  top: 20px;
}

.mic-button-loader {
  position: absolute;
  height: 102px;
  width: 100px;
  background-color: transparent;
  transform: rotateY(180deg);
  top: -31px;
  left: -50px;
}

.mic-checkbox:checked + .mic-button > .mic > .mic-button-loader {
  border-top: 3px solid var(--color-shadow);
  border-radius: 100%;
  animation: borderLoader 1.3s 0.2s ease-in-out infinite;
}

.mic {
  position: relative;
  top: -11px;
  border: 10px solid #fff;
  height: 20px;
  width: 0;
  border-radius: 10px;
  transform: rotateY(180deg);
}

.mic:after,
.mic:before,
.mic-base {
  position: absolute;
}

.mic:after {
  content: "";
  top: 7px;
  left: -17px;
  height: 26px;
  width: 26px;
  background-color: transparent;
  border: 4px solid #fff;
  border-bottom-left-radius: 110px;
  border-bottom-right-radius: 110px;
  border-top: 0;
}

.mic:before {
  content: "";
  top: 33px;
  left: -2px;
  border-bottom: 18px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
}

.mic-base {
  top: 46px;
  left: -10px;
  border-bottom: 5px solid #fff;
  border-left: 10px solid #fff;
  border-right: 10px solid #fff;
}

@keyframes borderLoader {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

/*
  Just to fix the cover.
  Not really needed.

.mic-checkbox + .mic-button > .mic, .mic:after, .mic:before, .mic-base {
  display: none;
}

.mic-checkbox:checked + .mic-button > .mic, .mic:after, .mic:before, .mic-base {
  display: block;
}
*/
.credits {
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.blob-container {
  display: none;
  justify-content: space-around;
  align-items: center;
  height: 200px; /* Set as needed */
}
.blob {
  background: var(--color-shadow);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  opacity: 0.5;
  transform: scale(1);
  transition: transform 0.1s, height 0.1s; /* Smooth transition for scaling */
}