/* LAYOUT */

/* libre-baskerville-regular - latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/libre-baskerville-v14-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/libre-baskerville-v14-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* libre-baskerville-700 - latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/libre-baskerville-v14-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/libre-baskerville-v14-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* libre-baskerville-italic - latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('../fonts/libre-baskerville-v14-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/libre-baskerville-v14-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

body {
  color: #333;
  line-height: 1.5;
  max-width: 45rem;
  padding: 1rem;
  margin: 0 auto;
  font-family: Libre Baskerville, sans-serif;
  background-color: #ded2c0;
}

a {
  color: #333;
}

.post-title {
  margin-bottom: 1rem;
}

.post-date {
  margin-bottom: 2rem;
  font-style: italic;
}

.content {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

img {
  max-width: 100%;
  box-shadow: 0 4px 8px 0 rgb(168, 159, 153), 0 6px 20px 0 rgb(144, 130, 111);
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

/* NAVIGATION */

.site-nav {
  display: flex;
  font-size: 125%;
  margin-bottom: 1rem;

}

.site-nav a {
  display: block;
  padding: 1rem;
  color: black;
  text-decoration: none;
}

.site-nav .logo {
  font-weight: bold;
  padding-left: 0;
}

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 48rem) {
  .site-nav,
  .main-menu {
    flex-direction: column;
  }

  .site-nav a {
    padding: 0.5rem;
    padding-left: 0;
  }
}

/* LISTS */

.post-snippet {
  margin-bottom: 1rem;
}

.post-snippet h3 {
  margin-bottom: 0.25rem;
}

html {
    visibility: visible;
    opacity: 1;
}

/* IFRAMES */

iframe {
  max-width: 100%
}