Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>About Us | NatureCompare</title> | |
<link rel="stylesheet" href="style.css"> | |
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" | |
rel="stylesheet" /> | |
<style> | |
/* General Styles */ | |
body { | |
font-family: 'Poppins', sans-serif; | |
margin: 0; | |
padding: 0; | |
text-align: center; | |
background: #f8f9fa; | |
color: #333; | |
} | |
/* About Us Hero Section */ | |
.about-hero { | |
background: url('https://static.vecteezy.com/system/resources/previews/036/185/881/non_2x/ai-generated-green-soft-background-free-photo.jpg') center/cover no-repeat; | |
height: 60vh; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
position: relative; | |
} | |
.about-overlay { | |
background: rgba(0, 0, 0, 0.5); | |
padding: 20px 40px; | |
border-radius: 10px; | |
} | |
.about-overlay h2 { | |
color: white; | |
font-size: 2.5em; | |
margin: 0; | |
} | |
/* About Us Text */ | |
.about-content { | |
padding: 40px 20px; | |
font-size: 1.2em; | |
max-width: 600px; | |
margin: auto; | |
line-height: 1.6; | |
} | |
/* Dark Mode Navigation Styles */ | |
body.dark nav { | |
background-color: #333; | |
/* Dark background for the navigation bar */ | |
color: #f1f1f1; | |
/* Light text color */ | |
} | |
body.dark nav a { | |
color: #f1f1f1; | |
/* Light text color for links */ | |
} | |
body.dark nav a:hover { | |
color: #4a7c59; | |
/* Highlight color for hovered links */ | |
} | |
body.dark .logo a { | |
color: #f1f1f1; | |
/* Light text color for the logo */ | |
} | |
body.dark .hamburger span { | |
background-color: #f1f1f1; | |
/* Light color for hamburger menu lines */ | |
} | |
</style> | |
<script src="script.js"></script> | |
</head> | |
<body> | |
<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">Fruits</a></li> | |
<li><a href="vegetables.html">Vegetables</a></li> | |
<li><a href="about.html" class="active">About</a></li> | |
<li><a href="contact.html">Contact</a></li> | |
<li><button id="theme-toggle">🌓</button></li> | |
</ul> | |
</nav> | |
</header> | |
<!-- Hero Section with About Us --> | |
<section class="about-hero"> | |
<div class="about-overlay"> | |
<h2>About Us</h2> | |
</div> | |
</section> | |
<!-- About Us Content --> | |
<section class="about-content"> | |
<p>We believe in transparency when it comes to food choices. | |
Our goal is to help you compare organic and hybrid produce | |
with data-backed insights. Make informed decisions for a | |
healthier and sustainable future.</p> | |
</section> | |
<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> |