/* CSS Document used for Project 1.
Author: Scott Avery Boman
Course: ITWP 1000
File: project1styles.css
Information on using external CSS style sheet is located in Chapter 3. Information on media queries is located
in Chapter 7. Information on tables and CSS formatting for tables is located in Chapter 8.
*/
body {
    margin-top: 1em;
    margin-bottom: auto;
    font-family: Arial, sans-serif;
}
h1 {
    text-align: center;
    font-size: 2.5em;
}
h2 {
    text-align: left;
}
h3 {
    text-align: left;
}
p, div {
    margin: 10px;
    padding: 20px;
    line-height: 1.5em;
}
/* 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;

}

/* responsive image class */

.responsive {
    max-width: 100%;
    height: auto;
    border: 1px solid #51471a;
    border-radius: 10px;
}

td.price {
    white-space: nowrap;
}

td.specialty {
    white-space: nowrap;
}

/* ID that centers vallidation text */

#validation {
  text-align: center;  
}

/*  centers the header content */
header {
text-align: center;
}

/* media query that hides the image when the screen size is @ 550 pixels or lower */

@media only all and (max-width:550px) {
    img {
        display: none;
    }
}

nav {
    text-align: center;
}

/* Figure and #feature effect display of the feature image. */

figure {
    text-align: center;
}

#feature {
    width: 50%;
    height: auto;
    justify-content: center;
    text-align: center;
    max-width: 100%
}

/* center embeded video */

#video-container {
    text-align: center;  
}

/*  Top menue bar distributes links evenly. */

.TopMenu {
    display: flex;
    justify-content: space-around; /* Or space-between */
    align-items: center; /* Adjust as needed */
}

/* Size and alignment of 3 small images on the Reusability page. */

#reuse-thumbnail {
    float:left;
    width:10%;
    height:auto;
    padding-top: 5px;
    padding-right: 25px;
    padding-bottom: 5px;
    padding-left: 25px;
}

/* Size and alignment of New Shepard image on the Reusability page. */

#new-shepard {
    float:left;
    width:8%;
    height:auto;
    padding-top: 2px;
    padding-right: 25px;
    padding-bottom: 2px;
    padding-left: 25px; 
}

blockquote {
    font-size: large; 
    text-align: center;
}