@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  line-height: 1.6;
}

h1 {
  font-weight: 600;
  font-size: 4rem;
  line-height: 1;
}

h2, h3 {
  font-weight: 600;
  line-height: 1.1;
}

a {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  color: inherit;
}

nav a {
  color: white;
}

#latest h2 {
  margin: 0 0 0.5em;
}

#latest .post {
  margin-bottom: 1em;
}

#latest .post:last-child {
  margin-bottom: 0;
}

#latest h3 {
  margin: 0 0 0.25em;
}

#latest p {
  margin: 0 0 0.4em;
  line-height: 1.4;
}

.paper {
  position: relative;
  isolation: isolate;     /* keeps the blend effects contained to this box */
  overflow: hidden;       /* clips the texture to rounded corners */
}

/* Fine grain */
.paper::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Soft blotchy unevenness, like ink or paper that isn't perfectly flat */
.paper::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.015' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
}