Repository navigation
Expand file tree
/
Copy pathdevelopers.css
More file actions
206 lines (176 loc) · 3.79 KB
/
Copy pathdevelopers.css
File metadata and controls
206 lines (176 loc) · 3.79 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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
body {
background-image: url(Images/developerbg.jpg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
color: white;
font-family: 'Arial', sans-serif;
text-align: center;
}
header h1 {
margin-top: 30px;
font-size: 36px;
letter-spacing: 2px;
}
.team-container {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 50px;
gap: 30px;
margin-bottom: 50px;
}
.team-row {
display: flex;
justify-content: center;
gap: 200px;
flex-wrap: wrap;
width: 80%;
}
.team-member {
position: relative;
width: 250px;
height: 350px;
perspective: 1000px; /* Enables 3D effect */
}
/* Flip Card Container */
.card {
width: 100%;
height: 100%;
position: relative;
transform-style: preserve-3d;
transition: transform 0.6s ease-in-out;
}
/* Front and Back of Card */
.front, .back {
position: absolute;
width: 100%;
height: 100%;
border-radius: 15px;
backface-visibility: hidden;
overflow: hidden;
}
.front img, .back img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 15px;
}
/* Back Side */
.back {
transform: rotateY(180deg);
}
/* Flip Effect */
.team-member:hover .card {
transform: rotateY(180deg);
}
/* Overlay for Name & Social Icons */
.overlay {
position: absolute;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
width: 100%;
height: 120px;
transition: height 0.3s ease-in-out;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.team-member:hover .overlay {
height: 150px;
}
.overlay h3 {
font-size: 18px;
margin: 10px 0 5px;
}
.overlay p {
font-size: 14px;
margin-bottom: 10px;
opacity: 0.8;
}
.social-icons a {
color: white;
font-size: 20px;
margin: 0 8px;
transition: color 0.3s ease-in-out;
}
.social-icons a:hover {
color: #ffcc00;
}
/* Responsive Design */
@media (max-width: 768px) {
.team-row {
flex-direction: column;
align-items: center;
}
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 10px ;
margin-top: 0; /* Optional spacing from the main content */
}
footer a {
font-weight: bold; /* Makes the text bold */
color: #ffffff; /* White color for better visibility */
text-decoration: underline; /* Adds an underline to show it's a clickable link */
transition: color 0.3s ease-in-out; /* Smooth color transition on hover */
}
footer a:hover {
color: #ffcc00; /* Changes color to yellow on hover */
}
.navbar{
width: 1200px;
height: 100px;
margin: auto;
}
.icon1{
width: 150px;
float: left;
height: 100px;
}
.logo1 img {
width: 200px;
height: 100%; /* Fill the height of the navbar */
max-height: 100px; /* Optional max height for better scaling */
}
.icon2{
width: 100px;
float: right;
height: 500px;
}
.logo2 img {
width: 200px;
height: 50px; /* Fill the height of the navbar */
}
.menu{
width: 400px;
float: left;
height: 80px;
}
.nav{
float: left;
display: flex;
justify-content: center;
align-items: center;
}
.nav li{
list-style: none;
margin-left: 62px;
margin-top: 27px;
font-size: 14px;
}
.nav li a{
text-decoration: none;
color: white;
font-family: Arial;
font-weight: bold;
transition: 0.4s ease-in-out;
}
.nav li a:hover{
color: #ff7200;
}