/*CSS Document used for the web project 1 assignement
Author: Mohamed Elkfass
Course: ITWP 1000
File: project1styles.css
*/

body {
    margin-top: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    font-family: Arial, "Calibri", Helvetica, sans-serif,"Times New Roman";
    background-color: #ff4800;
}

h1 {
    text-align: center;
    font-size: 5.5em;
    color: #FFF;
}

h3 {
    color:#FFF
}

nav{
    text-align: center;
}

p,div {
    margin: 15px;
    padding: 25px;
    line-height: 2.5 em;
    color: #FFF;
}

/*table formatting*/

table {
    margin: auto;
    border: 5.5px solid #3f2a14;
    width: 100%;
    border-spacing: 1;
    text-align: center
}

td, th {
    border-style: dashed;
    padding: 5.5em;
    width: fit-content;
}

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

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

/*caption tag*/

caption {
    font-family: Impact, "Franklin Gothic Bold", "Arial Black", "sans-serif";
    font-weight: bold;
    font-size: 2.75em;
    padding-bottom: 1.5em;
}

/*responsive image class*/

.responsive {
    max-width: 100%;
    height: auto;
    border: 5px solid #51471A;
    border-radius: 15px;
}

td.price {
    white-space: nowrap;
}

td.specialty {
    white-space: nowrap;
}

/*ID*/

#validation {
    text-align: center;
}

footer{
    text-align: center;
}
/*media query that hides the image when the screen size is @ 550 pixels or lower*/

@media only all and (max-width: 500px) {
    img{
        display: none;
    }
}