@import url('https://fonts.googleapis.com/css?family=Arya|Crimson+Text:400,400i,700');
.sans {
  font-family: 'Arya', sans-serif;
}

.card {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-self: center;
  align-items: center;
  box-shadow: 0.125rem 0.125rem 1rem 0rem rgba(0, 0, 0, 0.4);
  padding: 1rem;
  padding-top: 0;
  margin-bottom: 1rem;
}

blog-post {
  max-width: calc(100vw - 1rem);
}

pre, code {
  overflow: hidden;
}

p {
  text-align: left;
}

.container {
  max-width: 60vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
  .container {
    max-width: 90vw;
  }
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) {
  .container {
    max-width: 98vw;
  }
}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
  .container {
    max-width: 70vw;
  }
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
  .container {
    max-width: 70vw;
  }
}

/* Desktops and laptops ----------- */
@media only screen  and (min-width : 1224px) {
  .container {
    max-width: 65vw;
  }
}

/* Large screens ----------- */
@media only screen  and (min-width : 1824px) {
  .container {
    max-width: 40vw;
  }
}
