-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
245 lines (209 loc) · 4.85 KB
/
style.css
File metadata and controls
245 lines (209 loc) · 4.85 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
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
/* General Styles */
body {
font-family: 'Poppins', sans-serif;
color: #333;
margin: 0;
padding: 0;
background: #f4f4f4;
line-height: 1.6;
}
header {
position: relative;
color: #fff;
text-align: center;
}
.hero-section {
background: url('hero.jpg') no-repeat center center/cover;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
position: relative;
}
.hero-overlay {
background: rgba(0, 0, 0, 0.6);
padding: 40px;
border-radius: 10px;
}
.hero-section h1 {
font-size: 3.5rem; /* Increased font size */
margin-bottom: 10px;
}
.hero-section p {
font-size: 1.75rem; /* Increased font size */
margin-bottom: 20px;
}
.cta-button a {
color: #fff;
text-decoration: none;
font-weight: bold;
background: linear-gradient(135deg, #007BFF, #0056D2); /* Gradient background */
padding: 15px 30px;
border-radius: 8px;
box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.1), 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle inner shadow */
transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}
.cta-button a:hover {
background: linear-gradient(135deg, #0056D2, #003DA1); /* Darker gradient on hover */
transform: translateY(-3px); /* Slight lift on hover */
box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2), 0 6px 15px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}
/* Navigation */
nav ul {
list-style: none;
padding: 0;
margin: 20px 0;
display: flex;
justify-content: center;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease, text-shadow 0.3s ease;
text-shadow: 0 2px 5px rgba(0, 0, 0, 1); /* Adds shadow to make text pop */
font-size: 1.2rem;
}
nav ul li a:hover {
color: #333333; /* Changes to a bright black on hover */
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9); /* More pronounced shadow on hover */
}
/* Main Content */
.content-container {
max-width: 1200px;
margin: auto;
padding: 20px;
}
.about-container, .project-cards, .skills-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 40px;
}
.photo-container {
flex: 1;
max-width: 300px;
margin-right: 20px;
}
.photo-container img {
width: 100%;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.about-text {
flex: 2;
display: flex;
flex-direction: column;
justify-content: center;
}
.project-cards {
justify-content: space-around;
}
.project-card {
background: white;
padding: 20px;
margin: 10px;
flex: 0 1 45%;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.project-card h3 {
margin-top: 0;
color: #333;
}
.skills-container {
justify-content: center;
}
.skill-item {
background: white;
padding: 10px 20px;
margin: 10px;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
transition: background 0.3s ease, box-shadow 0.3s ease;
}
.skill-item i {
margin-right: 10px;
color: #076bf0;
font-size: 1.5rem;
}
.skill-item:hover {
background: #f4f4f4;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
/* Lifestyle & Hobbies Section */
#lifestyle-hobbies {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* Footer */
footer {
background: #333;
color: #fff;
text-align: center;
padding: 20px;
margin-top: 40px;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.about-container, .project-cards, .skills-container {
flex-direction: column;
}
.photo-container {
margin-right: 0;
margin-bottom: 20px;
}
.project-card {
flex: 0 1 100%;
}
nav ul {
flex-direction: column;
}
}
/* Mobile Menu */
.hamburger {
display: none; /* Hidden by default, shown in media query */
background: transparent;
border: none;
color: white; /* Color of the hamburger icon */
font-size: 2rem; /* Size of the hamburger icon */
cursor: pointer;
position: absolute;
top: 10%;
right: 10px;
}
@media (max-width: 768px) {
.hamburger {
display: block;
}
nav ul {
display: none;
}
nav ul.nav-active {
display: flex;
flex-direction: column;
background: #333;
position: absolute;
top: 70px;
left: 0;
right: 0;
padding: 20px;
}
nav ul.nav-active li {
margin: 10px 0;
}
}