/* BODY */
body {
    font-family: Arial, Helvetica, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
header {
    background-color: #336699;
    height: 60px;
    flex-shrink: 0;
}

/* HEADER H1 (Google Font example) */
header h1 {
    font-size: 28px;
    color: white;
    font-family: "Poppins", sans-serif;
    padding: 10px;
}

/* NAV BAR */
nav {
    background-color: #224466;
    height: 30px;
}

nav li {
    display: inline-block;
    list-style: none;
    height: 30px;
}

nav a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
    color: white;
    text-decoration: none;
}

/* CONTENT AREA */
#content {
    display: flex;
    flex: auto;
    flex-direction: row;
}

/* MAIN */
main {
    width: 70%;
    box-sizing: border-box;
    padding: 20px;
}

/* ASIDE */
aside {
    width: 30%;
    box-sizing: border-box;
    padding: 20px;
    background-color: #d9e2ec;
}

/* FOOTER */
footer {
    background: #224466;
    color: white;
    font-size: 85%;
    padding: 10px;
    flex-shrink: 0;
}

/* H1 styling */
h1 {
    color: #333;
    font-size: 140%;
    margin-bottom: 20px;
}

/* Paragraphs */
p {
    margin-bottom: 12px;
}

/* MENU BUTTON (hidden on large screens) */
#menu-button {
    display: none;
}

/* ------------------------------ */
/* RESPONSIVE DESIGN - UNDER 800px */
/* ------------------------------ */
@media all and (max-width: 800px) {

    header {
        height: 44px;
    }

    #content {
        display: block;
    }

    main,
    aside {
        width: 100%;
    }

    /* Show menu button */
    #menu-button {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        height: 44px;
        text-align: center;
        line-height: 44px;
        color: white;
        font-size: 24px;
        background-color: #224466;
        width: 44px;
        cursor: pointer;
    }

    /* Hide nav on small screens */
    nav {
        display: none;
        height: auto;
    }

    nav li {
        display: block;
    }

    /* Will be toggled by JS */
    nav.open {
        display: block;
    }
}

.frontPageImage{
    max-width: 25%; /* Ensures the image doesn't exceed the width of its container */
    height: auto;    /* Maintains the image's aspect ratio as the width changes */
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.gallery-container img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
}

.gallery-btn {
    padding: 10px 18px;
    border: none;
    background-color: #333;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 6px;
}

.gallery-btn:hover {
    background-color: #555;
}
