forked from anuragverma108/WildGuard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html
339 lines (296 loc) · 11.4 KB
/
about.html
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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./assets/css/about.css">
<link href="https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Roboto:wght@400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="about.css">
<title>WildGuard - About Us</title>
<style>
/* General Reset and Box Sizing */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
background-color: #f2f5f1;
color: #333;
line-height: 1.6;
}
h2 {
font-family: 'Merriweather', serif;
font-size: 2.5rem;
color: #2d4739;
}
p {
font-size: 1.1rem;
color: #333;
margin-top: 10px;
}
/* Nature-themed Background */
.about-section {
background: url('https://images.pexels.com/photos/1062249/pexels-photo-1062249.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260') no-repeat center center/cover;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
position: relative;
}
.about-overlay {
background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
padding: 40px;
border-radius: 15px;
text-align: center;
}
/* Container */
.container {
width: 90%;
margin: 0 auto;
padding: 50px 0;
}
.row {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 50px;
}
.text-content, .image-content {
flex-basis: 45%;
display: flex;
flex-direction: column;
justify-content: center;
}
.text-content h2 {
font-size: 2rem;
color: #2d4739;
}
/* Image Styling */
.image-content img {
width: 100%;
border-radius: 10px;
transition: transform 0.3s ease-in-out;
}
.image-content img:hover {
transform: scale(1.05); /* Zoom effect on hover */
}
/* Typing effect for about section */
#paragraph1, #paragraph2 {
font-size: 1.2rem;
line-height: 1.8;
opacity: 0.9;
}
/* Responsive Design */
@media (max-width: 768px) {
.row {
flex-direction: column;
}
.text-content, .image-content {
flex-basis: 100%;
margin-bottom: 20px;
}
h2 {
font-size: 2rem;
}
.text-content h2 {
font-size: 1.75rem;
}
}
/* Values Section */
.values-section {
background-color: #fff;
padding: 50px 0;
}
.values-section h2 {
text-align: center;
margin-bottom: 40px;
font-family: 'Merriweather', serif;
font-size: 2.5rem;
color: #2d4739;
}
.value-box {
display: flex;
justify-content: space-between;
margin-bottom: 30px;
}
.value-box-center {
display: flex;
justify-content: center; /* Center the third image */
margin-bottom: 30px;
}
.value-item {
flex-basis: 48%; /* Make both items take up roughly half the container's width */
text-align: center;
}
.value-item img {
width: 100%;
height: auto;
max-width: 500px; /* Adjust the maximum width */
margin-bottom: 20px;
border-radius: 10px;
transition: transform 0.3s ease-in-out;
}
.value-item img:hover {
transform: scale(1.05); /* Zoom effect on hover */
}
/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
.value-box {
flex-direction: column;
align-items: center;
}
.value-item {
flex-basis: 100%;
margin-bottom: 20px;
}
.value-box-center {
margin-top: 20px;
}
.team-member {
flex-basis: 45%;
}
}
/* Team Section */
.team-section {
background-color: #fff;
padding: 50px 0;
}
.team-section h2 {
text-align: center;
margin-bottom: 40px;
}
.team-members {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.team-member {
flex-basis: 30%;
text-align: center;
margin-bottom: 20px;
}
.team-member img {
width: 100px;
border-radius: 50%;
margin-bottom: 15px;
transition: transform 0.3s ease-in-out;
}
.team-member img:hover {
transform: scale(1.1); /* Zoom effect on hover */
}
</style>
</head>
<body>
<!-- About Us Section -->
<section id="about" class="about-section">
<div class="about-overlay">
<h2 style="color: white;">About Us</h2>
<p id="paragraph1" style="color: white;"></p> <!-- Empty initially, will be filled by JavaScript -->
<p id="paragraph2" style="color: white;"></p> <!-- Empty initially, will be filled by JavaScript -->
</div>
</section>
<section>
<div class="container">
<!-- Row 1: Vision on the right, Image on the left -->
<div class="row">
<div class="image-content">
<img src="https://images.pexels.com/photos/34231/antler-antler-carrier-fallow-deer-hirsch.jpg?auto=compress&cs=tinysrgb&w=600" alt="Wild Animal">
</div>
<div class="text-content">
<h2>Our Vision</h2>
<p>At WildGuard, we envision a world where wildlife thrives in harmony with human activity. Our efforts are focused on conservation, awareness, and sustainable initiatives that promote the well-being of animals and their habitats. By protecting endangered species and preserving biodiversity, we aim to create a future where every animal has a safe, thriving environment to call home.</p>
</div>
</div>
<!-- Row 2: Mission on the left, Image on the right -->
<div class="row">
<div class="text-content">
<h2>Our Mission</h2>
<p>Our mission is to actively protect wildlife through education, conservation programs, and direct action. We are dedicated to restoring natural ecosystems and advocating for stronger policies that safeguard the most vulnerable species. By partnering with local communities, governments, and global organizations, we work to inspire change and create sustainable solutions for wildlife.</p>
</div>
<div class="image-content">
<img src="https://images.pexels.com/photos/144234/bull-landscape-nature-mammal-144234.jpeg?auto=compress&cs=tinysrgb&w=600" alt="Wild Animal">
</div>
</div>
</div>
</section>
<!-- Core Values Section -->
<section class="values-section">
<div class="container">
<h2>Our Core Values</h2>
<div class="value-box">
<div class="value-item">
<img src="https://as2.ftcdn.net/v2/jpg/05/65/79/53/1000_F_565795322_RZvxdtwV490ARO2AvaFxR9CQamuXVJOB.jpg" alt="Conservation Icon">
<p><strong>Conservation</strong></p>
<p>Protecting and preserving wildlife and their habitats for future generations.</p>
</div>
<div class="value-item">
<img src="assets/images/partner-3.png" alt="Community Icon">
<p><strong>Community</strong></p>
<p>Engaging with local communities to foster understanding and stewardship of the natural world.</p>
</div>
</div>
<div class="value-box-center">
<div class="value-item">
<img src="https://wallpapercave.com/wp/wp8046449.jpg" alt="Sustainability Icon">
<p><strong>Sustainability</strong></p>
<p>Promoting sustainable practices to ensure a balanced coexistence with nature.</p>
</div>
</div>
</div>
</section>
<hr>
<!-- Our Team Section -->
<section class="team-section">
<div class="container">
<h2>Meet Our Team</h2>
<div class="team-members">
<div class="team-member">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Team Member 1">
<h3>John Doe</h3>
<p>Founder & CEO</p>
</div>
<div class="team-member">
<img src="https://randomuser.me/api/portraits/women/45.jpg" alt="Team Member 2">
<h3>Jane Smith</h3>
<p>Lead Biologist</p>
</div>
<div class="team-member">
<img src="https://randomuser.me/api/portraits/men/35.jpg" alt="Team Member 3">
<h3>Mark Allen</h3>
<p>Conservation Officer</p>
</div>
</div>
</div>
</section>
<script>
// Typing effect function
function typeText(element, text, delay = 50) {
let index = 0;
element.innerHTML = '';
element.style.visibility = 'visible'; // Make the paragraph visible once typing starts
const interval = setInterval(() => {
if (index < text.length) {
element.innerHTML += text.charAt(index);
index++;
} else {
clearInterval(interval);
}
}, delay);
}
// Call typing effect for each paragraph
document.addEventListener("DOMContentLoaded", function () {
const paragraph1 = document.getElementById("paragraph1");
const paragraph2 = document.getElementById("paragraph2");
// Text content to be typed out
const text1 = "At WildGuard, we are passionate about protecting and preserving the world’s wildlife. Our mission is simple: to conserve natural habitats, protect endangered species, and promote a sustainable coexistence with nature.";
const text2 = "By supporting communities, engaging in conservation initiatives, and advocating for environmental responsibility, we aim to create a future where nature and humanity thrive together.";
// Start typing effect
typeText(paragraph1, text1);
setTimeout(() => typeText(paragraph2, text2), text1.length * 50 + 1000); // Delay second paragraph
});
</script>
</body>
</html>