html, body {
  background-color: #333333;
  padding: 0;
  margin: 0;
  font-size: 1em;
  font-family: futura-pt, Verdana, Geneva, Tahoma, sans-serif;
  height: 100%;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.content {
  overflow-y: auto;
  overflow-x: hidden;
  max-width: 100vw;
  padding: 20px;
  margin-top: 120px;
}

#profilepic {
  width: 200px;
  max-width: 300px;
  margin-right: 20px;
  float: left;
  border: solid 4px white;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, .7);
}

.bio {
  color: white;
  margin-bottom: 10px;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1.75;
  letter-spacing: .05rem;
  font-family: futura-pt, Verdana, Geneva, Tahoma, sans-serif;
}

header {
  width: 100vw;
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  content: "";
  clear: both;
  display: table;
  overflow: auto;
}

h1 {
  height: 80px;
  display: block;
  color: white;
  font-size: 4rem;
  letter-spacing: .1em;
  text-align: center;
  font-family: futura-pt, Verdana, Geneva, Tahoma, sans-serif;
  margin: 0;
  background: #009999;
}

p, li, a {
  color: white;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-family: futura-pt, Verdana, Geneva, Tahoma, sans-serif;
  list-style-type: none;
  line-height: 1.5rem;
  letter-spacing: .05rem;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  height: 40px;
  background-color: #999999;
  width: 100vw;
  overflow: auto;
  justify-content: center;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, .7);
}

nav ul{
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-flex;
}

nav li{
  display: inline-flex;
}

nav a {
  display: flex;
  align-items: center;
  border: none;
  margin: 0;
  padding: 0 20px;
  background-color: #999999;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  font-family: futura-pt, Verdana, Geneva, Tahoma, sans-serif;
}

@media (pointer: fine) and (hover: hover) {
  nav a:hover {
    text-decoration: underline;
  }
}

.logoimage {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

@media screen and (max-width: 768px) {
  h1 {
    height: 40px;
    font-size: 2rem;
    padding: 10px;
  }
  nav a {
    font-size: 1rem;
  }
  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    padding: 20px;
    margin-top: 100px;
  }
  #profilepic {
    width: 100%;
    float: none;
    margin: 0 0 20px 0;
    border: solid 4px white;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .7);
  }
}

@media screen and (max-width: 250px) {
  h1 {
    height: 20px;
    font-size: 1rem;
    padding: 10px;
  }
  nav {
    height: 30px;
    justify-content: space-evenly;
  }
  nav a {
    padding: 0 10px;
    font-size: .75rem;
  }
  .content {
    margin-top: 70px;
  }
  .pageText {
    display: none;
  }
  .logoimage {
    width: 16px;
    height: 16px;
    margin-right: 0;
  }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #333333;
}

::-webkit-scrollbar-thumb {
  background: #999999;
}

::-webkit-scrollbar-thumb:hover {
  background: #d6d6d6;
}