-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstele.css
More file actions
147 lines (124 loc) · 2.22 KB
/
Copy pathstele.css
File metadata and controls
147 lines (124 loc) · 2.22 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
/* ========== RESET ========== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* ========== BODY ========== */
body {
font-family: 'Segoe UI', sans-serif;
background: #0f172a;
color: #ffffff;
line-height: 1.6;
background-color: black;
}
/* ========== NAVBAR ========== */
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 50px;
background: rgba(0,0,0,0.6);
position: sticky;
top: 0;
backdrop-filter: blur(10px);
}
nav h2 {
color: #38bdf8;
}
nav a {
color: white;
text-decoration: none;
margin-left: 20px;
transition: 0.3s;
}
nav a:hover {
color: #38bdf8;
}
/* ========== HERO SECTION ========== */
.hero {
height: 90vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.hero h1 {
font-size: 3rem;
}
.hero span {
color: #38bdf8;
}
.hero p {
margin-top: 10px;
font-size: 1.2rem;
}
.hero button {
margin-top: 20px;
padding: 10px 25px;
border: none;
background: #38bdf8;
color: black;
font-size: 1rem;
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
.hero button:hover {
background: #0ea5e9;
}
/* ========== SECTIONS ========== */
section {
padding: 60px 50px;
}
/* ========== ABOUT ========== */
.about {
text-align: center;
}
/* ========== PROJECTS ========== */
.projects {
background: #1e293b;
}
.project-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-top: 20px;
}
.card {
background: #0f172a;
padding: 20px;
border-radius: 12px;
flex: 1 1 300px;
transition: 0.3s;
box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.card:hover {
transform: translateY(-10px);
}
/* ========== CONTACT ========== */
.contact {
text-align: center;
}
/* ========== FOOTER ========== */
footer {
text-align: center;
padding: 20px;
background: black;
}
/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
nav {
flex-direction: column;
text-align: center;
}
nav div {
margin-top: 10px;
}
.hero h1 {
font-size: 2rem;
}
section {
padding: 40px 20px;
}
}