* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font-family: arial;
  vertical-align: baseline;
  background: inherit;
}

body {
  background-color: #4a4;
}

.site-container {
  width: 80vw;
  margin-right: auto;
  margin-left: auto;
}

div.header {
  background-color: #777;
  background-image: url("header.png");
  height: 200px;
  width: 100%;
  color: white;
}

div.header > h1 {
  text-align: center;
  background: transparent;
  text-shadow: -1px -1px 0 #880, 1px -1px 0 #880, -1px 1px 0 #880, 1px 1px 0 #880;
}

div.header > h2 {
  text-align: center;
  background: transparent;
  text-shadow: -1px -1px 0 #880, 1px -1px 0 #880, -1px 1px 0 #880, 1px 1px 0 #880;
}

.navbar {
  border: 2px solid black;
  width: 100%;
  display: block;
  overflow: auto;
  background-color: #aaa;
}

.navitem {
  float: left;
  width: 12%;
  display: block;
  overflow: auto;
  background-color:#a50;
  color: white;
  margin: 0.25%;
  font-weight: bold;
  font-family: arial;
  display: flex;  /* These 3 lines are to vertically center the text */
  justify-content: center;
  align-items: center;
}

.content {
  padding: 0.6vw;
  background-color: #fff;
  overflow: auto;
}

.intro {
  float: left;
  overflow: auto;
  display: block;
  background-color: #fff;
}

.homerefpic {
  width: 20vw;
  min-width: 150px;
  float: right;
}

.blitem {
  margin-bottom: 0.8vw;
  padding: 1vw;
  background: #bcf;
  border-radius: 10px;
}

.blogtitle {
  font-size: 150%;
  font-weight: bold;
  display: block;
}

.blogdate {
  font-size: 75%;
  margin-bottom: 1em;
  color: #666;
  display: block;
}

h1 {
  font-size: 250%;
  font-family: georgia;
}

h2 {
  font-size: 150%;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 0.5em;
}

.navitem > p {
  margin-bottom: 0;
}