/* CSS Document used for the project 1 assignment
Author: Robert Montroy
Course: ITWP 1000
File: styles.css
*/

/* Body */
body#default {
  background-image: linear-gradient(to bottom, #a89519, #e2433d, #531e19);
  background-attachment: fixed;
  margin: 10px;
  font-family: Arial, Helvetica, sans-serif;
  color: #666666;
}

body#page1 {
  background-color: #a89519;
  margin: 10px;
  font-family: Arial, Helvetica, sans-serif;
  color: #666666;
}

body#page2 {
  background-color: #e2433d;
  margin: 10px;
  font-family: Arial, Helvetica, sans-serif;
  color: #666666;
}

body#page3 {
  background-color: #531e19;
  margin: 10px;
  font-family: Arial, Helvetica, sans-serif;
  color: #666666;
}

/* Headers */
h1 {
  text-align: center;
  color: black;
}

h2 {
  text-align: center;
  font-style: italic;
  color: black;
}

h3 {
  color: black;
}

h4 {
  text-align: center;
  color: black;
}

/* Navigation */
ul {
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  border: 1px solid #e7e7e7;
  background-color: #f3f3f3;
  width: fit-content;
  border-radius: 6px;
}

ul li a {
  display: block;
  color: #666666;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover:not(.active) {
  background-color: #dddddd;
}

ul li a.active {
  background-color: #04AA6D;
}

/* Main */
main {
  border: 1px solid #e7e7e7;
  background-color: #f3f3f3;
  border-radius: 6px;
  padding: 1%;
}

/* Table */
table {
  margin: auto;
}

/* Image */

.img {
    max-width: 75%;
    height: auto;
    border: 1px solid #000000;
    border-radius: 10px;
}

/* ID */
#validation {
  text-align: center;
}

footer {
  background-color: white;
  border: 1px solid #e7e7e7;
  border-radius: 6px;
  margin: 0px auto;
  padding: 3px;
  width: fit-content;
  color: black;
  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;
    }
}