/* =================================
   General Styles
   ================================= */

body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

body {
    /* ... your other body styles ... */
    background-image: url(https://cookebooks.neocities.org/images/background-home-screen.png); 
    background-size: cover; /* Cover the entire viewport */
    background-repeat: no-repeat; /* Prevent tiling */
    background-attachment: fixed; /* Optional: Fix the background so it doesn't scroll */
    background-color: rgba(255, 255, 255, 0.8); /* Add a semi-transparent white overlay */
}

.wrapper {
    max-width: 960px; /* Adjust as needed */
    margin: 0 auto;
    padding: 20px;
}

/* =================================
   Header Styles
   ================================= */

header {
    text-align: center;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 10px;
}

nav a {
    text-decoration: none;
    color: #333; /* Or your preferred color */
}

nav a.current {
    font-weight: bold;
}

/* =================================
   Main Content Styles
   ================================= */

main {
    margin-bottom: 20px;
}

article {
    margin-bottom: 20px;
}

figure {
    margin: 0; /* Reset default figure margins */
}

figcaption {
    font-size: 0.8em;
    color: #666;
    text-align: center;
}

.map-group {
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
}

/* =================================
   Image Styles
   ================================= */

.expandable-image img,
.static-map img {
    display: block; /* Remove any extra space below image */
    max-width: 100%; /* Responsive width */
    height: auto;    /* Maintain aspect ratio */
}

.expandable-image {
    cursor: pointer; /* Indicate clickable */
}

/* Static Map Specific Styles */
.static-map {
    margin: 20px auto; /* Center the static map */
    max-width: 600px;   /* Adjust as needed */
}

.map-group img{
    max-width: 100%;
    height: auto;
    display: block;
}

/* =================================
   Image Overlay Styles
   ================================= */

.image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
}

/* =================================
   Footer Styles
   ================================= */

footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

/* =================================
   Additional Styles (if needed)
   ================================= */

/* ... (your existing CSS) ... */

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 10px;
}

.nav-button {
    background-color: #f0f0f0; /* Light background color */
    border: 1px solid #ccc;
    padding: 8px 16px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease; /* Smooth transition for hover */
}

.nav-button:hover {
    background-color: #e0e0e0; /* Slightly darker background on hover */
}

.nav-button.current {
    background-color: #d0d0d0; /* Highlight the current page */
    font-weight: bold;
}
/* ... (your existing CSS) ... */

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap to multiple lines */
}

nav li {
    margin: 5px; /* Adjust margin for smaller screens */
}

/* Media query for screens smaller than 600px (adjust as needed) */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center; /* Center buttons horizontally */
    }

    nav li {
        margin: 5px 0; /* Adjust vertical margin */
        width: 100%; /* Make buttons full width */
    }

    .nav-button{
        width: 90%; /*make buttons almost full width*/
        text-align: center; /*center the text*/
    }
}

