-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathindex.html
185 lines (164 loc) · 6.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Portfolio</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<style>
body {
margin: 0;
font-family: 'Arial', sans-serif;
overflow-x: hidden;
}
.section {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
position: relative;
}
.background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background: linear-gradient(135deg, #ff77b4, #a76dff);
transform: translateZ(-1px) scale(1.5);
will-change: transform;
}
.content {
color: #1a1a2e; /* Blue-black color */
z-index: 1;
padding: 20px;
font-weight:bold;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
transition: transform 0.3s ease;
}
.content:hover {
transform: scale(1.05);
}
nav {
position: fixed;
top: 0;
width: 100%;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(10px);
z-index: 10;
}
nav a {
color: white; /* Blue-black color */
padding: 15px;
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
font-size: 1.25rem; /* Increased font size */
}
nav a:hover {
color: #feb47b;
}
/* Contact form styles */
.contact-input {
border: 2px solid rgba(255, 12, 186, 0.8);
transition: border-color 0.3s ease;
}
.contact-input:focus {
border-color: blue;
outline: none;
}
.submit-button {
background-color: rgba(255, 12, 186, 0.8);
color: white;
transition: background-color 0.3s ease;
font-size: 1.125rem; /* Increased button font size */
}
.submit-button:hover {
background-color: rgba(20, 138, 251, 0.8);
}
/* Animation styles */
.fadeIn {
opacity: 0;
animation: fadeIn 1s forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
</style>
</head>
<body>
<nav class="flex justify-around">
<a href="#section1">Home</a>
<a href="#section2">About</a>
<a href="#section3">Projects</a>
<a href="#section4">Skills</a>
<a href="#section5">Contact</a>
</nav>
<div id="section1" class="section">
<div class="background"></div>
<div class="content fadeIn">
<h1 class="text-6xl font-bold">Welcome to My Portfolio</h1> <!-- Increased font size -->
<p class="mt-4 text-xl">Explore my projects and skills below!</p> <!-- Increased font size -->
</div>
</div>
<div id="section2" class="section">
<div class="background"></div>
<div class="content fadeIn">
<h1 class="text-6xl font-bold">About Me</h1> <!-- Increased font size -->
<p class="mt-4 text-xl">I am an engineering student with a passion for web development and design.</p> <!-- Increased font size -->
<p class="mt-2 text-xl">I love creating beautiful and functional websites using modern technologies.</p> <!-- Increased font size -->
</div>
</div>
<div id="section3" class="section">
<div class="background"></div>
<div class="content fadeIn">
<h1 class="text-6xl font-bold">My Projects</h1> <!-- Increased font size -->
<p class="mt-4 text-xl">Here are some of the projects I've worked on:</p> <!-- Increased font size -->
<ul class="mt-4 text-left text-xl"> <!-- Increased font size -->
<li>🌐 Personal Website: A responsive portfolio showcasing my work.</li>
<li>📱 Mobile App: An application for managing tasks and notes.</li>
<li>💻 E-commerce Site: A full-stack application for buying and selling products.</li>
</ul>
</div>
</div>
<div id="section4" class="section">
<div class="background"></div>
<div class="content fadeIn">
<h1 class="text-6xl font-bold">Skills</h1> <!-- Increased font size -->
<p class="mt-4 text-xl">I have experience in the following technologies:</p> <!-- Increased font size -->
<ul class="mt-4 text-left text-xl"> <!-- Increased font size -->
<li>🌟 HTML, CSS, JavaScript</li>
<li>🌟 React, Node.js</li>
<li>🌟 Python, Flask</li>
<li>🌟 Machine Learning</li>
<li>🌟 AWS, Git</li>
</ul>
</div>
</div>
<div id="section5" class="section">
<div class="background"></div>
<div class="content fadeIn">
<h1 class="text-6xl font-bold">Contact Me</h1> <!-- Increased font size -->
<p class="mt-4 text-xl">I’d love to hear from you! Please fill out the form below:</p> <!-- Increased font size -->
<form class="mt-4">
<div class="flex flex-col space-y-4">
<input type="text" placeholder="Your Name" class="contact-input p-3 rounded-md w-80 bg-white text-gray-800 shadow-md border-2 border-transparent focus:border-[#feb47b] transition duration-300" required>
<input type="email" placeholder="Your Email" class="contact-input p-3 rounded-md w-80 bg-white text-gray-800 shadow-md border-2 border-transparent focus:border-[#feb47b] transition duration-300" required>
<textarea placeholder="Your Message" class="contact-input p-3 rounded-md w-80 bg-white text-gray-800 shadow-md border-2 border-transparent focus:border-[#feb47b] transition duration-300" rows="4" required></textarea>
<button type="submit" class="submit-button px-6 py-3 rounded-md text-lg font-semibold shadow-lg transform transition duration-300 bg-[#feb47b] text-white hover:bg-[#ff7e5f] hover:scale-105">Send Message</button>
</div>
</form>
</div>
</div>
</body>
</html>