-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
361 lines (308 loc) · 9.24 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fyaz Mohammed</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-..." crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
/* CSS Variables */
:root {
--main-bg-color: #0c0c0c;
--overlay-bg-color: rgba(0, 0, 0, 0.5);
--text-color: #ddd;
--accent-color: #FFD700;
--font-family-primary: 'Poppins', sans-serif;
--font-family-secondary: 'Playfair Display', serif;
}
/* Basic Reset */
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body Styles */
body,
html {
height: 100%;
font-family: var(--font-family-primary);
overflow-x: hidden;
color: var(--text-color);
background: var(--main-bg-color);
scroll-behavior: smooth;
}
/* Background */
.background {
background-image: url('assets/images/bg.jpeg'); /* Updated path */
background-size: cover;
background-attachment: fixed;
background-position: center;
height: 100%;
width: 100%;
position: relative;
animation: backgroundAnimation 20s infinite alternate; /* Background animation */
}
@keyframes backgroundAnimation {
0% {
filter: brightness(1);
}
100% {
filter: brightness(1.2);
}
}
/* Overlay */
.overlay {
position: absolute;
inset: 0;
background: var(--overlay-bg-color);
z-index: 1;
}
/* Header */
.header {
position: absolute;
top: 2%;
right: 2%;
display: flex;
align-items: center;
z-index: 3;
gap: 15px;
padding: 10px 15px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
animation: slideInFromRight 1s ease-out;
}
.header img {
width: 60px;
height: 60px;
border-radius: 50%;
border: 2px solid #fff;
object-fit: cover;
transition: transform 0.3s ease;
}
.header img:hover {
transform: scale(1.1);
}
.header h2 {
color: #fff;
font-size: 1.5rem;
font-weight: 700;
animation: fadeIn 1.5s ease;
}
.social-icons {
display: flex;
gap: 10px;
}
.social-icons a {
color: #fff;
font-size: 1.25rem;
transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
color: var(--accent-color);
transform: scale(1.2);
animation: pulse 0.5s infinite alternate; /* Add pulse effect on hover */
}
/* Content */
.content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
z-index: 3;
padding: 2rem;
border: 2px solid #fff;
border-radius: 12px;
background: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(5px);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
width: 90%;
max-width: 600px;
color: #fff;
}
.content h1 {
font-family: var(--font-family-secondary);
font-size: 3rem;
margin-bottom: 1.25rem;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
transition: color 0.3s ease, transform 0.3s ease;
}
.content h1:hover {
color: var(--accent-color);
transform: rotateY(5deg);
}
.content p {
font-size: 1.5rem;
line-height: 1.5;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideInFromRight {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}*/
@keyframes pulse {
from {
transform: scale(1);
}
to {
transform: scale(1.1);
}
}
/* Responsive Design */
/* Base Styles */
@media (max-width: 1200px) {
.header {
padding: 10px;
top: 5%;
right: 5%;
}
.header h2 {
font-size: 1.25rem;
}
.content {
padding: 1.5rem;
}
.content h1 {
font-size: 2.5rem;
}
.content p {
font-size: 1.25rem;
}
}
@media (max-width: 768px) {
.header {
flex-direction: column;
align-items: center;
right: 50%;
transform: translateX(50%);
}
.header h2 {
font-size: 1.25rem;
text-align: center;
}
.header img {
width: 50px;
height: 50px;
}
.social-icons {
justify-content: center;
}
.content {
width: 90%;
padding: 1.5rem;
}
.content h1 {
font-size: 2.5rem;
}
.content p {
font-size: 1.25rem;
}
}
@media (max-width: 480px) {
.header {
flex-direction: row;
justify-content: space-between;
width: 100%;
padding: 0.5rem 1rem;
}
.header h2 {
font-size: 1rem;
flex-grow: 1;
text-align: center;
}
.social-icons {
gap: 5px;
font-size: 1rem;
}
.content h1 {
font-size: 2rem;
}
.content p {
font-size: 1rem;
}
}
/* TV Styles */
@media (min-width: 1920px) {
.header {
top: 3%;
right: 3%;
padding: 20px;
}
.header h2 {
font-size: 2rem;
}
.content {
width: 80%;
padding: 3rem;
}
.content h1 {
font-size: 4rem;
}
.content p {
font-size: 2rem;
}
}
</style>
</head>
<body>
<div class="background">
<div class="overlay"></div>
<header class="header">
<img src="assets/images/dp.jpeg" alt="Display Picture of Your Name">
<h2>Fyaz Mohammed</h2>
<nav class="social-icons">
<a href="https://linkedin.com/in/fyaz05" target="_blank" aria-label="LinkedIn Profile">
<i class="fab fa-linkedin"></i>
</a>
<a href="https://github.com/fyaz05" target="_blank" aria-label="GitHub Profile">
<i class="fab fa-github"></i>
</a>
</nav>
</header>
<main class="content">
<h1>You've reached the world's Edge</h1>
<p>None but Devils play here. Turn back!<br>
Stop wandering around the site.</p>
</main>
</div>
<!-- JavaScript -->
<script>
document.addEventListener('DOMContentLoaded', function () {
const background = document.querySelector('.background');
window.addEventListener('scroll', () => {
const offset = window.scrollY;
background.style.backgroundPositionY = offset * 0.5 + "px";
});
});
</script>
</body>
</html>