/* index.css */

/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000; /* Black background */
    color: #fff; /* White text for contrast */
}

header {
    background-color: #003d00; /* Dark green background */
    padding: 20px;
    border-bottom: 2px solid #004d00; /* Slightly lighter green border */
}

header h1 {
    color: #fff;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 10px; /* Reduced margin for a more compact layout */
}

nav ul li a {
    color: #fff; /* White text for links */
    text-decoration: none;
    font-weight: bold; /* Bold text */
    padding: 10px 15px; /* Add padding for the button effect */
    border: 2px solid #aaffaa; /* Light green border */
    border-radius: 5px; /* Rounded corners for the button */
    background-color: #003d00; /* Dark green background */
    display: inline-block; /* Ensures padding and border are applied properly */
    transition: background-color 0.3s, color 0.3s; /* Smooth transitions for hover effects */
}

nav ul li a:hover {
    color: #000; /* Black text on hover */
    background-color: #aaffaa; /* Light green background on hover */
    border-color: #aaffaa; /* Border color matches background on hover */
}

main {
    padding: 20px;
}

section {
    max-width: 800px;
    margin: 20px auto; /* Center the section */
    padding: 20px;
    background-color: #002200; /* Darker green background for the section */
    border-radius: 8px; /* Rounded corners */
}

section h2 {
    color: #aaffaa; /* Light green for headings */
    margin-bottom: 10px;
}

section p {
    margin-bottom: 15px;
}

footer {
    background-color: #003d00; /* Dark green background */
    padding: 10px;
    text-align: center;
    border-top: 2px solid #004d00; /* Slightly lighter green border */
    position: relative; /* Changed to relative to position footer properly */
    width: 100%;
    bottom: 0;
}

footer p {
    color: #fff;
    margin: 0;
}
