/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.8; /* Increased line-height for better readability */
    background-color: #f4f4f9;
    color: #333;
    padding: 20px; /* Increased padding for better spacing around content */
}

/* Header */
header {
    text-align: center;
    background: linear-gradient(to right, #ff4500, #ffa500); /* Red to Orange Gradient */
    color: #fff;
    padding: 30px 20px; /* Increased padding for better spacing */
    border-radius: 10px;
    margin-bottom: 30px; /* Added margin to separate header from content */
}

header h1 {
    font-size: 2.2rem; /* Increased font-size for header */
    margin-bottom: 10px;
}

header p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Navigation Bar */
nav ul {
    display: flex;
    justify-content: space-evenly;
    background: #333;
    padding: 15px 0;
    list-style: none;
    border-radius: 5px;
    margin-bottom: 30px; /* Added margin to separate navigation from content */
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem; /* Increased font size for links */
    transition: color 0.3s ease; /* Smooth color change on hover */
}

nav a:hover {
    text-decoration: underline;
    color: #ff4500; /* Change link color on hover for better visibility */
}

/* Main Content */
main {
    margin-top: 20px;
}

article {
    background: #fff;
    margin-bottom: 30px; /* Increased margin to space out content sections */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Enhanced shadow for better depth */
}

article h2 {
    font-size: 1.8rem; /* Increased font size for section headings */
    margin-bottom: 20px; /* Added margin for better spacing */
    color: #ff4500; /* Heading color to match header gradient */
}

article p, article ul, article ol {
    font-size: 1.1rem; /* Increased font size for better readability */
    line-height: 1.8;
    margin-bottom: 20px; /* Added space between paragraphs and lists */
}

article ul, article ol {
    padding-left: 20px;
}

/* Links inside the article */
article a {
    color: #ff4500; /* Color for links within the article */
    text-decoration: none;
}

article a:hover {
    text-decoration: underline;
    color: #ffa500; /* Lighter color on hover for article links */
}

/* Footer */
footer {
    text-align: center;
    margin-top: 50px; /* Added more space from main content */
    padding: 15px;
    background: #333;
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
}

/* Media Queries */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav a {
        padding: 8px 0;
        font-size: 1.1rem;
    }

    article h2 {
        font-size: 1.6rem;
    }

    article p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    nav a {
        font-size: 1rem;
    }

    article h2 {
        font-size: 1.4rem;
    }

    article p {
        font-size: 1rem;
    }
    article img {
    width: 100%;
    border-radius: 5px;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

}
