body {
  margin: 0 auto;
  max-width: 800px;
  color: #555;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  letter-spacing: 0;
}

a {
  color: #4392F1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0;
}

#main {
  margin: 120px 24px;
}

#header {
  display: flex;
  height: 150px;
}

#avatar {
  margin: auto 0;
}

#avatar img {
  height:140px;
  width: 140px;
  border-radius: 3px;
}

#bio {
  flex-grow: 1;
  padding: 0 36px;
  margin: auto 0;
}

#bio h3, #bio h4, #bio a {
  margin: 2px;
}

#bio h4 {
  font-family: 'Open Sans', sans-serif;
}

#social {
  margin-top: 8px;
}

#pins {
  flex-wrap: wrap;
}

.pin {
  position: relative;
  border: 1px solid #d1d5da;
  border-radius: 3px;
  padding: 16px; 
  margin: 12px 0;
  height: 150px;
}

.pin h5 {
  margin-bottom: 8px;
}

.pin p {
  margin-bottom: 0;
}

.dot {
  display: inline-block;
  height: 12px;
  width: 12px;
  border-radius: 100%;
  vertical-align: middle;
}

.more {
  margin: 3.0rem auto 0 auto;
  text-align: center;
}

/* https://stackoverflow.com/questions/3922739/limit-text-length-to-n-lines-using-css */
.ellipsis2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* number of lines to show */
}

.ellipsis1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1; /* number of lines to show */
}

.languages {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
}

.language {
  display: inline-block;
  margin: 0 6px 0 0;
  font-size: 12px;
}

.post {
  margin-bottom: 0;
  position: relative;
}

.post-title {
  font-size: 20px;
}

.post-divider {
  margin: 10px 0 14px 0;
}

.tags {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 25%;
}

.tag {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
  color: #fff;
}

.post-footer {
  margin: 2px 0;
  display: block;
  font-size: 14px;
}

.discussion {
  float: right;
}
