/**
 * Custom CSS specific to this website
 */

.posts .post {
  margin-bottom: 3em;
}

.post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-family: "PT Sans", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: #313131;
  letter-spacing: -.025rem;
}

.post-meta .avatar {
  border-radius: 50%;
	height: 2rem;
  width: 2rem;
  max-width: none;
  margin: initial;
  border: 1px solid #bbb;
}

.author {
  padding: 0 10px;
  color: #9a9a9a;
}

.post-meta .post-date {
  margin: 0 0 0 auto;
}

.iframe-rounded {
  position: relative;
  border-radius: 10px;
  padding-bottom: 62.5%;
  height: 0;
  overflow: hidden;
  margin: 1rem 0 1rem 0;
}

.iframe-rounded .iframe-responsive {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mobile-message {
  margin-bottom: 1rem;
  display: none;
}

@media only screen and (max-width: 768px) {
  .mobile-message {
    display: block
  }
}

.post-preview {
  border-radius: 5px;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: .5rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.post-preview-title {
  background-color: rgba(0,0,0,0.65);
  position: absolute;
  bottom: 0;
  padding: 1rem 1rem 0 1rem;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 5px;
}

.post-preview-title h1 {
  color: white;
  margin-bottom: 1rem;
}

.post-preview .post-date {
  font-family: "PT Sans", Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -.025rem;
  color: white;
  margin-bottom: 0.5rem;
}

.about-image {
  max-height:14rem;
  float:right;
  margin: 5px;
}
