-
Notifications
You must be signed in to change notification settings - Fork 98
/
howtoplay.html
487 lines (418 loc) · 10.4 KB
/
howtoplay.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
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="./atom.png" type="image/png" />
<title>How To Play</title>
<style>
body {
background-color: #121212;
font-family: Arial, Helvetica, sans-serif;
color: #f0f3ff;
margin: 0;
padding: 50px;
text-align: justify;
text-justify: inter-word;
background-image: url('https://i.pinimg.com/originals/e6/c9/e3/e6c9e3d891aa56637847ba09c28fa00c.jpg');
background-repeat: no-repeat;
background-size: 100%;
background-attachment: fixed;
}
/* Custom Scrollbar Styles */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #000;
}
::-webkit-scrollbar-thumb {
background-color: #d61c1c;
border: 1px solid black;
border-radius: 10px;
transition: background-color 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
outline: none;
border-color: red;
border-radius: 10px;
box-shadow: 0 0 10px darkred;
}
#homecontent {
display: flex;
margin-left: auto;
margin-right: auto;
color: #fff;
width: 90%;
height: 100%;
text-align: left;
font-size: 2.5em;
}
#homecontent h1 {
margin-left: 26%;
color: #ff5c5c;
}
#homecontent span,
#homecontent div {
font-style: normal;
}
.buttons {
display: flex;
flex-direction: column;
align-items: left;
justify-content: center;
}
.buttons .btn {
position: relative;
width: 140px;
height: 20px;
cursor: pointer;
padding: 17px;
padding-left: 26px;
padding-right: 26spx;
align-items: center;
background: none;
border: none;
color: #fff;
font-weight: 500;
font-size: 18px;
margin-bottom: 10px;
z-index: 1;
}
.buttons a {
text-decoration: none;
}
.buttons .btn::before,
.buttons .btn::after {
position: absolute;
content: "";
top: 0;
left: 0;
width: 100%;
height: 100%;
backdrop-filter: blur(15px);
background: rgba(253, 251, 251, 0.049);
border-radius: 10px;
box-shadow: 20px 20px 50px rgba(74, 65, 57, 0.5);
z-index: -2;
}
.buttons .btn::after {
width: 99%;
height: 75%;
top: 25%;
left: 0.5%;
z-index: -3;
transform: scaleX(0.5);
transition: all 0.3s;
background: linear-gradient(135deg, #f47f0a, #ff045c);
}
.buttons .btn:hover:after {
transform: scaleX(1.01) translateY(-15px);
}
h1,
h3 {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
margin: 10px 0;
}
h1 {
font-size: 50px;
color: #ff6347;
}
h3 {
font-size: 30px;
color: gold;
}
p {
font-size: 20px;
line-height: 1.6;
margin: 20px auto;
}
ul {
list-style-type: none;
padding: 20px;
margin: 20px auto;
}
ul.explore,
ul.features,
ul.why {
list-style-type: none;
padding: 20px;
border: 1px solid #f0f3ff;
border-radius: 25px;
margin: 20px auto;
background-color: #151515;
}
li {
margin: 10px 0;
font-size: 20px;
}
.explore li,
.features li,
.why li {
padding-bottom: 10px;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
}
.highlight {
color: #f43636;
font-weight: 900;
text-decoration: underline;
}
.welcome {
line-height: 45px;
}
.welcome .highlight {
display: contents;
}
.popup {
background-color: #282828;
border: 2px solid #f43636;
padding: 10px;
margin: 20px;
border-radius: 10px;
}
.step {
display: flex;
align-items: center;
margin: 20px 0;
font-size: 20px;
flex-direction: column-reverse;
flex-wrap: nowrap;
}
.step img {
width: 50%;
margin-right: 50px;
margin-top: 30px;
border-radius: 10px;
}
.step1 {
display: flex;
align-items: center;
margin: 20px 0;
font-size: 20px;
flex-direction: column-reverse;
flex-wrap: nowrap;
}
.step1 img {
max-width: 250px;
margin-top: 30px;
margin-right: 50px;
border-radius: 10px;
}
.typewriter {
overflow: hidden;
border-right: 0.15em solid #f0f3ff;
white-space: nowrap;
margin: 0 auto;
letter-spacing: 0.15em;
animation: typing 3.5s steps(30, end),
blink-caret 0.5s step-end infinite;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
@keyframes typing {
from {
width: 0;
}
to {
width: 100%;
}
}
@keyframes blink-caret {
from,
to {
border-color: transparent;
border-width: 1px;
}
50% {
border-color: #f0f3ff;
}
}
.bounce {
animation: bounce 0.4s ease infinite alternate;
-webkit-animation: bounce 0.4s ease infinite alternate;
}
@keyframes bounce {
0% {
text-shadow: 0 5px 0 #ccc, 0 2px 3px rgba(0, 0, 0, 1);
}
100% {
transform: translateY(-20px);
text-shadow: 0 50px 0 #000, 0 0 20px rgba(0, 0, 0, 0.8);
}
}
@-webkit-keyframes bounce {
0% {
text-shadow: 0 5px 0 #ccc, 0 2px 3px rgba(0, 0, 0, 1);
}
100% {
-webkit-transform: translateY(-20px);
text-shadow: 0 50px 0 #000, 0 0 20px rgba(0, 0, 0, 0.8);
}
}
@media screen and (max-width: 600px) {
#homecontent h1 {
margin-left: 10px;
margin-top: 1px;
font-size: 25px;
}
.step,
.step1 {
flex-direction: column;
align-items: center;
}
.step img,
.step1 img {
width: 80%;
margin: 10px 0;
}
h1 {
font-size: 36px;
}
h3 {
font-size: 24px;
}
p,
li {
font-size: 18px;
}
ul {
padding: 10px;
margin: 10px auto;
}
.typewriter {
font-size: 20px;
width: 100%;
margin: 0;
text-align: center;
}
.buttons .btn {
width: 120px;
/* Adjust the width */
height: 15px;
/* Adjust the height */
padding: 14px;
/* Adjust the padding */
font-size: 16px;
/* Adjust the font size */
margin-bottom: 8px;
/* Adjust the margin bottom */
}
}
.fullCont {
background-color: rgba(0, 0, 0, 0.8);
padding: 20px;
box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
animation: fadeIn 2s ease-in-out;
border-radius: 20px;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
</style>
</head>
<body>
<div class="fullCont">
<div id="homecontent">
<div class="buttons">
<a href="index.html"><span id="playbutton" class="btn">HOME</span></a><br />
</div>
<h1>HOW TO PLAY</h1>
</div>
<h3>
<div class="typewriter">
Welcome to <span class="highlight">Physi-c-Tech</span>: The
Ultimate Elemental Adventure!
</div>
</h3>
<h3>
<div class="bounce">How to Play?</div>
</h3>
<ul>
<div class="step1">
<img src="1.png" alt="Start Your Adventure" />
<div>
<span class="highlight">Start Your Adventure:</span> Begin by
selecting "Play or Continue" to start or resume your game. If you're
new, choose "New Game" to begin your journey from scratch.
</div>
</div>
<br />
<div class="step">
<img src="2.png" alt="Combine Elements" />
<div>
<span class="highlight">Combine Elements:</span> You will start with
a set of basic elements. Drag and drop one element onto another to
attempt a combination. If a valid combination is made, a new element
is created.
</div>
</div>
<br />
<div class="step">
<img src="4.png" alt="Track Your Progress" />
<div>
<span class="highlight">Track Your Progress:</span> Your element box
keeps track of all discovered elements. Review your collection and
read up on the facts about each element you've created.
</div>
</div>
<br />
<div class="step">
<img src="3.png" alt="Discover and Learn" />
<div>
<span class="highlight">Discover and Learn:</span> When you create a
new element, a pop-up box will appear with details and interesting
facts about it. The new element is added to your element box,
expanding your collection.
</div>
</div>
<br />
<div class="step">
<img src="5.png" alt="Advance Through Levels" />
<div>
<span class="highlight">Advance Through Levels:</span> Each level
challenges you to discover 100 new elements. As you progress,
combinations become more complex, requiring creative thinking and
experimentation.
</div>
</div>
<br />
<li>
<span class="highlight">Stay Engaged:</span> Use the "Sound On/Off"
button to enhance your gaming experience with immersive sound effects.
Visit the "About" section for more information on game mechanics and
tips.
</li>
</ul>
<br /><br /><br />
<p>
Prepare yourself for an adventure where your creativity and intellect
are your greatest tools. Whether you're a student eager to learn, a
teacher looking for a fun educational tool, or simply someone who loves
science and technology,
<span class="highlight">Physi-c-Tech</span> promises an unforgettable
experience.
</p>
<p>
<span class="highlight">Start your journey now and see how many elements you can
discover!</span>
</p>
</div>
</div>
<footer style="text-align: center;">
© 2024 Physi-c-Tech. All rights reserved.
</footer>
</body>
</html>