.content {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4em;
}

@media screen and (max-width: 650px) {
  .content {
    font-size: 1.1em;
  }
}

h1,
h2,
h3,
h3,
h4,
h5,
h6,
nav,
footer,
.recent-posts {
  font-family: "Lato", sans-serif;
}

nav,
footer {
  font-size: 1em;
}

small {
  text-transform: uppercase;
  font-size: 80%;
}

figure {
  padding-bottom: 34px;
}

figure.photo-gallery-entry {
  padding-bottom: 0px;
  text-align: center;
}

figure.photo-gallery-entry .permalink i {
  font-size: 6pt;
}

figcaption {
  text-align: center;
  margin: 10px 0 0 0;
  font-weight: lighter;
  font-style: italic;
}

figcaption span.date {
  font-style: normal;
  font-weight: normal;
  font-size: medium;
}

.footnotes {
  margin-left: 10px;
}

.row {
  max-width: 700px;
}

.inline-list {
  margin-left: -0.2em;
}

.inline-list > li {
  margin-left: 0.5em;
}

ul.recent-posts,
ol.recent-posts {
  list-style-position: inside;
  list-style-type: none;
}

ul.recent-posts li {
  padding-left: 0.5em;
}

ul.recent-posts a {
  padding-left: 0.3em;
}

ul.recent-posts em {
  display: inline-block;
  padding-left: 1.1em;
  padding-bottom: 0.6em;
  font-size: 0.8em;
}

.latest-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 24px;
  margin-bottom: 4px;
}

.content hr {
  border-width: 0;
  text-align: center;
  margin: 1.8em 0 2.4em 0;
  overflow: visible;
}

.content hr:after {
  content: "***";
  letter-spacing: 12px;
}

header {
  margin-top: 2em;
  margin-bottom: 1em;
}

header ul {
  vertical-align: middle;
  line-height: 63px;
}

header .profile-pic {
  width: 63px;
  height: 63px;
  display: block;
  border-radius: 50%;
}

.about-pic {
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  margin-bottom: 1em;
  border-radius: 2%;
}

.description {
  font-style: italic;
  font-size: 1.4em;
}

.additional-description {
  padding-top: 1em;
  font-style: normal;
  font-size: 0.6em;
}

.byline {
  font-style: italic;
  font-size: 1em;
  margin: 1em 0 1em 0;
}

.audio-player, .video-player {
  display: block;
  width: 100%;
  vertical-align: middle;
  margin-bottom: 1.25em;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tweet {
  padding-bottom: 0.8em;
}

@font-face {
  font-family: "CC";
  src: url("../fonts/cc-icons.eot");
  src: url("../fonts/cc-icons.woff") format("woff"),
    url("../fonts/cc-icons.ttf") format("truetype"),
    url("../fonts/cc-icons.svg") format("svg");
  font-weight: normal;
  font-style: normal;
}

.creative-commons-icon-circle:before {
  content: "c";
}

.creative-commons-icon-full:before {
  content: "C";
}

.copyright .creative-commons {
  font-size: 3em;
}

.creative-commons {
  font-family: "CC";
}

/* ======= Colours ======= */

a {
  color: #2090d7;
}

a:hover {
  color: #000;
}

code {
  color: #e96b08;
}

figure code {
  color: #fff;
}

figure.highlight {
  background-color: #222;
}

@media (prefers-color-scheme: dark) {
  html {
    background-color: #0d1117;
  }

  body {
    color: #d7d7d7;
    background-color: #0d1117;
    -moz-osx-font-smoothing: grayscale;
  }

  h1,
  h2,
  h3,
  h3,
  h4,
  h5,
  h6 {
    color: #ececec;
  }

  a {
    color: #58a6ff;
  }

  a:hover {
    color: #fff;
  }

  strong {
    color: #fff;
  }

  blockquote p {
    color: #d1d1d1;
  }

  code {
    color: #e77a1b;
  }
}
