-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathabout.css
More file actions
175 lines (150 loc) · 2.84 KB
/
about.css
File metadata and controls
175 lines (150 loc) · 2.84 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
/* General Reset */
body {
margin: 0;
font-family: 'Poppins', sans-serif;
background-color: #f4f4f4;
color: #ffffff;
}
/* Video Background */
.video-background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: -1;
}
.video-background video {
width: 100%;
height: 100%;
object-fit: cover;
}
/* About Section */
#about {
text-align: center;
padding: 100px 20px;
/* Added padding to prevent overlap with video */
z-index: 1;
/* Ensure content is above the video */
color: white;
text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}
#about h1 {
font-size: 3em;
font-weight: 600;
color: #ffffff;
margin-bottom: 10px;
}
.subtitle {
font-size: 1.2em;
margin-bottom: 40px;
}
/* Profile Container */
.profiles {
display: flex;
justify-content: center;
gap: 30px;
flex-wrap: wrap;
}
.profile {
background: rgba(0, 0, 0, 0.6);
/* Semi-transparent black background */
border: 1px solid #ddd;
border-radius: 20px;
padding: 25px;
width: 280px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.profile:hover {
transform: translateY(-10px);
box-shadow: 5px 30px 30px rgba(4, 12, 248, 0.25);
}
.profile img {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 20px;
border: 3px solid #ffffff;
}
.profile h2 {
font-size: 1.8em;
font-weight: 600;
margin-bottom: 10px;
}
.profile p {
font-size: 1em;
margin-bottom: 10px;
}
.profile .bio {
font-size: 0.9em;
margin-top: 10px;
}
header {
background-color: rgba(0, 0, 0, 0.6);
/* Semi-transparent for a soft overlay */
padding: 15px 20px;
position: fixed;
top: 0;
width: 100%;
z-index: 1;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
color: white;
}
.logo img {
height: 50px;
}
.nav-links {
list-style: none;
display: flex;
gap: 20px;
}
.nav-links li {
font-size: 18px;
}
.nav-links a {
text-decoration: none;
color: #ffffff;
padding: 10px 15px;
transition: all 0.3s;
border-radius: 5px;
}
.nav-links a:hover {
background-color: rgba(255, 255, 255, 0.2);
}
/* Search bar */
.search-bar {
display: flex;
align-items: center;
}
.search-bar input {
padding: 8px 12px;
font-size: 16px;
border: none;
border-radius: 5px 0 0 5px;
outline: none;
}
.search-bar button {
padding: 8px 12px;
font-size: 16px;
background-color: #51762a;
color: white;
border: none;
border-radius: 0 5px 5px 0;
cursor: pointer;
}
.search-bar button:hover {
background-color: #55802a;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}