-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgroups.html
More file actions
181 lines (156 loc) · 4.46 KB
/
Copy pathgroups.html
File metadata and controls
181 lines (156 loc) · 4.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Reforestation Groups - Ecoshield</title>
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap"
rel="stylesheet"
/>
<style>
body {
font-family: "Poppins", sans-serif;
margin: 0;
padding: 0;
text-align: center;
background: linear-gradient(to right, #1e3c72, #2a5298);
color: white;
animation: fadeIn 1.5s ease-in-out;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
background: linear-gradient(to right, #16222a, #3a6073);
padding: 15px 5%;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
position: sticky;
top: 0;
z-index: 1000;
}
.logo {
font-size: 26px;
font-weight: 700;
color: #27ae60;
transition: transform 0.3s ease-in-out;
}
.logo:hover {
transform: scale(1.1);
}
nav ul {
display: flex;
list-style: none;
margin: 0;
padding: 0;
}
nav ul li {
margin-left: 20px;
}
nav ul li a {
color: white;
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease-in-out;
padding: 8px 12px;
}
nav ul li a:hover {
color: #27ae60;
background: rgba(255, 255, 255, 0.1);
border-radius: 5px;
}
#groups-container {
width: 70%;
margin: 20px auto;
padding: 15px;
background: rgba(255, 255, 255, 0.9);
border-radius: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
color: black;
}
#groups-list {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
margin-top: 15px;
}
.group-card {
background: white;
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
padding: 15px;
width: 75%;
text-align: center;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.group-card:hover {
transform: translateY(-5px) scale(1.02);
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}
.group-card img {
width: 100%;
border-radius: 8px;
transition: transform 0.3s ease-in-out;
}
.group-card:hover img {
transform: scale(1.05);
}
button {
padding: 8px;
margin: 5px;
border: none;
cursor: pointer;
border-radius: 5px;
font-weight: bold;
transition: all 0.3s ease-in-out;
}
.donate-btn {
background: #e74c3c;
color: white;
}
.donate-btn:hover {
background: #c0392b;
transform: scale(1.05);
}
</style>
</head>
<body>
<header>
<nav>
<div class="logo">Ecoshield</div>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="map.html">Deforestation Map</a></li>
<li><a href="payment.html">Donate</a></li>
<li><a href="news.html">News</a></li>
<li><a href="aboutus.html">About us</a></li>
</ul>
</nav>
</header>
<section id="groups-container">
<h2>Reforestation Groups & Crowdfunding</h2>
<div id="groups-list">
<div class="group-card">
<img
src="The Sundarban Mangrove Forest_ Everything you need to know.jpg"
alt="Forest Restoration"
/>
<h3>Green Warriors</h3>
<p>Focused on restoring forests in Sundarbans.</p>
<button class="donate-btn" onclick="location.href='payment.html'">
Donate
</button>
</div>
<div class="group-card">
<img src="Malshej Ghat.jpg" alt="Tree Plantation" />
<h3>Eco Defenders</h3>
<p>Working on tree plantation in Western Ghats.</p>
<button class="donate-btn" onclick="location.href='payment.html'">
Donate
</button>
</div>
</div>
</section>
</body>
</html>