/* || General setup */

html, body {
  margin: 0;
  padding: 0;
}

html {
  font-size: 10px;
  background-color: #E8E8E8;
}

body {
  width: 70%;
  margin: 0 auto;
  font-family: 'PT Sans';
}

/* || typography */

h1, h2, h3 {
  font-family: 'PT Sans';
  color: #2a2a2a;
}

p, input, li {
  font-family: 'PT Sans';
  color: #2a2a2a;
}

h1 {
  font-size: 4rem;
  text-align: center;
  color: #0D6D10;
}

h2 {
  font-size: 3rem;
  text-align: center;
}

h3 {
  font-size: 2.2rem;
}

p, li {
  font-size: 1.6rem;
  line-height: 1.5;
}

/* || header layout */

2nav, article, aside, footer {
  background-color: white;
  padding: 1%;
}

nav {
  height: 50px;
  background-color: #92352f;
  display: flex;
  margin-bottom: 10px;
}

nav ul {
  padding: 0;
  list-style-type: none;
  flex: 2;
  display: flex;
}

nav li {
  display: inline;
  text-align: center;
  flex: 1;
}

nav a {
  display: inline-block;
  font-size: 2rem;
  text-transform: uppercase;
  text-decoration: none;
  color: black;
}

nav form {
  flex: 1;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 2em;
}

input {
  font-size: 1.6rem;
  height: 32px;
}

input[type="search"] {
  flex: 3;
}

input[type="submit"] {
  flex: 1;
  margin-left: 1rem;
  background: #333;
  border: 0;
  color: white;
}

/* || main layout */

main {
  display: flex;
}

article {
  flex: 4;
  padding-left: 20px;
  padding-right: 20px;
}

aside {
  flex: 1;
  margin-left: 10px;
  padding-left: 5px;
  padding-right: 5px;
  background-color: #92352f;
}

aside li {
  padding-bottom: 10px;
}

footer {
  margin-top: 10px;
}

/* Hyperlink formatting

/* unvisited link */
a:link {
  color: white;
  text-decoration: none;
}

/* visited link */
a:visited {
  color: white;
  text-decoration: none;
}

/* mouse over link */
a:hover {
  color: black;
  text-decoration: none;
}

/* selected link */
a:active {
  color: white;
  text-decoration: none;
}

a.body:link {
	color: black;
	text-decoration: none;
}
a.body:visited {
        color: black;
        text-decoration: none;
}
a.body:hover {
        color: blue;
        text-decoration: none;
}
a.body:active {
        color: pink;
        text-decoration: none;
}

/* Table formatting */ 
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 8px;
  font-family: 'PT Sans';
  border-bottom: 1px solid #ddd;
}

tr:nth-child(even){
  background-color: #80b49f;
  color: white;
}

th {
  background-color: #1a7852;
  color: white;
}
