body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('nowhere-middle-of-bg.jpg');
    background-size: 100% 100%; /* Stretch to fill both width and height */
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

body {
    background-color: #d7c5e0;
    color: #23262e;
    font-family: 'courier';
    position: relative;
    z-index: 0;
}



body {
    background-color: #d7c5e0;
    background-image: url('nowhere-middle-of-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #23262e;
    font-family: 'courier';
}

a {
    color: inherit; /* Same as surrounding text */
    text-decoration: underline;
}

a:visited {
    color: inherit; /* Keeps visited links same as text */
}



#all {
    width: 940px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#header {
    width: 100%;
    margin: 15px 0 7px 0;
    text-align: center;
}

h3 {
    font-family: 'Special Elite', serif;
    font-size: 45px;
    font-weight: normal;
    color: #fff;
    margin: 0;
}

#header-divider {
    width: 100%;
    text-align: center;
    margin-bottom: -1px;
}

#divider {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

#content {
    display: flex;
    flex-direction: row-reverse; /* <--- this is the key change */
    width: 100%;
}


#nav {
    width: 250px;
    margin: 0 10px;
    padding: 0;
    background-color: transparent;
}

#nav ul {
    padding: 0;
    margin: 0;
}

#nav li {
    list-style-type: none;
    margin-bottom: 10px;
}

#nav a {
    color: black;
    text-decoration: none;
    display: inline-block;
    padding: 5px 10px;
    transition: all 0.2s ease-in-out;
}

#nav a:hover {
    font-style: italic;
    font-weight: bold;
    background-color: #ECB3D3;
    color: white;
}

#nav a:active {
    font-style: italic;
    font-weight: bold;
    color: #ECB3D3;
}

.menu-container{
    position: fixed;
}

.menu {
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid black;
    background-color: #fff;
}

#main {
    width: calc(100% - 170px);
    padding: 1px;
    box-sizing: border-box;
}

.main-section {
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid black;
    background-color: #fff;
}

img {
    opacity: 0.9;
}

#bg {
    position: fixed;
    bottom: 0;
    right: 0;
}

#divider a {
    text-decoration: none;
    color: #fff;
}

#footer {
    width: calc(100% - 170px);
    margin-top: 20px;
    padding: 1px;
    box-sizing: border-box;
}

.footer-section {
    padding: 15px;
    border: 1px solid black;
    background-color: #fff;
}

/* New CSS for Flexbox */
.flex {
    display: flex;
    align-items: center;
}

.box {
    padding: 10px;
    flex: 1;
}

.box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

