/* CSS Document used for the web project 1 assignment
Author: Tricia Kohler
Course: ITWP 1000
File: style.css
*/

body {
    margin: 10px;
    background-color: #B2AC88;
    font-family: Arial, sans-serif;
    text-align: center;
    color: #000345;

}

h1 {
    text-align: center;
    font-size: 2.5em;
}

h2 {
    text-align: center;
}

nav {
    text-align: center;
}

footer {
    text-align: center;
}

p {
    padding: 20px;
    line-height: 1.5em;
    text-align: justify;
    text-indent: 35px;
}

img {
    border-radius: 8px;
    max-width: 400px;
    min-width: 150px;
    height: auto;
    align-items: center;
}

/*Table Formatting*/
table{
    margin: auto;
    border: 5px solid #3f2a14;
    width: 100%;
    border-spacing: 0;
}

td, th {
    border-style: none;
    padding: 0.5em;
    width:auto;
}

tfoot td {
    font-size: 9px;
    font-style: italic;
    text-align: center;
}

tr:nth-of-type(even) {
    background-color: #eaeaea;
}

thead:first-of-type {
    background-color: #3f2a14;
    color: #FFF;
}

/*caption tag*/
caption {
    font-family: Impact, "Franklin Gothic Bold", "Arial Black", "sans-serif";
    font-weight: bold;
    font-size: 1.75em;
    padding-bottom: 0.5em;
}


/*media query that hides the image when the screen is @ 500 pixels or lower*/
@media only all and (max-width:550px) {
    img {
        display: none;
    }
}
