-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
162 lines (151 loc) · 2.97 KB
/
style.css
File metadata and controls
162 lines (151 loc) · 2.97 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
/* Reset and smooth scrolling */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth;
}
body {
font-family: 'Segoe UI', sans-serif;
background: #ddebef;
color: #222;
line-height: 1.6;
overflow-x: hidden;
}
.about-container {
display: flex;
align-items: center;
gap: 30px;
flex-wrap: wrap;
}
.profile-pic {
width: 200px;
height: 200px;
object-fit: cover;
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
transition: transform 0.4s ease;
}
.profile-pic:hover {
transform: scale(1.05);
}
.about-text {
flex: 1;
font-size: 1.1rem;
line-height: 1.6;
animation: fadeIn 1.2s ease forwards;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateX(30px); }
to { opacity: 1; transform: translateX(0); }
}
/* Navigation Bar */
header {
background: linear-gradient(to right, #171717, #131314);
color: white;
padding: 20px 0;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
animation: slideDown 1s ease forwards;
}
@keyframes slideDown {
from { transform: translateY(-100%); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1000px;
margin: auto;
padding: 0 20px;
}
.nav-links {
list-style: none;
display: flex;
gap: 20px;
}
.nav-links li a {
color: white;
text-decoration: none;
font-weight: bold;
padding: 8px 14px;
border-radius: 20px;
transition: 0.3s;
}
.nav-links li a:hover {
background: rgba(255,255,255,0.2);
box-shadow: 0 0 8px #fff;
}
/* Sections */
section {
max-width: 1000px;
margin: auto;
padding: 80px 20px;
opacity: 0;
transform: translateY(40px);
transition: all 0.8s ease-out;
}
section.visible {
opacity: 1;
transform: translateY(0);
}
h2 {
font-size: 2.2rem;
margin-bottom: 20px;
color: #333;
}
/* Project Cards */
.project-list {
display: grid;
gap: 25px;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.project {
background: #fff;
padding: 20px;
border-radius: 10px;
border: 1px solid #eee;
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
transition: 0.4s;
}
.project:hover {
transform: scale(1.03);
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
/* Skill Chips */
.skills {
display: flex;
flex-wrap: wrap;
gap: 15px;
}
.skills li {
background: #dfe1e3;
color: #3c3c3c;
padding: 10px 18px;
border-radius: 25px;
font-weight: 500;
animation: popIn 0.6s ease-in;
}
@keyframes popIn {
from { transform: scale(0.8); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}
/* Contact */
#contact a {
color: #0d0d0d;
text-decoration: none;
}
#contact a:hover {
text-decoration: underline;
}
/* Footer */
footer {
background: #222;
color: white;
text-align: center;
padding: 20px 0;
margin-top: 40px;
}