body {
  background-color: darkred;
}

h1 {
  color: white;
  font-family: sans-serif;
  text-align: left;
}

h2 {
  color: white;
  font-family: sans-serif;
  text-align: left;

}

h3 {
  color: white;
  font-family: sans-serif;
  text-align: left;
}

p {
  color: lightgrey;
  font-family: sans-serif;
  font-size: 16px;
}

#mainbox {
  margin: auto;
  height: 100%;
  border: 3px solid black;
  padding: 10px;
  background-color: #36454f;
}

@media only screen and (orientation: landscape) {
  #mainbox {
    width: 60%;
  }
}

@media only screen and (orientation: portrait) {
  #mainbox {
    width: 95%;
  }
}

#navbar {
  vertical-align:top;
  width: 10%;
  float: left;
  text-align: right;
  text-transform: uppercase;
}

#navbar li {
  list-style: none;
  text-align: right;
  margin-bottom: 12px;
}

#pagebox {
  margin-left: 15%;
}

#pagebox img {
  width: 100%;
}

a.active {
  color: #0966b3;
  font-weight: bolder;
}

.toc {
  float: left;
  margin-left: 0;
}

a {
  color: grey;
}

@media only screen and (orientation: portrait) {
  a {
    width: 95%;
    font-size: 24px;
  }
}

a:link { 
  text-decoration: none; 
} 

a:visited { 
  text-decoration: none; 
}

a:hover { 
  text-decoration: none; 
}

a:active { 
  text-decoration: none; 
}
