-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathstyles.css
More file actions
97 lines (82 loc) · 1.21 KB
/
styles.css
File metadata and controls
97 lines (82 loc) · 1.21 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', sans-serif;
}
body {
background: #506595;
color: rgb(246, 246, 242);
line-height: 1.6;
}
/* NAVBAR */
header {
background: #020617;
padding: 15px 50px;
position: sticky;
top: 0;
z-index: 100;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
nav ul {
display: flex;
gap: 25px;
list-style: none;
}
nav a {
color: white;
text-decoration: none;
transition: 0.3s;
}
nav a:hover {
color: #29a2d5;
}
/* HERO */
.hero {
text-align: center;
padding: 80px 20px;
}
.profile-img {
width: 160px;
height: 160px;
object-fit: cover;
border-radius: 50%;
margin-bottom: 25px;
border: 5px solid #1da9db;
box-shadow: 0 0 25px rgba(65, 137, 168, 0.6);
transition: 0.3s;
}
.profile-img:hover {
transform: scale(1.05);
}
/* SECTIONS */
section {
padding: 60px 80px;
}
h2 {
margin-bottom: 20px;
color: #38bdf8;
}
/* CARDS */
.card {
background: #1e293b;
padding: 25px;
margin-bottom: 20px;
border-radius: 12px;
transition: 0.3s;
}
.card:hover {
transform: translateY(-5px);
}
/* LINKS */
a {
color: #38bdf8;
}
/* CONTACT */
#contact {
text-align: center;
}