Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Fruits | Organic vs Non-Organic</title> | |
<link | |
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" | |
rel="stylesheet" | |
/> | |
<link rel="stylesheet" href="style.css" /> | |
<script src="script.js"></script> | |
</head> | |
<body> | |
<!-- Header & Navigation --> | |
<header> | |
<nav> | |
<div class="logo"> | |
<a href="index.html">NatureCompare</a> | |
</div> | |
<div class="hamburger"> | |
<span></span> | |
<span></span> | |
<span></span> | |
</div> | |
<ul class="nav-links"> | |
<li><a href="index.html">Home</a></li> | |
<li><a href="fruits.html" class="active">Fruits</a></li> | |
<li><a href="vegetables.html">Vegetables</a></li> | |
<li><a href="about.html">About</a></li> | |
<li><a href="contact.html">Contact</a></li> | |
<li><button id="theme-toggle">🌓</button></li> | |
</ul> | |
</nav> | |
</header> | |
<main> | |
<!-- Fruits Header Section --> | |
<section class="fruits-header"> | |
<h1>Explore Fruits</h1> | |
<p>Click on a fruit to view its varieties and benefits.</p> | |
</section> | |
<!-- Categories & Card Section --> | |
<section id="categories" class="categories"> | |
<div class="category-cards"> | |
<a href="fruits_list/apple.html" class="card"> | |
<div class="card-image" style="background-image: url('https://th.bing.com/th/id/OIP.1y3_ZSNeXCbqjWFFGocLWAHaE3?pid=ImgDet&w=178&h=117&c=7&dpr=1.5');"> | |
<div class="card-overlay"></div> | |
</div> | |
<div class="card-content"> | |
<h3>Apple</h3> | |
<p>Discover different apple varieties and their benefits</p> | |
</div> | |
</a> | |
<a href="fruits_list/banana.html" class="card"> | |
<div class="card-image" style="background-image: url('https://m.media-amazon.com/images/I/51ebZJ+DR4L._SL1500_.jpg');"> | |
<div class="card-overlay"></div> | |
</div> | |
<div class="card-content"> | |
<h3>Banana</h3> | |
<p>Explore banana types and their nutritional value</p> | |
</div> | |
</a> | |
<a href="fruits_list/orange.html" class="card"> | |
<div class="card-image" style="background-image: url('https://i.pinimg.com/originals/7a/bc/56/7abc56bd727d28f14f21e267815f9489.jpg');"> | |
<div class="card-overlay"></div> | |
</div> | |
<div class="card-content"> | |
<h3>Orange</h3> | |
<p>Learn about different orange varieties and their uses</p> | |
</div> | |
</a> | |
<a href="fruits_list/mango.html" class="card"> | |
<div class="card-image" style="background-image: url('https://cdn.pixabay.com/photo/2022/06/16/07/45/fruit-7265287_1280.jpg');"> | |
<div class="card-overlay"></div> | |
</div> | |
<div class="card-content"> | |
<h3>Mango</h3> | |
<p>Explore mango varieties and their delicious flavors</p> | |
</div> | |
</a> | |
<a href="fruits_list/strawberry.html" class="card"> | |
<div class="card-image" style="background-image: url('https://wallpapercave.com/wp/wp4079878.jpg');"> | |
<div class="card-overlay"></div> | |
</div> | |
<div class="card-content"> | |
<h3>Strawberry</h3> | |
<p>Sweet, juicy, and packed with vitamins</p> | |
</div> | |
</a> | |
<a href="fruits_list/grapes.html" class="card"> | |
<div class="card-image" style="background-image: url('https://upload.wikimedia.org/wikipedia/commons/3/36/Kyoho-grape.jpg');"> | |
<div class="card-overlay"></div> | |
</div> | |
<div class="card-content"> | |
<h3>Grapes</h3> | |
<p>Perfect for snacking and making wine</p> | |
</div> | |
</a> | |
<a href="fruits_list/pineapple.html" class="card"> | |
<div class="card-image" style="background-image: url('https://img.freepik.com/premium-photo/bunch-pineapples-pineapple-stand_958808-5941.jpg');"> | |
<div class="card-overlay"></div> | |
</div> | |
<div class="card-content"> | |
<h3>Pineapple</h3> | |
<p>Tropical fruit known for its sweet and tangy taste</p> | |
</div> | |
</a> | |
<a href="fruits_list/watermelon.html" class="card"> | |
<div class="card-image" style="background-image: url('https://www.thespruce.com/thmb/pjDqYUU4EG1y_fNU4x23WCbqLXA=/4238x2827/filters:fill(auto,1)/when-to-harvest-watermelon-2539591-04-f7f99d3a73d846cb9d453f8a6f0cc7ee.jpg');"> | |
<div class="card-overlay"></div> | |
</div> | |
<div class="card-content"> | |
<h3>Watermelon</h3> | |
<p>Refreshing and hydrating summer fruit</p> | |
</div> | |
</a> | |
</div> | |
</section> | |
</main> | |
<style> | |
/* Footer Styles */ | |
.footer { | |
background-color: white; | |
border-radius: 0.5rem; | |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
margin: 1rem; | |
padding: 1.5rem; | |
transition: background-color 0.3s ease, color 0.3s ease; | |
} | |
.footer-content { | |
width: 100%; | |
max-width: 1200px; | |
margin: 0 auto; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
} | |
.footer-links { | |
display: flex; | |
flex-wrap: wrap; | |
justify-content: center; | |
font-size: 0.875rem; | |
color: #4a5568; | |
margin: 0; | |
padding: 0; | |
list-style-type: none; | |
} | |
.footer-links li { | |
margin-right: 1rem; | |
} | |
.footer-links a { | |
text-decoration: none; | |
color: inherit; | |
transition: color 0.3s ease; | |
} | |
.footer-divider { | |
margin-top: 1.5rem; | |
margin-bottom: 1.5rem; | |
border-color: #e2e8f0; | |
} | |
.footer-credit { | |
text-align: center; | |
font-size: 0.875rem; | |
color: #6b7280; | |
} | |
.footer-credit a { | |
text-decoration: none; | |
color: #4a5568; | |
} | |
/* Dark Mode Footer Styles */ | |
body.dark .footer { | |
background-color: #333; | |
color: #f1f1f1; | |
} | |
body.dark .footer-links a { | |
color: #f1f1f1; | |
} | |
body.dark .footer-divider { | |
border-color: #555; | |
} | |
body.dark .footer-credit a { | |
color: #f1f1f1; | |
} | |
</style> | |
<style> | |
/* Footer Styles */ | |
.footer { | |
background-color: white; | |
border-radius: 0.5rem; | |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
margin: 1rem; | |
padding: 1.5rem; | |
transition: background-color 0.3s ease, color 0.3s ease; | |
} | |
.footer-content { | |
width: 100%; | |
max-width: 1200px; | |
margin: 0 auto; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
} | |
.footer-links { | |
display: flex; | |
flex-wrap: wrap; | |
justify-content: center; | |
font-size: 0.875rem; | |
color: #4a5568; | |
margin: 0; | |
padding: 0; | |
list-style-type: none; | |
} | |
.footer-links li { | |
margin-right: 1rem; | |
} | |
.footer-links a { | |
text-decoration: none; | |
color: inherit; | |
transition: color 0.3s ease; | |
} | |
.footer-divider { | |
margin-top: 1.5rem; | |
margin-bottom: 1.5rem; | |
border-color: #e2e8f0; | |
} | |
.footer-credit { | |
text-align: center; | |
font-size: 0.875rem; | |
color: #6b7280; | |
} | |
.footer-credit a { | |
text-decoration: none; | |
color: #4a5568; | |
} | |
/* Dark Mode Footer Styles */ | |
body.dark .footer { | |
background-color: #333; | |
color: #f1f1f1; | |
} | |
body.dark .footer-links a { | |
color: #f1f1f1; | |
} | |
body.dark .footer-divider { | |
border-color: #555; | |
} | |
body.dark .footer-credit a { | |
color: #f1f1f1; | |
} | |
</style> | |
<footer class="footer"> | |
<div class="footer-content"> | |
<ul class="footer-links"> | |
<li><a href="index.html">Home</a></li> | |
<li><a href="fruits.html">Fruits</a></li> | |
<li><a href="vegetables.html">Vegetables</a></li> | |
<li><a href="about.html">About</a></li> | |
<li><a href="contact.html">Contact</a></li> | |
</ul> | |
</div> | |
<hr class="footer-divider" /> | |
<div class="footer-credit"> | |
<span>© 2025 <a href="#">NatureCompare</a>. All Rights Reserved.</span> | |
</div> | |
</footer> | |
<style> | |
/* Footer Styles */ | |
.footer { | |
background-color: white; | |
border-radius: 0.5rem; | |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
margin: 1rem; | |
padding: 1.5rem; | |
transition: background-color 0.3s ease, color 0.3s ease; | |
} | |
.footer-content { | |
width: 100%; | |
max-width: 1200px; | |
margin: 0 auto; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
} | |
.footer-links { | |
display: flex; | |
flex-wrap: wrap; | |
justify-content: center; | |
font-size: 0.875rem; | |
color: #4a5568; | |
margin: 0; | |
padding: 0; | |
list-style-type: none; | |
} | |
.footer-links li { | |
margin-right: 1rem; | |
} | |
.footer-links a { | |
text-decoration: none; | |
color: inherit; | |
transition: color 0.3s ease; | |
} | |
.footer-divider { | |
margin-top: 1.5rem; | |
margin-bottom: 1.5rem; | |
border-color: #e2e8f0; | |
} | |
.footer-credit { | |
text-align: center; | |
font-size: 0.875rem; | |
color: #6b7280; | |
} | |
.footer-credit a { | |
text-decoration: none; | |
color: #4a5568; | |
} | |
/* Dark Mode Footer Styles */ | |
body.dark .footer { | |
background-color: #333; | |
color: #f1f1f1; | |
} | |
body.dark .footer-links a { | |
color: #f1f1f1; | |
} | |
body.dark .footer-divider { | |
border-color: #555; | |
} | |
body.dark .footer-credit a { | |
color: #f1f1f1; | |
} | |
</style> | |
</body> | |
</html> | |