-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinterests.html
More file actions
180 lines (159 loc) · 5.4 KB
/
interests.html
File metadata and controls
180 lines (159 loc) · 5.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Interests | Samar Ahmad</title>
<link rel="stylesheet" href="style.css">
<!-- Font Awesome for Icons -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
<style>
body {
font-family: 'Roboto', sans-serif;
color: #fff;
margin: 0;
padding: 0;
background-image: url('back.png'); /* Added background image as back.png */
background-size: cover;
background-position: center;
background-attachment: fixed;
}
header {
background: rgba(0, 0, 0, 0.6);
color: white;
padding: 60px 20px;
text-align: center;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
position: relative;
z-index: 1;
}
header h1 {
font-size: 3rem;
margin-bottom: 20px;
}
header p {
font-size: 1.2rem;
color: #f1f1f1;
}
/* Interests Section */
.interests-container {
padding: 50px 20px;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
background: rgba(0, 0, 0, 0.5);
border-radius: 15px;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
}
.interest-box {
background: rgba(51, 51, 51, 0.8);
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
text-align: center;
width: 220px;
padding: 30px;
color: white;
transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.interest-box:hover {
transform: scale(1.1);
background-color: rgba(0, 0, 0, 0.9);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8);
}
.interest-box h3 {
margin-bottom: 15px;
color: #ffffff;
font-size: 1.4rem;
font-weight: bold;
text-transform: uppercase;
}
.interest-icon {
font-size: 4rem;
color: #ffffff;
margin-bottom: 20px;
}
.back-button {
display: inline-block;
margin: 40px auto;
padding: 15px 25px;
background-color: #404040;
color: white;
font-size: 1.1rem;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s, transform 0.3s;
text-align: center;
}
.back-button:hover {
background-color: #000000;
transform: translateY(-5px);
}
/* Mobile responsiveness */
@media (max-width: 768px) {
.interests-container {
flex-direction: column;
align-items: center;
}
.interest-box {
width: 80%;
margin: 10px 0;
}
}
</style>
</head>
<body>
<header>
<h1>My Interests</h1>
<p>Discover the things that inspire me and keep me motivated.</p>
</header>
<section class="interests-container">
<!-- Web Development -->
<div class="interest-box">
<div class="interest-icon"><i class="fas fa-laptop-code"></i></div>
<h3>Web Development</h3>
<p>I love building modern, interactive websites using the latest technologies like HTML, CSS, JavaScript, and frameworks like React.js.</p>
</div>
<!-- Hackathons -->
<div class="interest-box">
<div class="interest-icon"><i class="fas fa-trophy"></i></div>
<h3>Hackathons</h3>
<p>Participating in hackathons allows me to work on real-world problems and collaborate with like-minded individuals to innovate.</p>
</div>
<div class="interest-box">
<div class="interest-icon"><i class="fas fa-code"></i></div>
<h3>Coding & Problem Solving</h3>
<p>I'm deeply passionate about coding, solving complex problems, and improving my technical skills. I love tackling algorithmic challenges and learning new programming languages.</p>
</div>
<!-- Story Reading -->
<div class="interest-box">
<div class="interest-icon"><i class="fas fa-book"></i></div>
<h3>Story Reading</h3>
<p>Reading stories is an escape into different worlds, helping me unwind and develop new perspectives through literature.</p>
</div>
<!-- Traveling -->
<div class="interest-box">
<div class="interest-icon"><i class="fas fa-train"></i></div>
<h3>Traveling</h3>
<p>Exploring new places, cultures, and experiences is something that excites me. Traveling broadens my understanding of the world.</p>
</div>
<!-- Kabaddi -->
<div class="interest-box">
<div class="interest-icon"><i class="fas fa-running"></i></div>
<h3>Kabaddi</h3>
<p>As an active sport, Kabaddi helps me stay fit while also enjoying the thrill of teamwork and competitive spirit.</p>
</div>
<!-- Badminton -->
<div class="interest-box">
<div class="interest-icon">
<img src="badminton.png" alt="Badminton" style="width: 40px; height: 40px;">
</div>
<!-- <div class="interest-icon"><i class="fas fa-basketball-ball"></i></div> -->
<h3>Badminton</h3>
<p>Badminton is another sport that keeps me active. I enjoy playing it for fun and as a way to stay healthy and energized.</p>
</div>
</section>
<!-- Back to Home Button -->
<a href="index.html" class="back-button">Back to Home</a>
</body>
</html>