/*
Primary Color:
Banner Maroon (#871606): This will be the dominant color of your banner.
Secondary Colors:
Lettering Yellow (#FFDF61): This will be used for the lettering on the banner.
Gold (#FFD700): A richer yellow tone to complement the primary colors.
Deep Red (#B22222): A shade similar to the maroon but lighter, useful for highlights or accents.
Tertiary Colors:
Ivory (#FFFFF0): A neutral color that works well with maroon and yellow, ideal for background sections or content areas.
Olive Drab (#6B8E23): A muted green that pairs well with the maroon and yellow theme, good for buttons or smaller accents.
Chocolate Brown (#8B4513): For borders or additional text elements, adding depth to the color scheme.
*/
body {
    font-size: 16px; /* Adjust font size as needed */
    line-height: 1.6; /* Improve readability */
    font-family: Arial, sans-serif; /* Use a readable font family */
    margin: 0;
    padding: 0;
    background-color: #FFFFF0; /* Set body background color */
}

.container {
    max-width: 800px; /* Adjust the width as needed */
    margin: 0 auto; /* Center the content */
    padding: 5px; /* Reduced padding for better spacing */
}
/* Ribbon Styles */
.ribbon {
    background-color: #871606;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.ribbon img {
    height: 50px;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.nav-links li {
    position: relative; /* Necessary for the dropdown positioning */
}

.nav-links a {
    background-color: #6B8E23;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    display: block;
    height: 50px; /* Ensure consistent height */
    line-height: 50px; /* Vertically center text */
}

.nav-links a:hover {
    background-color: darkgreen;
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #6B8E23;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content a {
    padding: 10px 15px;
    line-height: normal; /* No need for vertical centering in dropdown items */
    height: auto;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Banner Styles */
.banner {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the start horizontally */
    width: 100%;
    background-color: #871606; /* Updated background color */
    position: relative; /* Ensure correct positioning for text overlay */
}

.banner img {
    width: 60%; /* Image takes 60% of the banner width */
    height: auto;
    display: block;
}

.banner .banner-text {
    width: 40%; /* Text takes 40% of the banner width */
    padding: 20px;
    box-sizing: border-box; /* Ensure padding is included in width */
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    text-align: center; /* Center text inside the container */
}

.banner .banner-text h1 {
    margin: 0;
    color: #FFD700; /* Gold */
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Shadow for readability */
    word-wrap: break-word; /* Ensure text wraps within the defined area */
    background: none; /* Remove any background color */
}

.intro-text {
    color: #871606; /* Maroon text color */
    text-align: center; /* Center the text */
    font-size: 1.25em; /* Adjust font size as needed */
    padding-bottom: 0;
    margin-bottom: 0;
}
	
.whatsnew {
    overflow: hidden; /* Ensure the container wraps around floated elements */
    margin-top: 0;
    margin-bottom: 10px;
}

.whatsnew h2 {
    font-size: 24px;
    font-weight: bold;
    color: #B22222; /* Deep Red */
    float: left; /* Float h2 to the left */
    margin-right: 10px; /* Space between h2 and span */
    margin-top: 0;
    margin-bottom: 0;
}

.whatsnew span {
    display: block;
    overflow: hidden; /* Ensure the span wraps around the floated h2 */
    margin-top: 0;
    margin-bottom: 0;
    text-align: left; /* Ensure text is left-aligned */
}





main {
    padding: 20px;
    background-color: #f9f9f9;
}


@media (max-width: 768px) {
    .ribbon {
        flex-direction: column;
        align-items: center;
    }
    .ribbon .nav-links {
        justify-content: center;
    }
}


/* Optional: Adjust height of banner based on screen size */
@media (max-width: 768px) {
    .banner .banner-text h1 {
        font-size: 1.5em; /* Adjust font size for smaller screens */
    }
}

/* Footer Styles */
.footer {
    background-color: #871606; /* Match the header background color */
    display: flex;
    justify-content: space-between; /* Space between logo and text */
    align-items: center;
    padding: 10px 20px;
    height: 70px; /* Adjust height to match the header */
    color: white;
}

.footer-logo {
    height: 50px; /* Adjust as needed to match the logo size in the header */
}

.footer p {
    margin: 0;
    white-space: nowrap; /* Prevent text from wrapping */
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }
    .footer p {
        white-space: normal; /* Allow wrapping on smaller devices */
        margin-top: 10px;
		
width: 100%; /* Make the paragraph take the full width */
    }
}
