   
  /* Base Reset and Background */
body {
    background-image: url("https://somme.nz/New_Zealand_trench_Flers_September_1916fadesepia.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: "Courier New", Courier, monospace; /* Typewriter aesthetic */
    color: #111;
    display: flex;
    justify-content: center;
    padding: 4rem 0;
    min-height: 100vh;
    box-sizing: border-box;
}

/* 65% Width Container for standard web browser viewability */
.main-wrapper {
    width: 65%;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Left Navigation Sidebar */
.sidebar {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Shared Card Styling */
.panel {
    background-color: rgba(245, 245, 240, 0.55); /* Creamy off-white with slight transparency */
    border: 1px solid #444;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-menu h2 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.nav-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #111;
    font-weight: bold;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.nav-menu a:hover {
    opacity: 0.6;
    text-decoration: underline;
}

/* Grouped floating links for Contacts / About me */
.secondary-links {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(245, 245, 240, 0.85);
    border-radius: 20px;
    width: fit-content;
}

.secondary-links a {
    text-decoration: none;
    color: #111;
    font-weight: bold;
    font-size: 0.9rem;
}

.secondary-links a:hover {
    text-decoration: underline;
}

/* Right Content Area */
.content-area {
    flex: 1;
}

.content-area h1 {
    font-size: 1.1rem;
    text-decoration: underline;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-area p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    text-align: justify;
    font-weight: bold;
}

.content-area p:last-child {
    margin-bottom: 0;
}

/* Responsive collapse for smaller screens */
@media (max-width: 768px) {
    body {
        padding: 1.5rem 0; /* Reduces wasted space at the top of the screen */
    }

    .main-wrapper {
        width: 95%; /* Expands from the 65% desktop width */
        flex-direction: column;
        gap: 1.5rem;
    }

    .sidebar {
        flex: none;
        width: 100%;
        flex-direction: column; /* Stacks the sidebar elements vertically */
    }

    .panel {
        padding: 1.2rem 1rem; /* Reduces inner padding */
    }

    .nav-menu {
        text-align: center; /* Centers navigation on mobile */
    }

    .nav-menu ul {
        flex-direction: column; /* Stacks the links vertically */
        gap: 1rem;
    }

    .secondary-links {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        border-radius: 8px; /* Matches the main panels on mobile */
    }
}

/* The banner styling */
.global-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50; /* Dark background */
    color: #ffffff;
    text-align: center;
    padding: 12px 20px;
    z-index: 9999; /* Forces it above all other elements */
    box-shadow: 0 4px 5px rgba(0,0,0,0.3);
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.global-banner a {
    color: #ffcc00;
    text-decoration: underline;
}


/* Push the rest of the website down so the banner doesn't hide your top content */
body {
    padding-top: 50px; /* Adjust this to match the height of your banner */
}

/* Container for the map links */
.map-links {
    display: flex;
    flex-wrap: wrap; /* Allows links to wrap to a new line on mobile screens */
    gap: 15px; /* Automatically adds space between the links */
    font-size: 20px; /* Applies to any plain text inside the div */
    font-weight: bold;
}

/* Styling for the links themselves */
.map-links a {
    font-size: 14px;
    color: yellow;
    text-decoration: underline;
}

/* Optional: Make them fade slightly when hovered, matching your sidebar */
.map-links a:hover {
    opacity: 0.6;
}