body {
    font-family: Frutiger, sans-serif;
    background-color: #fafafa;
    margin: 5%;
    margin-top: 0%;
}

/* in event of image malfunction, makes alt text visible on white bg */
img {
    color: black;
}

section {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

h1 {
    font-size: 2em;
}

hr {
    width: 100%;
}

img {
    display: block;
}

ul {
    list-style-type: square;
}

header {
    margin-top: 2em;
    margin-bottom: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

nav {
    color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-transform: uppercase;
    width: 100%;
}

nav ul {
    background-color: #006838;
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-top: 16px;
    padding: 16px 0;
    width: 100%;
    line-height: 2em;
}

nav ul li hr {
    color: white;
    width: 100%;
}

nav li {
    line-height: 2em;
    font-weight: bold;
    list-style: none;
    text-align: center;
    width: 100%;
}

nav li > a {
    display: block;
}

nav a:link {
    text-decoration: inherit;
    color: inherit;
}

nav a:visited {
    text-decoration: inherit;
    color: inherit;
}

@media only screen and (min-width: 865px) {
    body {
        margin: 2%;
        margin-top: 0;
        font-size: 1.1em;
        line-height: 1.7em;
    }
    nav {
        flex-direction: unset;
        position: relative;
        left: -40px;
        width: unset;
    }
    #logo {
        position: relative;
        left: 40px;
    }
    nav ul {
        background: black;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        row-gap: 1em;
        width: fit-content;
        padding: 0 1em;
    }
    nav li {
	font-size: 1.2em;
        line-height: unset;
        margin: 1em 0.5em;
        padding-left: 0.7em;
        padding-right: 0.7em;
    }
    nav li:nth-child(1) {
        margin-left: 2em;
    }
    nav li:nth-last-child(1) {
        margin-right: 2em;
    }
    nav ul li hr {
        display: none;
    }
    section {
        margin: 0em 24%;
    }
    section > p {
        margin: 0.5em;
    }
}
