-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathteam.css
More file actions
108 lines (91 loc) · 1.52 KB
/
team.css
File metadata and controls
108 lines (91 loc) · 1.52 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
/* Resetting margins and paddings */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Arial", sans-serif;
background-color: #ffffff;
color: #333;
}
html {
scroll-behavior: smooth;
}
header {
padding: 20px;
text-align: left;
}
.logo {
width: 150px;
}
.team-section {
text-align: center;
padding: 20px;
}
.team-section h1 {
font-size: 36px;
margin-bottom: 40px;
}
.team-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
.team-card {
background-color: #fff;
border-radius: 10px;
overflow: hidden;
width: 250px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.team-card img {
width: 100%;
height: 250px;
object-fit: cover;
}
.team-card h2 {
font-size: 22px;
margin: 15px 0;
}
.team-card p {
font-size: 18px;
margin-bottom: 20px;
color: #777;
}
.team-card:hover {
transform: scale(1.05);
}
/* Footer with Back to Home button */
footer {
margin-top: 50px;
text-align: center;
padding-bottom: 30px;
}
.back-button {
background-color: #007bff;
color: white;
padding: 15px 30px;
border: none;
border-radius: 50px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.back-button:hover {
background-color: #0056b3;
transform: scale(1.1);
}
/* Responsive Design */
@media (max-width: 768px) {
.team-container {
flex-direction: column;
align-items: center;
}
.team-card {
width: 80%;
}
}