-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
112 lines (96 loc) · 1.7 KB
/
styles.css
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
body {
font-family: 'Arial', sans-serif;
background-color: #eef2f3;
margin: 0;
padding: 0;
color: #333;
}
header {
background-color: #2b6777;
color: white;
text-align: center;
padding: 30px;
border-bottom: 4px solid #ffcc29;
}
header h1 {
margin: 0;
font-size: 3em;
}
header p {
margin-top: 10px;
font-size: 1.5em;
}
/* Profiles Section */
section.profiles {
display: flex;
justify-content: space-around;
max-width: 1200px;
margin: 40px auto;
gap: 20px;
flex-wrap: wrap;
}
/* Profile Card Styles */
.profile-card {
background-color: white;
padding: 20px;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
text-align: center;
width: 350px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.profile-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.profile-card h2 {
margin: 15px 0 10px;
color: #2b6777;
font-size: 1.8em;
}
.profile-card ul {
list-style: none;
padding-left: 0;
}
.profile-card ul li {
background-color: #dfe4ea;
margin: 8px 0;
padding: 10px;
border-radius: 5px;
font-weight: bold;
}
.round-image {
border-radius: 50%;
width: 160px;
height: 160px;
object-fit: cover;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
margin-bottom: 15px;
}
.description {
margin: 10px 0;
font-size: 0.95em;
color: #666;
}
footer {
text-align: center;
padding: 20px;
background-color: #2b6777;
color: white;
position: relative;
bottom: 0;
width: 100%;
}
footer p {
margin: 0;
}
/* Responsive for mobile */
@media screen and (max-width: 768px) {
section.profiles {
flex-direction: column;
align-items: center;
}
.profile-card {
width: 90%;
}
}