-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
195 lines (192 loc) · 6.4 KB
/
index.html
File metadata and controls
195 lines (192 loc) · 6.4 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Main Page</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
body {
font-family: 'Poppins', sans-serif;
background: #121212;
color: #e0e0e0;
margin: 0;
padding: 0;
overflow-x: hidden;
}
.navbar {
display: flex;
justify-content: space-between;
padding: 15px 30px;
background: #1e1e2f;
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}
.navbar a {
color: #ffcc70;
text-decoration: none;
font-size: 18px;
margin: 0 15px;
transition: 0.3s;
}
.navbar a:hover {
color: #ff758c;
}
.hero {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
background: url('background.png') center/cover no-repeat;
padding: 50px;
animation: fadeIn 2s ease-in-out;
}
.hero h1 {
font-size: 48px;
font-weight: bold;
color: #ffffff;
background: rgba(0, 0, 0, 0.5); /* Semi-transparent grey background */
padding: 10px 20px;
border-radius: 10px;
text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
display: inline-block; /* Ensures the box wraps tightly around the text */
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.section-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
padding: 50px;
text-align: center;
transition: filter 0.5s ease-in-out;
}
.section {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 30px;
border-radius: 15px;
transition: all 0.5s ease-in-out;
cursor: pointer;
overflow: hidden;
position: relative;
}
.section:hover {
transform: scale(1.05);
box-shadow: 0px 8px 20px rgba(255, 255, 255, 0.2);
}
.section.active {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(1.1);
width: 90vw;
height: 90vh;
background: rgba(0, 0, 0, 0.9);
z-index: 2000;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
border-radius: 20px;
box-shadow: 0px 10px 30px rgba(255, 255, 255, 0.3);
}
.section-content {
display: none;
margin-top: 15px;
font-size: 16px;
text-align: center;
}
.footer {
text-align: center;
padding: 20px;
background: #1e1e2f;
margin-top: 20px;
}
.character {
position: absolute;
bottom: 10px;
right: 10px;
width: 150px;
animation: float 3s infinite ease-in-out;
border-radius: 50%;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
.hero-content {
background: rgba(0, 0, 0, 0.5); /* Semi-transparent grey background */
padding: 20px 30px;
border-radius: 10px;
text-align: center;
display: inline-block; /* Ensures the box wraps tightly around the content */
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); /* Subtle shadow for better visibility */
}
.hero-content h1 {
font-size: 48px;
font-weight: bold;
color: #ffffff;
margin: 0; /* Remove default margin */
text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}
.hero-content p {
font-size: 18px;
color: #ffffff;
margin-top: 10px; /* Add spacing between heading and paragraph */
text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}
</style>
</head>
<body>
<nav class="navbar">
<div>
<a href="thriller.html">Thriller</a>
<a href="fanfiction.html">Fanfiction</a>
<a href="novels.html">Novels</a>
<a href="love.html">Love</a>
<a href="psychology.html">Psychology</a>
</div>
</nav>
<section class="hero">
<div class="hero-content">
<h1>Welcome, Sweetheart ❤️</h1>
<p>A world filled with everything you love, specially crafted for you.</p>
</div>
</section>
<div class="section-container">
<a href="thriller.html" class="section">
<h2>Thriller Realm 🔥</h2>
<p>Dive into suspenseful and thrilling stories!</p>
</a>
<a href="fanfiction.html" class="section">
<h2>Fanfiction Universe ✨</h2>
<p>Explore and enjoy customized fanfiction adventures.</p>
</a>
<a href="novels.html" class="section">
<h2>Novel Haven 📚</h2>
<p>Discover and fall in love with the best novels.</p>
</a>
<a href="love.html" class="section">
<h2>Love & Care Corner ❤️</h2>
<p>Because love and care make life special.</p>
</a>
<a href="psychology.html" class="section">
<h2>Psychology Insights 🧠</h2>
<p>Explore the depths of the human mind.</p>
</a>
</div>
<div class="footer">
<p>Made with ❤️ just for you</p>
</div>
</body>
</html>