Skip to content

Commit 846a8ca

Browse files
authored
Update index.html
1 parent 54cfc73 commit 846a8ca

1 file changed

Lines changed: 222 additions & 80 deletions

File tree

‎index.html‎

Lines changed: 222 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,228 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Romantic Website</title>
7-
<link rel="stylesheet" href="style.css">
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
6+
<title>The Fate by Rutu</title>
7+
<style>
8+
@import url('https://fonts.googleapis.com/css2?family=Merriweather&family=Montserrat:wght@400;700&display=swap');
9+
10+
/* Reset */
11+
* {
12+
margin: 0;
13+
padding: 0;
14+
box-sizing: border-box;
15+
}
16+
17+
body {
18+
font-family: 'Merriweather', serif;
19+
background: linear-gradient(135deg, #1e3c72, #2a5298);
20+
color: #f0f0f0;
21+
min-height: 100vh;
22+
display: flex;
23+
flex-direction: column;
24+
overflow-x: hidden;
25+
}
26+
27+
header {
28+
background: rgba(0,0,0,0.4);
29+
padding: 1.5rem 1rem;
30+
text-align: center;
31+
box-shadow: 0 2px 10px rgba(0,0,0,0.5);
32+
animation: fadeInDown 1s ease forwards;
33+
}
34+
35+
header h1 {
36+
font-family: 'Montserrat', sans-serif;
37+
font-weight: 700;
38+
font-size: 1.8rem;
39+
letter-spacing: 0.1em;
40+
color: #ffd700;
41+
text-shadow: 0 0 8px #ffd700;
42+
}
43+
44+
header p {
45+
font-family: 'Montserrat', sans-serif;
46+
font-weight: 400;
47+
font-size: 1rem;
48+
color: #eee;
49+
margin-top: 0.3rem;
50+
font-style: italic;
51+
}
52+
53+
main {
54+
flex: 1;
55+
overflow-y: auto;
56+
padding: 1.5rem 1.2rem;
57+
background: rgba(255,255,255,0.05);
58+
border-radius: 15px 15px 0 0;
59+
animation: fadeInUp 1s ease forwards;
60+
}
61+
62+
main p {
63+
line-height: 1.7;
64+
font-size: 1.1rem;
65+
margin-bottom: 1.3rem;
66+
text-align: justify;
67+
text-indent: 1.2em;
68+
opacity: 0;
69+
transform: translateY(20px);
70+
animation: fadeInUpText 0.8s ease forwards;
71+
}
72+
73+
main p:nth-child(1) {
74+
animation-delay: 0.3s;
75+
}
76+
main p:nth-child(2) {
77+
animation-delay: 0.6s;
78+
}
79+
main p:nth-child(3) {
80+
animation-delay: 0.9s;
81+
}
82+
main p:nth-child(4) {
83+
animation-delay: 1.2s;
84+
}
85+
main p:nth-child(5) {
86+
animation-delay: 1.5s;
87+
}
88+
main p:nth-child(6) {
89+
animation-delay: 1.8s;
90+
}
91+
main p:nth-child(7) {
92+
animation-delay: 2.1s;
93+
}
94+
main p:nth-child(8) {
95+
animation-delay: 2.4s;
96+
}
97+
main p:nth-child(9) {
98+
animation-delay: 2.7s;
99+
}
100+
main p:nth-child(10) {
101+
animation-delay: 3s;
102+
}
103+
main p:nth-child(11) {
104+
animation-delay: 3.3s;
105+
}
106+
main p:nth-child(12) {
107+
animation-delay: 3.6s;
108+
}
109+
main p:nth-child(13) {
110+
animation-delay: 3.9s;
111+
}
112+
main p:nth-child(14) {
113+
animation-delay: 4.2s;
114+
}
115+
116+
/* Scrollbar for mobile */
117+
main::-webkit-scrollbar {
118+
width: 6px;
119+
}
120+
main::-webkit-scrollbar-track {
121+
background: transparent;
122+
}
123+
main::-webkit-scrollbar-thumb {
124+
background: #ffd700;
125+
border-radius: 3px;
126+
}
127+
128+
footer {
129+
text-align: center;
130+
padding: 0.8rem 1rem;
131+
font-family: 'Montserrat', sans-serif;
132+
font-size: 0.9rem;
133+
color: #ccc;
134+
background: rgba(0,0,0,0.3);
135+
animation: fadeInUp 1s ease forwards;
136+
}
137+
138+
/* Animations */
139+
@keyframes fadeInDown {
140+
0% {
141+
opacity: 0;
142+
transform: translateY(-30px);
143+
}
144+
100% {
145+
opacity: 1;
146+
transform: translateY(0);
147+
}
148+
}
149+
150+
@keyframes fadeInUp {
151+
0% {
152+
opacity: 0;
153+
transform: translateY(30px);
154+
}
155+
100% {
156+
opacity: 1;
157+
transform: translateY(0);
158+
}
159+
}
160+
161+
@keyframes fadeInUpText {
162+
to {
163+
opacity: 1;
164+
transform: translateY(0);
165+
}
166+
}
167+
168+
/* Responsive font size */
169+
@media (max-width: 400px) {
170+
header h1 {
171+
font-size: 1.5rem;
172+
}
173+
main p {
174+
font-size: 1rem;
175+
}
176+
}
177+
</style>
8178
</head>
9179
<body>
10-
<!-- First Dashboard -->
11-
<div class="dashboard" id="first-dashboard">
12-
<div class="input-box">
13-
<h2>Welcome?</h2>
14-
<input type="text" id="name-input" placeholder="Enter your name">
15-
<button id="next-btn" disabled>Next</button>
16-
<p id="error-msg"></p>
17-
</div>
18-
</div>
19-
20-
<!-- Second Dashboard -->
21-
<div class="dashboard second-dashboard" id="second-dashboard">
22-
<div class="greeting-container">
23-
<h1 id="greeting-part1" class="typewriter"></h1>
24-
<h1 id="greeting-part2" class="typewriter" style="display: none;"></h1>
25-
</div>
26-
<button id="click-next-btn" class="flicker">Click to next</button>
27-
</div>
28-
29-
<!-- Third Dashboard -->
30-
<div class="dashboard third-dashboard" id="third-dashboard">
31-
<h1 id="third-greeting" class="typewriter"></h1>
32-
<div class="option-container">
33-
<button id="yes-btn" class="option-btn">Ha bolo?</button>
34-
<button id="no-btn" class="option-btn">Nah</button>
35-
</div>
36-
</div>
37-
38-
<!-- Fourth Dashboard -->
39-
<div class="dashboard fourth-dashboard" id="fourth-dashboard">
40-
<h1 id="fourth-greeting" class="typewriter"></h1>
41-
<button id="fourth-next-btn" class="flicker">Click for next</button>
42-
</div>
43-
44-
<!-- Fifth Dashboard -->
45-
<div class="dashboard fifth-dashboard" id="fifth-dashboard">
46-
<h1 id="fifth-greeting" class="typewriter"></h1>
47-
<div class="option-container">
48-
<button id="gift-yes-btn" class="option-btn">Kya ha?</button>
49-
<button id="gift-no-btn" class="option-btn">Nhi deknhi</button>
50-
</div>
51-
</div>
52-
53-
<!-- Sixth Dashboard -->
54-
<div class="dashboard sixth-dashboard" id="sixth-dashboard">
55-
<div class="gift-container">
56-
<div id="gift-box1" class="gift-box"></div>
57-
<div id="gift-box2" class="gift-box"></div>
58-
</div>
59-
<p id="choose-text">thik sa choose karna, madam ji</p>
60-
<p id="result-text" style="display: none;"></p>
61-
</div>
62-
63-
<!-- Seventh Dashboard -->
64-
<div class="dashboard seventh-dashboard" id="seventh-dashboard">
65-
<h1 id="seventh-greeting" class="typewriter"></h1>
66-
<button id="seventh-next-btn" class="flicker">click for next</button>
67-
</div>
68-
69-
<!-- Eighth Dashboard -->
70-
<div class="dashboard eighth-dashboard" id="eighth-dashboard">
71-
<h1 id="eighth-greeting" class="typewriter"></h1>
72-
<div class="option-container">
73-
<button id="date-yes-btn" class="option-btn">ha</button>
74-
<button id="date-no-btn" class="option-btn">nah</button>
75-
</div>
76-
</div>
77-
78-
<!-- Ninth Dashboard -->
79-
<div class="dashboard ninth-dashboard" id="ninth-dashboard">
80-
<h1 id="ninth-greeting" class="typewriter"></h1>
81-
<p id="end-text" class="pulse">End ....</p>
82-
</div>
83-
84-
<script src="script.js"></script>
180+
181+
<header>
182+
<h1>The Fate</h1>
183+
<p>by Rutu</p>
184+
</header>
185+
186+
<main id="story">
187+
<!-- Story paragraphs will be inserted here by JS -->
188+
</main>
189+
190+
<footer>
191+
&copy; 2024 Rutu - All rights reserved
192+
</footer>
193+
194+
<script>
195+
const storyText = `This world may only be an illusion — an open-world game we call life. Yet we don’t even know what “real” truly feels like. Here, every reckless act risks suffering or even death. And even if we live carefully, time itself will take us away once we grow old.
196+
197+
That means our fate has already been decided. No one can live beyond what fate allows. If that’s true, then this world is nothing more than a game, programmed from start to end. Every single living being is written, set into motion, and left to wander. That is why life feels like a game — a place where we explore, fight, learn, and struggle to survive.
198+
199+
But what lies beyond fate? Who is Fate? What do they want? We don’t know. We are nothing more than creations of this unseen power — a force invincible and far beyond our thoughts or imagination. So what can we do? All we can do is live within that will until death embraces us. Perhaps something exists after death — but if so, is that too under Fate’s control?
200+
201+
When everything seems lost, a strange thing happens: hope rises. In darkness, Fate sometimes feels like a hidden god — unseen, but leaving behind a fragile spark of light. Think about it: when we write with a pencil and make a mistake, we erase it. With a pen, we scratch it out.
202+
203+
Now apply that to life. People die from disease, accident, suicide, murder — countless methods. But what if these aren’t random? What if Fate simply erases certain lives, correcting its own “programming mistakes”? Those deaths we see… might only be Fate editing its story.
204+
205+
And there’s more. Time — the most powerful force in the universe — is not free. Time can bend, consume, and transform reality itself, but it is not cruel by choice. People say, “Time is cruel; it waits for no one.” That sentence misses the truth. Time is not cruel on its own — it was shaped by Fate to behave this way, to do its job.
206+
207+
Whatever is written cannot truly be changed. Even gods may delay events, but they cannot stop Fate’s will. When the time for something arrives, it will happen.
208+
209+
So we ask the old questions: Is this world a simulation? Are those around us NPCs? Are we players, controlled by someone else, our wills only illusions? Is everything we see an illusion and the truth hidden behind it?
210+
211+
Honestly, we don’t know the true reality. But maybe that uncertainty is itself part of Fate’s design. If such thoughts appear in our minds, perhaps Fate has already decided those future moments to come. Everything — even the questions we ask — happens by the will of the all-mighty Fate.
212+
213+
From my perspective, Fate is older and stronger than any god we worship. Fate is the first — primordial above existence and non-existence alike.`;
214+
215+
const storyContainer = document.getElementById('story');
216+
217+
// Split story into paragraphs by double newlines
218+
const paragraphs = storyText.split(/\n\n+/);
219+
220+
paragraphs.forEach((para, i) => {
221+
const p = document.createElement('p');
222+
p.textContent = para.trim();
223+
storyContainer.appendChild(p);
224+
});
225+
</script>
226+
85227
</body>
86-
</html>
228+
</html>

0 commit comments

Comments
 (0)