header {
    background-color: black;
}

header img {

    width: 100%; /*Stretches the logo across the viewport.*/
    height: auto; /* Height will change depending on viewport */
    max-width: 500px;
}

body {
    background-color: black;
}

body h2 {
    text-align: center;
    color: white;
}

body p{
    color: white;
    text-align: center;
}

nav {
    /*background-color: white;
    border-top: solid 0.3em black;
    border-bottom: solid 0.3em black; */
    margin-bottom: 1em;
    border-radius: 1em; /*This rounds the corner of elements */
    text-align: center;
}

figure h2 {
    font-size: 40px;
    color: white;
}

figure {
    text-align: center;
}

figure p {
    text-align: center;
    color: white;
    display: inline-block;
}

figure img {
    max-height: 500px;
    width: 25%;
    height: auto;
}

main h2 {
    background-color: black;
    text-align: center;
    color: white;
}

main p {
    text-align: center;
    background-color: black;
    color: white;
}

main {
    /*background-color: white;
    border-top: solid 0.3em black;
    border-bottom: solid 0.3em black;*/
    background-color: black;
    border-radius: 1em; /*This rounds the corner of elements */
    margin-bottom: 1em;
}

main ul li {
    color: white;
    text-align: center;
}
main .row:after {
    content: "";
    display: table;
    clear: both;
}

main div .column {
    float: left;
}

main div .left {
    float: left;
    width: 20%;
    padding: 10px;
    border-right: 3px solid black;
}

main div .center {
    padding: 10px;
    width: 35%;
}

main div .right {
    float: right;
    padding: 10px;
    width: 30%;
    border-left: 3px solid black;
}

nav ul {
    padding: 0;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

nav ul li {
    background-color: black;
    padding: 1em;
    min-width: 12%;
    margin: .25em;
    list-style-type: none;
}

nav ul li a {
    color: white;
    text-decoration: none; /*This removes the underline under the hyperlink*/
}

footer h1 {
    color: white;
    text-align: center;
}

footer p {
    font-size: 20px;
    color: white;
    text-align: center; 
    margin-top: 1em;
    border-radius: 1em; /*This rounds the corner of elements */
}



/* Begin mobile.*/
@media screen and (max-width: 640px) {
    header img {
        width: 100%;
        text-align: center;
    }

    nav ul li {
        border-radius: 1em;
    }
    .tablet {
        display: none;
    }

    .desktop {
        display: none;
    }
}
/* End mobile.*/


/* Begin tablet.*/
@media screen and (min-width: 641px) {
    main div h2 {
        display: none;
    }
    
    header img {
        text-align: left;
        
    }

    nav ul li {
        display: inline-block; /*This lists items horizontally and allows them to stretch */
        border-radius: 1em;
    }

    .desktop {
        display: none   ;
    }
    
}
/* End tablet.*/

/* Start Desktop. */
@media screen and (min-width: 961px) {
    main div h2 {
        display: none;
    }
    
    header img {
        text-align: left;
    }

    nav {
        float: right; /*This floats the nav element to the right side of the page.*/
        width: 60%;
        margin-top: -5em; /*This moves the nav element above where it would normally be.*/
        }

    nav ul li {
        display: inline-block; /*This lists items horizontally and allows them to stretch */
        border-radius: 1em;
    }

    .desktop {
        display: none   ;
    }
    
}
/* End desktop.*/
