/* CSS Document used for the coffee table homework assignment
Author: Ethan Montgomery
Course: ITWP 1000
File: styles.css
*/

/* BASIC STYLES */

body {
  margin-top: 1em;
  margin-bottom: auto;
  font-family: Arial, sans-serif;
}

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

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;
}

tfoot td {
  font-size: 0.9em;
  font-style: italic;
  text-align: center;
}

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

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

/* CAPTION */

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

/* RESPONSIVE IMAGE */

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

/* CLASSES */

td.price {
  white-space: nowrap;
}

td.specialty {
  white-space: nowrap;
}

/* ID */

#validation {
  text-align: center;
}

/* MEDIA QUERY */

@media (max-width: 550px) {
  .responsive {
    display: none;
  }
}