-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
422 lines (396 loc) · 26.6 KB
/
main.html
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
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com"></script>
<script src="tailwind.config.js"></script>
<link rel="apple-touch-icon" sizes="180x180" href="favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png">
<link rel="manifest" href="favicon/site.webmanifest">
<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
<script src="https://unpkg.com/@dotlottie/player-component@latest/dist/dotlottie-player.mjs" type="module"></script>
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/[email protected]/build/three.module.js",
"three/addons/": "https://unpkg.com/[email protected]/examples/jsm/"
}
}
</script>
<script type="module" src="js/main.js"></script>
<script type="module" src="js/study.js"></script>
<script type="module" src="js/leaderboard.js"></script>
<script type="module" src="js/avatar.js"></script>
<script type="module" src="js/room.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Concert+One&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/c14073a443.js" crossorigin="anonymous"></script>
<title>StudyPal</title>
</head>
<body id="body" class="overflow-hidden bg-lblue w-screen h-screen flex flex-col">
<div id='loadingcontainer' class="relative z-[99]">
<div class="fixed inset-0 z-[99] w-screen overflow-hidden">
<div class="flex h-screen w-screen items-end justify-center text-center sm:items-center sm:p-0">
<div class="flex flex-col justify-center items-center bg-dblue w-screen h-screen">
<div class="flex flex-row justify-center items-center flex-col">
<dotlottie-player src="https://lottie.host/023d514d-a404-4f87-aa0c-a7248036b4fc/pUdzewIsDI.json" background="transparent" speed="1" style="width: 600px; height: 600px;" loop autoplay></dotlottie-player>
<div class="text-cream lg:text-5xl text-lg font-concert m-8">Pro Tip: You can customise your avatar by going to Avatar</div>
</div>
</div>
</div>
</div>
</div>
<nav id='navbar' class="w-screen bg-dblue h-auto lg:rounded-b-xl rounded-none drop-shadow-xl p-4">
<div class="max-w-screen-xl h-full flex flex-wrap items-center justify-between mx-auto p-4">
<a href="main.html" class="flex items-center space-x-3 rtl:space-x-reverse">
<img src="images/stupal.png" id="stupallogo" class="h-12 rounded-xl drop-shadow-2xl" alt="StudyPal Logo"/>
<span class="self-center sm:text-5xl text-3xl font-concert text-cream">StudyPal</span>
</a>
<div class="flex items-center lg:order-2 space-x-3 lg:space-x-0 rtl:space-x-reverse">
<button type="button" class="transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 lg:flex hidden text-sm bg-dblue rounded-full lg:me-0 focus:ring-4 focus:ring-cream" id="userprofile">
<img id='userpfp' class="w-16 h-16 rounded-full" alt="userpfp">
</button>
<!--dropdown-->
<div class="z-50 lg:w-1/6 w-1/4 h-lg hidden my-4 text-base list-none bg-orange divide-y divide-cream rounded-lg shadow absolute top-24 sm:right-6 md:right-6 lg:right-6 xl:right-24 2xl:right-60" id="userdropdown">
<div class="px-4 py-3">
<span id="profileusername" class="block text-4xl text-cream font-concert">User</span>
<span id="profileemail" class="block text-xl text-cream font-concert">[email protected]</span>
</div>
<ul class="py-2">
<li>
<div id="dashboardtoggle" class="block px-4 py-2 text-lg font-concert text-cream hover:bg-cream hover:text-orange cursor-pointer">Dashboard</div>
</li>
<li>
<div id="logout" class=" block px-4 py-2 text-lg font-concert text-cream hover:bg-cream hover:text-orange cursor-pointer">
Sign Out
</div>
</li>
</ul>
</div>
<button type="button" id="hamburgermenu" class="transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 inline-flex items-center p-2 w-18 h-18 justify-center text-sm text-cream rounded-lg lg:hidden hover:bg-orange focus:outline-none">
<svg class="w-8 h-8" viewBox="0 0 17 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 1h15M1 7h15M1 13h15"/>
</svg>
</button>
</div>
<div class="items-center justify-between hidden w-full lg:flex lg:w-auto lg:order-1 rounded-b-3xl bg-dblue" id="navbarhamburger">
<ul class="flex flex-col font-medium p-4 lg:p-0 mt-4 rounded-lg lg:space-x-8 rtl:space-x-reverse lg:flex-row lg:mt-0 lg:border-0 lg:bg-dblue">
<li>
<a href="main.html" class="block py-2 px-3 xl:text-3xl text-3xl font-concert bg-dblue rounded lg:bg-transparent lg:text-cream lg:p-0">Home</a>
</li>
<li>
<div id="navavatar" class="block py-2 px-3 xl:text-3xl text-3xl font-concert text-cream rounded hover:bg-orange lg:hover:bg-transparent lg:hover:text-orange lg:p-0 cursor-pointer">Avatar</div>
</li>
<li>
<div id="navroom" class="block py-2 px-3 xl:text-3xl text-3xl font-concert text-cream rounded hover:bg-orange lg:hover:bg-transparent lg:hover:text-orange lg:p-0 cursor-pointer">Room</div>
</li>
<li>
<div id="navstudy" class="block py-2 px-3 xl:text-3xl text-3xl font-concert text-cream rounded hover:bg-orange lg:hover:bg-transparent lg:hover:text-orange lg:p-0 cursor-pointer">Study</div>
</li>
<li>
<div id="navleaderboard" class="block py-2 px-3 xl:text-3xl text-3xl font-concert text-cream rounded hover:bg-orange lg:hover:bg-transparent lg:hover:text-orange lg:p-0 cursor-pointer">Leaderboard</div>
</li>
<li>
<a href="contact.html" class="block py-2 px-3 xl:text-3xl text-3xl font-concert text-cream rounded hover:bg-orange lg:hover:bg-transparent lg:hover:text-orange lg:p-0">Contact</a>
</li>
<li>
<a href="dashboard.html" class="lg:hidden block py-2 px-3 xl:text-3xl text-3xl font-concert text-cream rounded hover:bg-orange lg:hover:bg-transparent lg:hover:text-orange lg:p-0">Dashboard</a>
</li>
<li>
<div id="logouthamburger" class="lg:hidden block py-2 px-3 xl:text-3xl text-3xl font-concert text-cream rounded hover:bg-orange lg:hover:bg-transparent lg:hover:text-orange lg:p-0">Sign Out</div>
</li>
</ul>
</div>
</nav>
<div class="w-full h-full justify-end items-center">
<!-- <div class="w-full top-36 left-10 absolute z-40">
<h1 id="welcomename" class="text-3xl font-concert text-cream m-4">Welcome, User!</h1>
<div class="w-1/5 rounded-full h-10 bg-dblue flex items-center justify-center m-4">
<h1 id="leveldisplay" class="text3xl font-concert text-cream m-4">Level: 1</h1>
<div class="w-1/2 rounded-3xl h-5 bg-cream flex items-center">
<div id='progbar' class="bg-orange h-5 rounded-3xl flex items-center justify-center font-concert text-cream text-sm" style="width: 10%">10%</div>
</div>
</div>
</div> -->
<div id="room3d" class="w-full h-full"></div>
</div>
<div id='avatarcontainer' class="hidden relative z-[99]">
<div class="fixed inset-0 bg-gray-700 bg-opacity-90 transition-opacity"></div>
<div class="fixed inset-0 z-[99] w-screen overflow-hidden">
<div class="flex h-screen items-end justify-center p-4 text-center sm:items-center sm:p-0">
<div class="flex flex-col justify-center transform overflow-hidden rounded-xl bg-dblue shadow-xl sm:my-8 lg:w-11/12 w-screen h-5/6">
<div class="flex flex-row justify-between items-center h-1/6 mx-8">
<div class="text-cream lg:text-6xl text-3xl font-concert m-8">Avatars</div>
<svg id='closeavatarcontainer' class="lg:w-12 lg:h-12 w-8 h-8 text-cream m-8 cursor-pointer" fill="none" viewBox="0 0 14 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"/>
</svg>
</div>
<div class="flex sm:flex-row flex-col justify-center items-center h-5/6 w-full">
<div id="" class="sm:w-2/3 w-full h-full flex flex-col">
<div id="avatarpreview3d" class="w-full h-4/5"></div>
<div id="" class="w-full h-1/5 flex justify-center items-center">
<button id="avatareditsubmit" class="transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 bg-orange hover:bg-dora3ge font-concert flex lg:w-1/4 w-1/2 h-4/5 justify-center items-center rounded-full text-cream text-2xl">Select</button>
</div>
</div>
<div id="" class="sm:w-1/3 w-full h-full m-4 flex justify-center items-center flex-col">
<div id="" class="w-full h-1/5 flex justify-center items-center">
<div id="selectedavatartext" class="text-cream xl:text-5xl lg:text-3xl text-3xl font-concert">SELECTED: jeremy</div>
</div>
<div id="" class="w-full h-4/5 flex justify-center items-center flex-col sm:my-8 my-4">
<div id="jeremyavatar" class="transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 w-5/6 sm:h-1/3 h-full flex xl:justify-between justify-center items-center sm:m-2 m-1 bg-orange hover:bg-dorange rounded-3xl cursor-pointer">
<img class="hidden xl:block w-24 h-24 rounded-full mx-6" src="images/pfps/avatar1pfp.png" alt="jeremy">
<div class="text-cream text-3xl font-concert xl:mx-8 mx-3">Jeremy</div>
</div>
<div id="jerryavatar" class="transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 w-5/6 sm:h-1/3 h-full flex xl:justify-between justify-center items-center sm:m-2 m-1 bg-orange hover:bg-dorange rounded-3xl cursor-pointer">
<img class="hidden xl:block w-24 h-24 rounded-full mx-6" src="images/pfps/avatar2pfp.png" alt="jerry">
<div class="text-cream text-3xl font-concert xl:mx-8 mx-3">Jerry<i id = 'jerrylock' class="fa-solid fa-lock fa-xs mx-4"></i></div>
</div>
<div id="" class="transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 w-5/6 sm:h-1/3 h-full flex xl:justify-between justify-center items-center sm:m-2 m-1 bg-black rounded-3xl">
<img class="hidden xl:block w-24 h-24 rounded-full mx-6" src="images/pfps/lockedavatarpfp.png" alt="timmy">
<div class="text-cream text-3xl font-concert xl:mx-8 mx-3">???</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id='avatarpurchasecontainer' class="hidden relative z-[999]">
<div class="fixed inset-0 z-[99] w-screen overflow-hidden">
<div class="flex h-screen items-end justify-center p-4 text-center sm:items-center sm:p-0">
<div class="flex flex-col justify-center transform overflow-hidden rounded-xl bg-dblue shadow-xl sm:my-8 lg:w-11/12 w-screen h-5/6">
<div class="flex flex-row justify-between items-center h-1/6 mx-8">
<svg id='closeavatarpurchasecontainer' class="w-12 h-12 text-cream m-8 cursor-pointer" fill="none" viewBox="0 0 14 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"/>
</svg>
</div>
<div class="flex flex-col justify-center items-center w-full h-5/6">
<img class="w-54 h-54 rounded-full" src="images/pfps/avatar2pfp.png" alt="jerry">
<div id="purchasetitle" class="text-cream text-3xl font-concert m-8">Purchase JERRY for 100 coins?</div>
<button id="avatarpurchasesubmit" class="transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 bg-orange hover:bg-dora3ge font-concert flex lg:w-1/4 w-1/2 h-1/5 justify-center items-center rounded-full text-cream text-2xl">Purchase!</button>
</div>
</div>
</div>
</div>
</div>
<div id='roomcontainer' class="hidden relative z-[99]">
<div class="fixed inset-0 bg-gray-700 bg-opacity-90 transition-opacity"></div>
<div class="fixed inset-0 z-[99] w-screen overflow-hidden">
<div class="flex h-screen items-end justify-center p-4 text-center sm:items-center sm:p-0">
<div class="flex flex-col justify-center transform overflow-hidden rounded-xl bg-dblue shadow-xl sm:my-8 lg:w-11/12 w-screen h-5/6">
<div class="flex flex-row justify-between items-center h-1/6 mx-8">
<div class="text-cream lg:text-6xl text-3xl font-concert m-8">Rooms</div>
<svg id='closeroomcontainer' class="lg:w-12 lg:h-12 w-8 h-8 text-cream m-8 cursor-pointer" fill="none" viewBox="0 0 14 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"/>
</svg>
</div>
<div class="flex sm:flex-row flex-col justify-center items-center h-5/6 w-full">
<div id="" class="sm:w-2/3 w-full h-full flex flex-col">
<div id="roompreview3d" class="w-full h-4/5"></div>
<div id="" class="w-full h-1/5 flex justify-center items-center">
<button id="roomeditsubmit" class="transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 bg-orange hover:bg-dora3ge font-concert flex lg:w-1/4 w-1/2 h-4/5 justify-center items-center rounded-full text-cream text-2xl">Select</button>
</div>
</div>
<div id="" class="sm:w-1/3 w-full h-full m-4 flex justify-center items-center flex-col">
<div id="" class="w-full h-1/5 flex justify-center items-center">
<div id="selectedroomtext" class="text-cream xl:text-5xl lg:text-3xl text-3xl font-concert">SELECTED: bedroom</div>
</div>
<div id="" class="w-full h-4/5 flex justify-center items-center flex-col sm:my-8 my-4">
<div id="bedroomroom" class="transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 w-5/6 sm:h-1/3 h-full flex xl:justify-between justify-center items-center sm:m-2 m-1 bg-orange hover:bg-dorange rounded-3xl cursor-pointer">
<div class="text-cream lg:text-3xl text-2xl font-concert xl:mx-8 mx-3">Bedroom</div>
</div>
<div id="roomroom" class="transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 w-5/6 sm:h-1/3 h-full flex xl:justify-between justify-center items-center sm:m-2 m-1 bg-orange hover:bg-dorange rounded-3xl cursor-pointer">
<div class="text-cream lg:text-3xl text-2xl font-concert xl:mx-8 mx-3">Room<i id = 'roomlock' class="fa-solid fa-lock fa-xs mx-4"></i></div>
</div>
<div id="" class="transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 w-5/6 sm:h-1/3 h-full flex xl:justify-between justify-center items-center sm:m-2 m-1 bg-black rounded-3xl">
<div class="text-cream text-3xl font-concert xl:mx-8 mx-3">???</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id='roompurchasecontainer' class="hidden relative z-[999]">
<div class="fixed inset-0 z-[99] w-screen overflow-hidden">
<div class="flex h-screen items-end justify-center p-4 text-center sm:items-center sm:p-0">
<div class="flex flex-col justify-center transform overflow-hidden rounded-xl bg-dblue shadow-xl sm:my-8 lg:w-11/12 w-screen h-5/6">
<div class="flex flex-row justify-between items-center h-1/6 mx-8">
<svg id='closeroompurchasecontainer' class="w-12 h-12 text-cream m-8 cursor-pointer" fill="none" viewBox="0 0 14 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"/>
</svg>
</div>
<div class="flex flex-col justify-center items-center w-full h-5/6">
<div id="purchasetitle" class="text-cream text-3xl font-concert m-8">Purchase ROOM for 50 coins?</div>
<button id="roompurchasesubmit" class="bg-orange hover:bg-dora3ge font-concert flex lg:w-1/4 w-1/2 h-1/5 justify-center items-center rounded-full text-cream text-2xl">Purchase!</button>
</div>
</div>
</div>
</div>
</div>
<div id='leaderboardcontainer' class="relative hidden z-[99]">
<div class="fixed inset-0 bg-gray-700 bg-opacity-90 transition-opacity"></div>
<div class="fixed inset-0 z-[99] w-screen">
<div class="flex h-screen items-end justify-center p-4 text-center sm:items-center sm:p-0">
<div class="flex flex-col justify-center transform rounded-xl bg-dblue shadow-xl sm:my-8 lg:w-11/12 w-screen h-5/6">
<div class="flex flex-row justify-between items-center h-1/6 mx-8">
<div class="text-cream lg:text-6xl text-3xl font-concert m-8">Leaderboard (XP)</div>
<svg id='closeleaderboardcontainer' class="w-12 h-12 text-cream m-8 cursor-pointer" fill="none" viewBox="0 0 14 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"/>
</svg>
</div>
<div class="flex flex-row justify-center items-center h-5/6">
<div id="leaderboard" class="h-full w-3/4 flex justify-center items-center flex-col">
</div>
<!-- <div id="leaderboard" class="text-cream font-concert text-3xl">
</div> -->
</div>
</div>
</div>
</div>
</div>
<div id='studycontainer' class="relative hidden z-[99] overflow-hidden">
<div class="fixed inset-0 bg-gray-700 bg-opacity-90 transition-opacity"></div>
<div class="fixed inset-0 z-[99] w-screen overflow-hidden">
<div class="flex h-screen items-end justify-center p-4 text-center sm:items-center sm:p-0">
<div class="flex flex-col rounded-xl bg-dblue shadow-xl sm:my-8 lg:w-5/6 w-screen h-5/6">
<div class="flex flex-row justify-between items-center h-1/6">
<div class="text-cream text-3xl font-concert m-8">Study</div>
<svg id='closestudycontainer' class="w-12 h-12 text-cream m-8 cursor-pointer" fill="none" viewBox="0 0 14 14">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"/>
</svg>
</div>
<div class="flex flex-col justify-center items-center h-3/6">
<div id="sliderdisplay" class="font-concert text-4xl text-cream">3 Hours</div>
<input type="range" id='hourslider' class="w-3/4 bg-transparent m-8 cursor-pointer appearance-none disabled:opacity-50 disabled:pointer-events-none focus:outline-none
[&::-webkit-slider-thumb]:w-2.5
[&::-webkit-slider-thumb]:h-2.5
[&::-webkit-slider-thumb]:-mt-0.5
[&::-webkit-slider-thumb]:appearance-none
[&::-webkit-slider-thumb]:bg-orange
[&::-webkit-slider-thumb]:shadow-[0_0_0_8px_#fa8334]
[&::-webkit-slider-thumb]:rounded-full
[&::-webkit-slider-runnable-track]:w-full
[&::-webkit-slider-runnable-track]:h-2
[&::-webkit-slider-runnable-track]:bg-lblue
[&::-webkit-slider-runnable-track]:rounded-full" min="1" max="8" step="1">
<div class="bg-orange md:w-1/2 w-11/12 h-auto rounded-3xl flex justify-center items-center flex-row p-4">
<div class="font-concert md:text-4xl text-2xl text-cream m-4 w-1/3">
REWARDS
</div>
<div class="flex w-1/3 justify-center items-center flex-col m-2">
<i class="fa-solid fa-coins text-cream fa-2xl m-4"></i>
<div id='coinsearned' class="font-concert md:text-3xl text-xl text-cream m-2">
30 Coins
</div>
</div>
<div class="flex w-1/3 justify-center items-center flex-col m-2">
<i class="fa-solid fa-book-open text-cream fa-2xl m-4"></i>
<div id='xpearned' class="font-concert md:text-3xl text-xl text-cream m-2">
30,000 XP
</div>
</div>
</div>
</div>
<div class="flex flex-row justify-center items-center h-2/6">
<div id='startstudybtn' class="transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 bg-cream p-8 rounded-full text-dblue text-3xl font-concert cursor-pointer hover:bg-orange hover:text-cream">Start Studying!</div>
</div>
</div>
</div>
</div>
</div>
<div id='studysessioncontainer' class="relative hidden z-[99]">
<div class="fixed inset-0 z-[99] w-screen overflow-hidden">
<div class="flex h-screen items-end justify-end">
<div class="flex lg:flex-row flex-col justify-center items-center transform overflow-hidden lg:rounded-2xl rounded-t-2xl bg-orange shadow-xl lg:my-8 my-0 lg:w-2/5 w-full lg:h-2/5 h-3/4 lg:m-8 m-0">
<div class="flex flex-col h-full w-1/2">
<div class="flex flex-row justify-center items-center h-1/2 m-12">
<div class="text-cream xl:text-5xl lg:text-4xl text-6xl font-concert">Studying!</div>
</div>
<div class="flex flex-row justify-center items-center h-1/2 m-12">
<div class="grid grid-flow-col gap-5 text-center auto-cols-max">
<div class="flex flex-col text-cream font-concert lg:text-3xl text-4xl">
<span id='sessionhours' class="font-concert text-6xl">
<span></span>
</span>
hours
</div>
<div class="flex flex-col text-cream font-concert lg:text-3xl text-4xl">
<span id='sessionmins' class="font-concert text-6xl">
<span></span>
</span>
min
</div>
<div class="flex flex-col text-cream font-concert lg:text-3xl text-4xl">
<span id='sessionsecs' class="font-concert text-6xl">
<span></span>
</span>
sec
</div>
</div>
</div>
</div>
<div class="flex flex-col h-full w-full flex justify-center items-center flex-col">
<div id="continuestudybtn" class="hidden bg-cream font-concert w-4/5 h-full cursor-pointer hover:bg-dorange rounded-2xl flex items-center justify-center flex-row m-6">
<h1 class="text-dblue font-concert text-6xl">Continue</h1>
</div>
<div id="pausestudybtn" class="bg-cream font-concert w-4/5 h-full cursor-pointer hover:bg-dorange rounded-2xl flex items-center justify-center flex-row m-6">
<h1 class="text-dblue font-concert text-6xl">Pause</h1>
</div>
<div id="stopstudybtn" class="bg-cream font-concert w-4/5 h-full cursor-pointer hover:bg-dorange rounded-2xl flex items-center justify-center flex-row m-6">
<h1 class="text-dblue font-concert text-6xl">Stop</h1>
</div>
</div>
</div>
</div>
</div>
</div>
<div id='focuscontainer' class="relative hidden z-[99]">
<div class="fixed inset-0 z-[99] w-screen overflow-hidden">
<div class="flex h-screen w-screen items-end justify-center text-center sm:items-center sm:p-0">
<div class="flex flex-col justify-center items-center bg-orange w-screen h-screen">
<div class="flex flex-row justify-center items-center flex-col">
<div class="text-cream lg:text-9xl text-3xl font-concert m-8">Stay Focused!</div>
<div class="text-cream lg:text-7xl text-3xl font-concert m-8">Switch back to the website tab to continue</div>
</div>
</div>
</div>
</div>
</div>
<div id='rewardcontainer' class="relative hidden z-[99]">
<div class="fixed inset-0 bg-gray-700 bg-opacity-90 transition-opacity"></div>
<div class="fixed inset-0 z-[99] w-screen overflow-hidden">
<div class="flex h-screen justify-center text-center items-center p-0">
<div class="flex flex-col justify-center items-center transform overflow-hidden rounded-xl bg-dblue shadow-xl my-8 md:w-5/6 md:h-4/6 w-screen h-5/6">
<div class="flex flex-row justify-center items-center h-1/6 m-8">
<div class="text-cream text-3xl font-concert">Study Session Complete!</div>
</div>
<div class="bg-orange w-3/4 h-full rounded-3xl my-4 flex justify-center items-center lg:flex-row flex-col p-6">
<div class="flex justify-center items-center font-concert lg:text-6xl text-4xl text-cream w-1/2 h-full">
REWARDS
</div>
<div class="flex w-1/4 h-full justify-center items-center lg:flex-col flex-row m-2">
<i class="fa-solid fa-coins text-cream fa-2xl my-4"></i>
<div id='coinsreward' class="font-concert text-3xl text-cream m-2">
30 Coins
</div>
</div>
<div class="flex w-1/4 h-full justify-center items-center lg:flex-col flex-row m-2">
<i class="fa-solid fa-book-open text-cream fa-2xl my-4"></i>
<div id='xpreward' class="font-concert text-3xl text-cream m-2">
30,000 XP
</div>
</div>
</div>
<div class="flex flex-row justify-center items-center h-1/6 m-8">
<div id='closerewardcontainer' class="bg-cream p-8 rounded-full text-dblue text-3xl font-concert cursor-pointer hover:bg-orange hover:text-cream cursor-pointer">Collect Rewards</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>