/* Basic styling for the entire page */
body {
    font-family: Arial, sans-serif; /* Set the font to Arial, fallback to sans-serif */
    background-color: #f4f4f9; /* Light grey background color */
    color: #333; /* Dark grey text color for readability */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Make sure body takes up the full height of the viewport */
}

/* Ensure that the main content takes up available space */
main {
    flex: 1;
}

/* Style for the header */
.header {
    background-color: #4CAF50; /* Green background */
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

/* Style for the navbar container */
nav {
    position: absolute;
    top: 50%; /* Center vertically relative to the header */
    right: 20px; /* Align to the right with some padding */
    transform: translateY(-50%); /* Adjust to center vertically */
}

/* Style for the navbar list */
.navbar {
    list-style-type: none; /* Remove bullets */
    margin: 0;
    padding: 0;
    display: flex; /* Display links in one line */
}

/* Style for navbar list items */
.navbar li {
    margin-left: 20px; /* Space between items */
}

/* Style for navbar links */
.navbar li a {
    color: white;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    font-weight: bold; /* Make the links bold */
}

/* Navbar link hover effect */
.navbar li a:hover {
    background-color: #45a049; /* Change background on hover */
    border-radius: 5px; /* Slightly round the edges */
}


/* Remove margin for h1 elements */
h1 {
    margin: 0; /* Remove default margin */
}

/* Styling for the container holding details */
.details-container {
    width: 50%; /* Set the width to 50% of the parent container */
    margin: 20px auto; /* Center the container and add vertical margins */
    padding: 20px; /* Add padding inside the container */
    background-color: white; /* White background for the container */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow effect around the container */
    border-radius: 10px; /* Rounded corners */
    margin-bottom: 20px; /* Add space below each details container */
}

/* Styling for headings inside the details container */
.details-container h3 {
    margin-top: 0; /* Remove top margin for headings */
    color: #4CAF50; /* Green color for headings */
}

/* Styling for paragraphs and unordered lists inside the details container */
.details-container p, .details-container ul {
    margin: 10px 0; /* Add vertical margins */
    font-size: 1.1em; /* Slightly larger font size for readability */
}

/* Styling for unordered lists inside the details container */
.details-container ul {
    list-style-type: none; /* Remove default list bullets */
    padding: 0; /* Remove default padding */
}

/* Styling for list items inside unordered lists */
.details-container ul li {
    margin: 5px 0; /* Add vertical margins between list items */
}

/* Specific styling for the footer elements */
footer {
    background-color: #4CAF50; /* Green background color */
    color: white; /* White text color */
    text-align: center; /* Center align the text */
    padding: 10px; /* Add padding inside the footer */
    position: relative; /* Use relative positioning */
    bottom: 0; /* Ensure footer stays at the bottom */
    width: 100%; /* Full width of the viewport */
    margin-top: auto; /* Push footer to the bottom of the page */
}
