/* Base styling for HTML and body */
html, body {
    font-family: Arial, sans-serif; /* Set the font to Arial, fallback to sans-serif */
    height: 100%; /* Make sure the body takes up the full height of the viewport */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    background-color: #f4f4f4; /* Light background for better contrast */
}

/* Ensure that the body uses flexbox layout */
body {
    display: flex;
    flex-direction: column; /* Arrange children elements in a column */
}

/* 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 h2 elements */
h2 {
    margin: 1em 0; /* Add vertical margin */
}

main {
    flex: 1; /* Allow the main content to take up the available space */
    padding: 20px; /* Add padding to the main content */
    margin: 0 auto; /* Center the main content */
    margin-bottom: 2rem;
    max-width: 1200px; /* Limit the maximum width */
    background-color: #fff; /* White background for main content */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a light shadow for depth */
    border-radius: 5px; /* Round the corners */
}

/* Styling the sections */
.definitions-container {
    margin-bottom: 20px;
}

.definitions-container h2 {
    color: #333; /* Dark text color for headings */
    border-bottom: 2px solid #4CAF50; /* Green underline */
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Styling the unordered list */
.definitions-container ul {
    list-style: none; /* Remove default list styling */
    padding-left: 0;
}

.definitions-container ul li {
    background-color: #e0f7fa; /* Light blue background */
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px; /* Slightly round the corners */
}

/* Table styling */
table {
    width: 100%; /* Make the table take up the full width */
    border-collapse: collapse; /* Collapse borders into a single line */
    margin-top: 20px; /* Add space above the table */
}

th, td {
    padding: 10px; /* Add padding inside table cells */
    text-align: left; /* Align text to the left */
    border: 1px solid #ddd; /* Add a light border */
}

th {
    background-color: #4CAF50; /* Green background for table header */
    color: white; /* White text color for table header */
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2; /* Light gray background for even rows */
}

/* Footer styling */
footer {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: auto; /* Push footer to the bottom */
    font-size: 0.9em;
}