<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>The Solar System</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
            line-height: 1.6;
        }
        header {
            background-color: #4CAF50;
            color: white;
            padding: 10px 20px;
            text-align: center;
        }
        nav ul {
            list-style: none;
            padding: 0;
            text-align: center;
            margin: 10px 0;
        }
        nav ul li {
            display: inline;
            margin: 0 15px;
        }
        nav ul li a {
            text-decoration: none;
            color: #4CAF50;
        }
        main {
            margin-top: 20px;
        }
        footer {
            margin-top: 20px;
            background-color: #f1f1f1;
            padding: 10px;
            text-align: center;
            font-size: 0.9em;
        }
    </style>
</head>
<body>
    <header>
        <h1>Exploring the Solar System</h1>
    </header>
    <nav>
        <ul>
            <li><a href="#sun">The Sun</a></li>
            <li><a href="#planets">Planets</a></li>
            <li><a href="#fun-facts">Fun Facts</a></li>
        </ul>
    </nav>
    <main>
        <section id="sun">
            <h2>The Sun</h2>
            <p>The Sun is the center of the solar system and the primary source of energy for life on Earth. It is a giant ball of hot plasma and accounts for 99.86% of the solar system's mass.</p>
        </section>
        <section id="planets">
            <h2>The Planets</h2>
            <ul>
                <li><strong>Mercury:</strong> The smallest planet, closest to the Sun.</li>
                <li><strong>Venus:</strong> Known as Earth's twin due to its similar size.</li>
                <li><strong>Earth:</strong> The only planet known to support life.</li>
                <li><strong>Mars:</strong> Known as the Red Planet due to its iron oxide-rich surface.</li>
                <li><strong>Jupiter:</strong> The largest planet, famous for its Great Red Spot.</li>
                <li><strong>Saturn:</strong> Known for its stunning ring system.</li>
                <li><strong>Uranus:</strong> A gas giant with a bluish color due to methane in its atmosphere.</li>
                <li><strong>Neptune:</strong> The farthest planet, known for its deep blue color.</li>
            </ul>
        </section>
        <section id="fun-facts">
            <h2>Fun Facts</h2>
            <p>Did you know?</p>
            <ul>
                <li>A day on Venus is longer than a year on Venus!</li>
                <li>Jupiter has over 75 moons.</li>
                <li>Pluto was reclassified as a "dwarf planet" in 2006.</li>
                <li>Saturn's rings are made mostly of ice particles, with some rock debris.</li>
            </ul>
        </section>
    </main>
    <footer>
        <p>&copy; 2024 Space Enthusiasts. All rights reserved.</p>
    </footer>
</body>
</html>
