html { font-family: sans-serif; background: #eee; padding: 1rem}
h1 {
  text-align: center;
  color:SlateBlue;
  margin: 1rem 0; 
}
a { color: #377ba8; }
hr { border: none; border-top: 1px solid lightgray; }
nav { background: white; display: flex; align-items: center; padding: 0 0.5rem; }
nav h1 { flex: auto; margin: 0; }
nav h1 a { text-decoration: none; padding: 0.25rem 0.5rem; }
nav ul  { display: flex; list-style: none; margin: 0; padding: 0; }
nav ul li a, nav ul li span, header .action { display: block; padding: 0.5rem; }
.content { padding: 0 1rem 1rem; margin-left: 200px; padding-left: 20px; min-height: 85vh;}
.content > header { border-bottom: 1px solid lightgray; display: flex; align-items: flex-end; }
.content > header h1 { flex: auto; margin: 1rem 0 0.25rem 0; }
.flash { margin: 1em 0; padding: 1em; background: #cae6f6; border: 1px solid #377ba8; }
.content:last-child { margin-bottom: 0; }
.content form { margin: 1em 0; display: flex; flex-direction: column; }
.content label { font-weight: bold; margin-bottom: 0.5em; }
.content input, .content textarea { margin-bottom: 1em; }
.content textarea { min-height: 12em; resize: vertical; }
input.danger { color: #cc2f2e; }
input[type=submit] { align-self: start; min-width: 10em; }

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  font-family: "Times New Roman", Times, serif;
  background: white;
  width: 100%;
}

/* Style the side navigation */
.sidenav {
  height: 100vh;
  width: 200px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
}


/* Side navigation links */
.sidenav a {
  color: white;
  padding: 16px;
  font-size: 24px;
  text-decoration: none;
  display: block;
}

/* Change color on hover */
.sidenav a:hover {
  background-color: #ddd;
  color: black;
}

header {
  background-color: #111;
  padding: 30px;
  text-align: center;
  color: white;
  font-size: 50px;
  margin-top: -20px;
}

footer {
  background-color: #111;
  padding: 30px;
  text-align: center;
  color: white;
  position:relative;
  bottom: 0;
  width: 100%;
  margin-bottom: -20px;
}
