body {
    color: #000033;
    font-family: Verdana, Arial, sans-serif;
    background-color: #e8d9c5;
}

header {
    background-color: #000033;
    height: 100px;
}

header img {
    width: 100px;
    float: left;
}

nav {
    font-weight: bold;
    float: right;
    width: 350px;
    padding: 0;
    margin-top: 50px;
}

nav li {
    display: inline-block;
    padding: 4px;
}

nav ul {
    list-style-type: none;
    padding-left: 1em;
}

nav a {
    text-decoration: none;
}

nav a:link {
    color: #ffffff;
}

nav a:visited {
    color: #aaaaaa;
}

nav a:hover {
    color: #e63002;
}

.mobile {
    display: none;
}

.desktop {
    display: inline;
}

#wrapper {
    background-color: #000033;
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    min-width: 700px;
    max-width: 1024px;
    box-shadow: 5px 5px 5px #828282;
}

#homeimage {
    height: 350px;
    background-image: url(images/home.JPG);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#projectimage {
    height: 350px;
    background-image: url(images/project.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#resumeimage {
    height: 350px;
    background-image: url(images/resume.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#aboutmeimage {
    height: 350px;
    background-image: url(images/aboutme.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

main {
    background-color: #FFFFFF;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 2em;
    padding-right: 2em;
    display: block;
}

h2 {
    color: #e63002;
}

dt {
    font-weight: bold;
}

dd img {
    float: right;
    display: inline;
    height: 100px;
}

.CenterImages {
    display: flex;
    justify-content: center;
}

.projectImages {
    height: 150px;
    width: 200px;
    padding: 10px;
}

footer {
    font-size: .70em;
    font-style: italic;
    text-align: center;
    padding: 1em;
    background-color: #FFFFFF;
}

table {
    margin: auto;
    border: 3px solid #000033;
    width: 80%;
    border-collapse: collapse;
}

td {
    padding: 5px;
    border: 1px solid #000033;
    text-align: center;
}

th {
    padding: 5px;
    border: 1px solid #000033;
}

h3 {
    text-decoration: underline;
}

.resumeDate {
    font-style: italic;
    padding-left: 1.5em;
}

.resumeDescription {
    padding-top: .5em;
}

#threeColumn {
    display: flex;
    flex-direction: row;
}

#flexOne {
    flex: 1;
}

#flexTwo {
    flex: 1;
}

#flexThree {
    flex: 1;
}

#flexOne h4 {
    text-align: center;
}

#flexTwo h4 {
    text-align: center;
}

#flexThree h4 {
    text-align: center;
}

#threeColumn hr {
    margin-right: 1em;
    margin-left: 1em;
}

* {
    box-sizing: border-box;
}

header,
nav,
main,
footer {
    display: block;
}

@media only screen and (max-width: 1024px) {
    body {
        margin: 0;
        padding: 0;
        background-image: none;
    }

    #wrapper {
        width: auto;
        min-width: 0;
        margin: 0;
        box-shadow: none;
    }

    .mobile {
        display: none;
    }

    .desktop {
        display: inline;
    }

    main {
        padding: 1em;
        margin-left: 0;
        font-size: 90%;
    }
}

@media only all and (max-width: 768px) {
    header img {
        display: block;
    }

    nav {
        padding: 0;
        display: inline;
        float: none;
        width: auto;
        padding-top: 0.01em;
        padding-bottom: 0.01em;
        padding-left: 1em;
        padding-right: 1em;
    }

    nav a {
        padding: 0.2em;
        font-size: 1.1em;
        border-bottom: 1px;
    }

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

    nav li {
        display: block;
        margin: 0;
        padding: 0;
    }

    .mobile {
        display: inline;
    }

    .desktop {
        display: none;
    }

    main {
        padding-top: 0.1em;
        padding-right: 0.6em;
        padding-bottom: 0.1em;
        padding-left: 0.4em;
    }

    #homeimage {
        display: none;
    }

    #projectimage {
        display: none;
    }

    #resumeimage {
        display: none;
    }

    #aboutmeimage {
        display: none;
    }

    footer {
        padding: 0;
    }

    .CenterImages {
        display: grid;
    }

    .projectImages {
        height: 150px;
        width: 200px;
    }

    #threeColumn {
        display: inline;
    }
}