.header-nav {
    max-width: 2000px;
    margin: 10px;
    padding: 0 10px;
}

.header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background-color: #333333;
    padding: 10px 15px;
    border: 2px solid #000000;
    box-sizing: border-box;
}

.site-name {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    margin-right: 10px;
    font-family: "Courier New", Courier, monospace;
}

.nav-link {
    background-color: #cccccc;
    color: #000000;
    padding: 6px 14px;
    text-decoration: none;
    font-size: 14px;
    border: 2px solid #000000;
    font-family: "New Century Schoolbook", serif;
    display: inline-block;
}

.nav-link:hover {
    background-color: #ffffff;
    color: #000000;
    font-style: italic
}

/* DROPDOWN STYLES */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #cccccc;
    min-width: 160px;
    border: 2px solid #000000;
    z-index: 1;
    top: 100%;
    left: 0;
    box-sizing: border-box;
}

.dropdown-content a {
    color: #000000;
    padding: 10px 12px;
    text-decoration: none;
    display: block;
    font-family: "New Century Schoolbook", serif;
    font-size: 14px;
    border-bottom: 1px solid #000000;
    box-sizing: border-box;
    max-height: 34px;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #ffffff;
    font-style: italic
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* BODY STYLES */
body {
    font-family: "New Century Schoolbook", serif;
    color: #000000;
    margin: 0;
    padding: 0;
}

/* BACKGROUND OPTIONS */
.bg-default {
    background-image: url("../Site_Contents/background_1.jpg");
    background-repeat: repeat;
}

/*
.bg-dark {
    background-image: url("../Images/background_2.jpg");
    background-repeat: repeat;
}

.bg-blue-line {
    background-image: url("../Images/background_3.jpg");
    background-repeat: repeat;
}

.bg-brown {
    background-image: url("../Images/background_4.jpg");
    background-repeat: repeat;
}

.bg-edgar {
    background-image: url("../Edgar_Huntly/Background_Tiled2.jpg");
    background-repeat: repeat;
}

.bg-brick {
    background-image: url("../Images/background_5.jpg");
    background-repeat: repeat;
}

.bg-horse {
    background-image: url("Images/background_6.JPG");
    background-repeat: repeat;
}

.bg-smile {
    background-image: url("Images/background_7.jpg");
    background-repeat: repeat;
}
*/


/* FILTER OPTIONS */
/*
.img-default img {
    filter: none;
}

.img-grayscale img {
    filter: grayscale(100%);
}

.img-inverted img {
    filter: invert(100%);
}

.img-nightlight img {
    filter: brightness(0.95) saturate(1.6) hue-rotate(-3deg);
}
*/

/* MAIN CONTENT CONTAINER */
.content-container {
    max-width: 2000px;
    margin: 10px;
    padding: 0 10px;
}

/* MERGED CONTENT AREA */
.content-area {
    width: 100%;
    box-sizing: border-box;
    background-color: #FFFFFF;
    background-image: url("../Site_Contents/background_z.jpg");
    padding: 20px;
    border: 1px solid #AAAAAA;
    box-shadow: 2px 2px 5px #0000001a;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

/* MAIN CONTENT WRAPPER */
.main-content-wrapper {
    flex: 1;
    min-width: 0;
}

.content-area h1, 
.content-area h2 {
    color: #000000;
    font-size: 26px;
    border-bottom: 2px solid #777777;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.content-area h3 {
    color: #000000;
    font-size: 26px;
    border-bottom: 2px solid #DDDDDD;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.content-area p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 18px;
}

.content-area p2 {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 5px;
}

.content-area p3 {
    font-size: 26px;
    line-height: 1.6;
    margin-bottom: 5px;
}

.content-area img {
    max-width: 400px;
    max-height: 600px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 20px auto;
    box-shadow: 7px 7px 1px #00000033;
}

.content-area ul {
    margin-left: 20px;
}

.content-area li {
    margin-bottom: 8px;
}

/* SIDE MENU */
.side-menu {
    background-color: #202A44;
    padding: 10px;
    border: 1px solid #777777;
    width: 150px;
    flex-shrink: 0;
    font-size: 14px;
}

.side-menu h2 {
    color: #ffffff;
    border-bottom: 2px solid #777777;
    padding-bottom: 2px;
    margin-bottom: 10px;
    margin-top: 0;
    font-size: 18px;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.side-menu li {
    margin-bottom: 6px;
}

.side-menu a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 5px 5px;
    background-color: #202A44;
    border: 1px solid #202A44;
}

.side-menu a:hover {
    border-color: #ffffff;
    font-style: italic
}

/* UTILITY CLASSES */
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000b3;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    color: #ffffff;
    background-color: #202A44;
    border: 3px solid #202A44;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 5px 5px 10px #00000033;
    text-align: center;
}

.modal-content h2 {
    color: #ffffff;
    border-bottom: 2px solid #777777;
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 15px;
}

.modal-buttons button {
    background-color: #202A44;
    color: #ffffff;
    border: 2px solid #202A44;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

.modal-buttons button:hover {
    border-color: #ffffff;
}

        /* ORIGINAL CONTENT AREA */
        .content-area-og {
            width: 100%;
            box-sizing: border-box;
            flex-shrink: 900;
            background-color: #FFFFFF;
            background-image: url("../Site_Contents/background_z.jpg");
            padding: 20px;
            border: 1px solid #AAAAAA;
            margin-right: 20px;
            margin-bottom: 15px;
        }

        .content-area-og h1, .content-area-og h2 {
            color: #ffffff;
            font-size: 30px;
            border-bottom: 2px solid #777777;
            padding-bottom: 5px;
            margin-bottom: 15px;
        }

        .content-area-og h3 {
            color: #000000;
            font-size: 20px;
            border-bottom: 2px solid #777777;
            padding-bottom: 5px;
            margin-bottom: 15px;
        }

        .content-area-og p {
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .content-area-og p2 {
            font-size: 12px;
            line-height: 1.6;
            margin-bottom: 5px;
        }

        .content-area-og img {
            max-width: 600px;
            max-height: 600px;
            width: 100%;
            height: auto;
            object-fit: contain;
            display: block;
            margin: 15px auto;
            border: 3px solid #777777;
        }

/* MOBILE BREAKPOINT */
@media (min-width: 1000px) {
    .header-nav {
        margin: 20px 20px 0 20px;
        padding: 0 15px;
    }

    .site-name {
        font-size: 20px;
    }

    .content-container {
        margin: 20px 20px;
        padding: 0 15px;
    }

    .content-area {
        padding: 20px;
        flex-direction: row;
    }

    .content-area h1,
    .content-area h2 {
        font-size: 26px;
    }

    .content-area h3 {
        font-size: 26px;
    }

    .content-area p {
        font-size: 18px;
    }

    .side-menu {
        width: 200px;
        font-size: 18px;
    }

    .side-menu h2 {
        font-size: 26px;
    }

    .content-area-og {
        padding: 0 20px;
    }

    .content-area-og h1, .content-area-og h2 {
        font-size: 30px;
    }

    .content-area-og img {
        max-width: 600px;
        max-height: 600px;
        width: 300px;
        height: 300px;
    }
}