body {
  background-color: #F9FAFF;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  margin: auto;
  padding: 0 16px;
  margin-bottom: 60px;
  max-width: 1360px;
  overflow-x: hidden;
}

h1, h2 {
  font-weight: 300;
}

a.postcard:link {
  text-decoration: inherit;
  color: inherit;
  cursor: auto;
}

a.postcard:visited {
  text-decoration: inherit;
  color: inherit;
  cursor: auto;
}

.header-info {
  text-align: center;
}

.header-info p {
  color: #666;
}

/* Masonry layout */
.postcard-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 1.8rem;
  grid-auto-rows: 0;
  margin: 1.8rem;
}

.postcard {
  background-color: #FFF;
  border-radius: 4px;
  box-shadow: 0 0 24px #DDD;
  user-select: none;
}

/* PostCard */
.card {
  cursor: pointer;
  display: inline-block;
}

.card > h2 {
  text-align: center;
  margin-left: 4%;
  margin-right: 4%;
}

.card > img {
  max-height: 100%;
  max-width: 100%;
}

.card > p {
  color: #666;
  font-size: 0.9em;
  line-height: 1.8;
  margin: 3% 6%;
  text-align: justify;
}

/* Post */
.post {
  line-height: 1.8;
  max-width: 800px;
  text-align: justify;
}

.post a:link {
  color: inherit;
}

.post a:visited {
  color: inherit;
}

.back {
  font-weight: bold;
}

.post h2 {
  margin-top: 3rem;
}

.collage {
  display: table;
  margin: 0 auto;
}

.collage > div {
  display: table-cell;
  vertical-align: top;
}

.post img {
  max-height: 100%;
  max-width: 100%;
}

.youtube {
  height: 315px;
  width: 560px;
}

/* For iPhone 5 screen size */
@media screen and (max-width: 360px) {
  .header-info > h1 {
    font-size: 26px;
  }

  .postcard-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media screen and (max-width: 420px) {
  .youtube {
    height: 190px;
    width: 343px;
  }
}
