body {
  background-color: #fafafa;
  font-size: 100%;
}

h1 {
  margin-left: 10%;
}

h2 {
  margin-left: 5%;
  clear: left;
}

.sidebar {
  margin: 0;
  padding: 0;
  width: 200px;
  background-color: #eee;
  position: fixed;
  height: 100%;
  overflow: auto;
}

.sidebar a {
  display: block;
  color: #222;
  padding: 8px;
  text-decoration: none;
  text-align: center;
}
 
.sidebar a.current {
  background-color: #ccc;
}

.sidebar a:hover {
  background-color: lightgreen;
}

.subbar {
  margin: 0;
  padding: 0;
  background-color: #dedede;
}

.subbar a {
  text-align: right;
}

.subbar a.current {
  background-color: #dedede;
}

.subbar a.current:before {
  content: '\003E';
  color: #777;
  text-align: left;
  float: left;
}

div.content {
  margin-left: 200px;
  padding: 1px 16px;
  height: 100%;
}

img.thumb {
  width: 250px;
  height: auto;
}

.thumbcap {
  text-align: center;
  font-size: 0.85em;
}

.gallerycard {
  background-color: #fff;
  float: left;
  margin: 8px;
  padding: 8px;
}

.frontpage {
  position: relative;
}

.bio {
  position: absolute;
  top: 16px;
  left: 16px;
  padding-top: 10%;
  padding-right: 60%;
}

.selfportrait {
  float: right;
  max-width:  60%;
  margin: 8px;
  padding: 8px;
}


@media screen and (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar a {float: left;}
  .sidebar img {display: none;}
  .gallerycard {width: 40%;}
  a.thumb img {width: 100%;}
  div.content {margin-left: 0;}
}


@media screen and (max-width: 500px) {
  .sidebar a {
    float: none;
  }
  .gallerycard {
    width: 100%;
    float: none;
}

 