:root {
  font-family: "Raleway", Avenir, Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif;
  color-scheme: light dark;
}

body {
  margin: 0;
}

.container {
  width: auto;
  max-width: 700px;
  padding: 0 15px;
  margin: 80px auto;
}

h1,
h2,
h3 {
  font-family: "Bitter", Georgia, serif;
  font-weight: 400;
}

code,
pre {
  font-family: "Source Code Pro", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  -webkit-font-smoothing: antialiased;
}

.identity {
  display: block;
  width: 350px;
  max-width: 100%;
  margin: 0 auto 3.5rem;
  padding: 2.5rem 0 1rem;
  color: inherit;
  font-family: "Bitter", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.9;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.identity span {
  display: block;
}

.identity-first {
  font-size: clamp(3.3rem, 13vw, 4.65rem);
  letter-spacing: 0.08em;
  text-indent: 0.08em;
}

.identity-last {
  margin-top: 0.16em;
  font-size: clamp(2rem, 8vw, 2.7rem);
  letter-spacing: 0.12em;
  text-indent: 0.12em;
}

.home p {
  line-height: 1.45;
}

.home h2 {
  margin-top: 1.2em;
}

.blog-header {
  max-width: 700px;
  padding: 0 15px;
  margin: 4rem auto 0;
  text-align: center;
}

.blog-header .identity {
  width: 350px;
  margin-bottom: 0;
}

.blog-header p {
  margin: 0;
}

.blog-header p a,
.archive a,
.article-end a {
  color: inherit;
}

.archive {
  margin-top: 5rem;
}

.archive article {
  margin-bottom: 3em;
}

.archive h1 {
  margin: 0.25em 0 0;
  font-family: inherit;
  font-size: 1.5em;
}

.archive h1 a {
  color: inherit;
  text-decoration: none;
}

.archive article > p {
  margin-top: 1em;
}

.pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 5rem;
}

.pagination span {
  color: GrayText;
}

.article-brand {
  max-width: 350px;
  padding: 0 10px;
}

.article-brand .identity {
  margin-bottom: 0;
}

.article-page {
  margin-top: 5rem;
}

.article-page > article > h1 {
  margin-top: 0.25em;
  font-family: inherit;
  font-size: 2em;
  font-weight: 700;
  text-transform: uppercase;
}

.prose p,
.prose li {
  line-height: 1.8em;
}

.prose sub,
.prose sup {
  line-height: 0;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  margin-top: 1.5em;
  font-family: inherit;
  font-weight: 700;
}

.prose a {
  color: inherit;
}

.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1em auto;
}

.prose li + li {
  margin-top: 0.5em;
}

.prose :not(pre) > code {
  padding: 4px 5px;
  color: Canvas;
  background: CanvasText;
  font-size: 0.8em;
}

.prose pre {
  padding: 1em;
  overflow-x: auto;
  color: Canvas;
  background: CanvasText;
  font-size: 0.8em;
  line-height: 1.5em;
}

.prose pre code {
  color: inherit;
  background: transparent;
}

.prose blockquote {
  margin-left: 0;
  padding-left: 1em;
  border-left: 3px solid;
}

.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.prose th,
.prose td {
  padding: 0.5em;
  border: 1px solid;
  text-align: left;
  vertical-align: top;
}

.prose hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid;
}

.article-end {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.not-found {
  min-height: calc(100vh - 160px);
}

@media (max-width: 520px) {
  .container {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .blog-header {
    margin-top: 2.5rem;
  }

  .archive,
  .article-page {
    margin-top: 3.5rem;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}
