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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
</html>
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
6 |
+
<title>Farmers Training</title>
|
7 |
+
<style>
|
8 |
+
/* Global Styles */
|
9 |
+
* {
|
10 |
+
margin: 0;
|
11 |
+
padding: 0;
|
12 |
+
box-sizing: border-box;
|
13 |
+
font-family: Arial, sans-serif;
|
14 |
+
}
|
15 |
+
body {
|
16 |
+
background: #f4f4f4;
|
17 |
+
color: #333;
|
18 |
+
line-height: 1.6;
|
19 |
+
}
|
20 |
+
/* Header */
|
21 |
+
header {
|
22 |
+
background: #2e7d32;
|
23 |
+
color: #fff;
|
24 |
+
padding: 20px 40px;
|
25 |
+
display: flex;
|
26 |
+
align-items: center;
|
27 |
+
justify-content: space-between;
|
28 |
+
}
|
29 |
+
header h1 {
|
30 |
+
font-size: 2rem;
|
31 |
+
}
|
32 |
+
.search-container {
|
33 |
+
position: relative;
|
34 |
+
}
|
35 |
+
.search-container input[type="text"] {
|
36 |
+
padding: 8px 12px;
|
37 |
+
border: none;
|
38 |
+
border-radius: 20px;
|
39 |
+
width: 200px;
|
40 |
+
outline: none;
|
41 |
+
transition: width 0.3s ease;
|
42 |
+
}
|
43 |
+
.search-container input[type="text"]:focus {
|
44 |
+
width: 250px;
|
45 |
+
}
|
46 |
+
/* Video Grid */
|
47 |
+
.video-grid {
|
48 |
+
display: grid;
|
49 |
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
50 |
+
gap: 20px;
|
51 |
+
padding: 20px 40px;
|
52 |
+
}
|
53 |
+
.card {
|
54 |
+
background: #fff;
|
55 |
+
border-radius: 10px;
|
56 |
+
overflow: hidden;
|
57 |
+
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
58 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
59 |
+
opacity: 0;
|
60 |
+
transform: translateY(20px);
|
61 |
+
animation: fadeInUp 0.5s forwards;
|
62 |
+
}
|
63 |
+
.card:nth-child(odd) {
|
64 |
+
animation-delay: 0.1s;
|
65 |
+
}
|
66 |
+
.card:nth-child(even) {
|
67 |
+
animation-delay: 0.2s;
|
68 |
+
}
|
69 |
+
.card:hover {
|
70 |
+
transform: scale(1.03);
|
71 |
+
box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
|
72 |
+
}
|
73 |
+
.card iframe {
|
74 |
+
width: 100%;
|
75 |
+
height: 200px;
|
76 |
+
border: none;
|
77 |
+
}
|
78 |
+
.card-content {
|
79 |
+
padding: 15px;
|
80 |
+
}
|
81 |
+
.card-content h3 {
|
82 |
+
margin-bottom: 10px;
|
83 |
+
font-size: 1.2rem;
|
84 |
+
color: #2e7d32;
|
85 |
+
}
|
86 |
+
.card-content p {
|
87 |
+
font-size: 0.95rem;
|
88 |
+
color: #666;
|
89 |
+
}
|
90 |
+
@keyframes fadeInUp {
|
91 |
+
to {
|
92 |
+
opacity: 1;
|
93 |
+
transform: translateY(0);
|
94 |
+
}
|
95 |
+
}
|
96 |
+
</style>
|
97 |
+
</head>
|
98 |
+
<body>
|
99 |
+
|
100 |
+
<header>
|
101 |
+
<h1>Farmers Training</h1>
|
102 |
+
<div class="search-container">
|
103 |
+
<input type="text" placeholder="Search...">
|
104 |
+
</div>
|
105 |
+
</header>
|
106 |
+
|
107 |
+
<main>
|
108 |
+
<div class="video-grid">
|
109 |
+
<!-- Card 1 -->
|
110 |
+
<div class="card">
|
111 |
+
<iframe src="https://www.youtube.com/embed/XsLIkggkcw4" allowfullscreen></iframe>
|
112 |
+
<div class="card-content">
|
113 |
+
<h3>Farming Techniques 101</h3>
|
114 |
+
<p>A quick overview of modern farming techniques to boost productivity.</p>
|
115 |
+
</div>
|
116 |
+
</div>
|
117 |
+
<!-- Card 2 -->
|
118 |
+
<div class="card">
|
119 |
+
<iframe src="https://www.youtube.com/embed/QxK4YbPrWXk" allowfullscreen></iframe>
|
120 |
+
<div class="card-content">
|
121 |
+
<h3>Organic Farming</h3>
|
122 |
+
<p>Learn how to switch to organic methods for sustainable agriculture.</p>
|
123 |
+
</div>
|
124 |
+
</div>
|
125 |
+
<!-- Card 3 -->
|
126 |
+
<div class="card">
|
127 |
+
<iframe src="https://www.youtube.com/embed/Z9HAy9EYKKs" allowfullscreen></iframe>
|
128 |
+
<div class="card-content">
|
129 |
+
<h3>Irrigation Systems</h3>
|
130 |
+
<p>Explore different irrigation systems and their benefits.</p>
|
131 |
+
</div>
|
132 |
+
</div>
|
133 |
+
<!-- Card 4 -->
|
134 |
+
<div class="card">
|
135 |
+
<iframe src="https://www.youtube.com/embed/XeNA6XdMoF8" allowfullscreen></iframe>
|
136 |
+
<div class="card-content">
|
137 |
+
<h3>Crop Rotation Strategies</h3>
|
138 |
+
<p>Understanding the importance of crop rotation for soil health.</p>
|
139 |
+
</div>
|
140 |
+
</div>
|
141 |
+
<!-- Card 5 -->
|
142 |
+
<div class="card">
|
143 |
+
<iframe src="https://www.youtube.com/embed/L14woJZEJnk" allowfullscreen></iframe>
|
144 |
+
<div class="card-content">
|
145 |
+
<h3>Soil Fertility</h3>
|
146 |
+
<p>Tips to improve soil fertility using natural and chemical methods.</p>
|
147 |
+
</div>
|
148 |
+
</div>
|
149 |
+
<!-- Card 6 -->
|
150 |
+
<div class="card">
|
151 |
+
<iframe src="https://www.youtube.com/embed/TfiWMGrRU7w" allowfullscreen></iframe>
|
152 |
+
<div class="card-content">
|
153 |
+
<h3>Modern Tractor Use</h3>
|
154 |
+
<p>Learn about the latest tractors and machinery for farming.</p>
|
155 |
+
</div>
|
156 |
+
</div>
|
157 |
+
<!-- Card 7 -->
|
158 |
+
<div class="card">
|
159 |
+
<iframe src="https://www.youtube.com/embed/_tijHjup-gM" allowfullscreen></iframe>
|
160 |
+
<div class="card-content">
|
161 |
+
<h3>Precision Agriculture</h3>
|
162 |
+
<p>Using technology to optimize farm production and reduce waste.</p>
|
163 |
+
</div>
|
164 |
+
</div>
|
165 |
+
<!-- Card 8 -->
|
166 |
+
<div class="card">
|
167 |
+
<iframe src="https://www.youtube.com/embed/dmThw7TyutA" allowfullscreen></iframe>
|
168 |
+
<div class="card-content">
|
169 |
+
<h3>Farm Safety Tips</h3>
|
170 |
+
<p>Essential safety guidelines to protect yourself on the farm.</p>
|
171 |
+
</div>
|
172 |
+
</div>
|
173 |
+
<!-- Card 9 -->
|
174 |
+
<div class="card">
|
175 |
+
<iframe src="https://www.youtube.com/embed/eQSNKrigiOM" allowfullscreen></iframe>
|
176 |
+
<div class="card-content">
|
177 |
+
<h3>Greenhouse Management</h3>
|
178 |
+
<p>Learn how to manage greenhouses for year-round farming.</p>
|
179 |
+
</div>
|
180 |
+
</div>
|
181 |
+
<!-- Card 10 -->
|
182 |
+
<div class="card">
|
183 |
+
<iframe src="https://www.youtube.com/embed/xW50iMVzo2k" allowfullscreen></iframe>
|
184 |
+
<div class="card-content">
|
185 |
+
<h3>Farm Equipment Maintenance</h3>
|
186 |
+
<p>Maintenance tips to keep your farm equipment running smoothly.</p>
|
187 |
+
</div>
|
188 |
+
</div>
|
189 |
+
<!-- Card 11 -->
|
190 |
+
<div class="card">
|
191 |
+
<iframe src="https://www.youtube.com/embed/AzDWmpVOk5I" allowfullscreen></iframe>
|
192 |
+
<div class="card-content">
|
193 |
+
<h3>Livestock Management</h3>
|
194 |
+
<p>Best practices for raising and caring for livestock.</p>
|
195 |
+
</div>
|
196 |
+
</div>
|
197 |
+
<!-- Card 12 -->
|
198 |
+
<div class="card">
|
199 |
+
<iframe src="https://www.youtube.com/embed/CIVfSXoTsyk" allowfullscreen></iframe>
|
200 |
+
<div class="card-content">
|
201 |
+
<h3>Organic Pesticides</h3>
|
202 |
+
<p>How to make and use organic pesticides for crop protection.</p>
|
203 |
+
</div>
|
204 |
+
</div>
|
205 |
+
<!-- Card 13 -->
|
206 |
+
<div class="card">
|
207 |
+
<iframe src="https://www.youtube.com/embed/Ltc4ZzQN_vE" allowfullscreen></iframe>
|
208 |
+
<div class="card-content">
|
209 |
+
<h3>Sustainable Farming</h3>
|
210 |
+
<p>Steps toward a sustainable and eco-friendly farm operation.</p>
|
211 |
+
</div>
|
212 |
+
</div>
|
213 |
+
<!-- Card 14 -->
|
214 |
+
<div class="card">
|
215 |
+
<iframe src="https://www.youtube.com/embed/ttBywb7DwSo" allowfullscreen></iframe>
|
216 |
+
<div class="card-content">
|
217 |
+
<h3>Farm Budgeting</h3>
|
218 |
+
<p>Managing finances and budgeting effectively on the farm.</p>
|
219 |
+
</div>
|
220 |
+
</div>
|
221 |
+
<!-- Card 15 -->
|
222 |
+
<div class="card">
|
223 |
+
<iframe src="https://www.youtube.com/embed/Ov3tMgej808" allowfullscreen></iframe>
|
224 |
+
<div class="card-content">
|
225 |
+
<h3>Advanced Farming Tools</h3>
|
226 |
+
<p>Explore the latest tools and technology transforming farming.</p>
|
227 |
+
</div>
|
228 |
+
</div>
|
229 |
+
</div>
|
230 |
+
</main>
|
231 |
+
|
232 |
+
<script>
|
233 |
+
const searchInput = document.querySelector('.search-container input[type="text"]');
|
234 |
+
const cards = document.querySelectorAll('.card');
|
235 |
+
|
236 |
+
searchInput.addEventListener('input', function() {
|
237 |
+
const searchTerm = searchInput.value.toLowerCase();
|
238 |
+
cards.forEach(card => {
|
239 |
+
const title = card.querySelector('h3').textContent.toLowerCase();
|
240 |
+
const description = card.querySelector('p').textContent.toLowerCase();
|
241 |
+
if (title.includes(searchTerm) || description.includes(searchTerm)) {
|
242 |
+
card.style.display = 'block';
|
243 |
+
} else {
|
244 |
+
card.style.display = 'none';
|
245 |
+
}
|
246 |
+
});
|
247 |
+
});
|
248 |
+
</script>
|
249 |
+
|
250 |
+
</body>
|
251 |
</html>
|