/* originally from smodica - sorry for where I transmogrified it!  */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300&family=Montserrat:wght@400&family=Vollkorn:wght@700&display=swap");

p,
li {
  font-family: "Montserrat", serif;
}

h1,
h2,
h3,
h4 {
  font-family: "Vollkorn", serif;
}

i {
  font-style: italic;
  font-family: "Montserrat", serif;
}

.post {
  max-width: 820px;
  margin: 0 auto;
}

.post i,
.post-card i {
  font-size: 90%;
}

h3.heading {
  font-size: 22px;
  color: black;
}

.tag a,
.tag span {
  background: steelblue;
  color: white;
  padding: 1px 7px 1px 5px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  margin: 5px 3px;
}

.tags {
  font-family: "Roboto Mono", monospace;
}

.posts > h3 {
  font-size: 0;
}

.posts h3:not(.posts > h3) {
  font-size: 22px;
  color: black;
}

.posts a {
  text-decoration: underline;
  text-decoration-color: black;
}

.posts .tag a {
  text-decoration: none;
}

ul li a {
  font-family: "Montserrat", serif;
  text-decoration: none;
  color: black;
}

ul li b {
  font-family: "Vollkorn", serif;
  text-decoration: none;
}

img {
  border-radius: 3px;
  cursor: pointer;
}

p a {
  color: steelblue;
}

@media screen and (max-width: 720px) {
  .logo img {
    width: 96%;
    height: 50%;
  }
  .logo {
    margin-top: -5px;
  }
}

@media screen and (max-width: 500px) {
  .logo {
    margin-top: -10px;
  }
}

.posts {
  font-family: "Montserrat", serif;
}

.posts h1 {
  padding-bottom: 20px;
  font-size: 20px;
}

.opener {
  padding-top: 50px;
  padding-bottom: 50px;
}

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media screen and (min-width: 900px) {
  .post-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.post-card {
  border-radius: 8px;
  box-shadow: 1px 1px 10px 0 rgba(32, 33, 36, 0.1);
  padding: 15px 20px;
}

.post-card-img {
  margin-bottom: 10px;
}

.post-card-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card-body h3.heading {
  margin-bottom: 5px;
}

.post-card .tags {
  margin-top: 5px;
}