/*General page styling*/

body {
  font-family: Verdana, Geneva, sans-serif;
  background-image: url('https://www.transparenttextures.com/patterns/diamond-upholstery.png');
  background-repeat: repeat;
  background-color: #22283a;
  margin: 0;
  padding: 0;
}

/* Wrapper for eveything*/

#wrapper {
  width: 1500px;           
  margin: 50px auto;
  box-shadow: 0 0 28px rgba(0,0,0,0.7);
  background-color: #f8f4ec;
  border: 2px solid #1a1f2b;
}

/*Header*/

header {
  text-align: center;
  font-size: 35px;
  font-weight: bold;
  color: #e0e6ff;
  background-color: #1a1f2b;
  padding: 15px;
  text-shadow: 2px 2px 5px #000000;
}

/*Navigation Bar*/

nav {
  text-align: center;
  background-color: #2e3a59;
}

nav a {
  display: inline-block;
  color: #e0e6ff;
  padding: 10px 30px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  background-color: #5c7aea;
  color: #10121a;
}

/*Main content area*/

main {
  background-color: #ece8da;
  padding: 12px;           
  overflow: auto;
}


main img {
  margin: 10px;
  border: 3px solid black;
  width: 680px;            
}

/*Cast table*/

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  margin-top: 10px;
}

th, td {
  border: 1px solid #333;
  padding: 8px;
}

tr:nth-child(odd) {
  background-color: #dcd6c2;
}

th {
  background-color: #2e3a59;
  color: white;
}

/*Footer*/

footer {
  background-color: #1a1f2b;
  color: #e0e6ff;
  text-align: center;
  font-size: 75%;
  padding: 10px;
}

/*i know the exam said to put all styling at the top of the HTML page, but i figured this would be easier
i hope this is ok./*