* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
}

.site {
  display: grid;
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  gap: 3rem;
  margin: 0 auto;
  align-items: start;
  padding: 2rem 5rem 1rem 1rem;
}

.site-sidebar {
  position: sticky;
  top: 2rem;
  align-self: start;
  max-height: calc(100vh - 4rem);
  overflow: hidden;
}

.sidebar-drawer {
  margin: 0;
}

.sidebar-toggle {
  display: none;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.site-footer {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  text-align: center;
}

.footer-copyright {
  color: #888;
}

.site-main {
  min-width: 0;
}

.site-header,
.sidebar-section,
.post-single {
  margin-bottom: 2rem;
}

.site-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-titles,
.site-tagline,
.site-subtitle,
.meta {
  color: #555;
}

.site-titles {
  margin-bottom: 0rem;
}

.site-tagline {
  margin-bottom: 0.55rem;
}

.site-subtitle {
  margin-bottom: 0.75rem;
}

.timeago {
  font-size: 0.85rem;
}

.js .relative-time {
  visibility: hidden;
}

.js.relative-time-ready .relative-time {
  visibility: visible;
}

.site-contact {
  margin-top: 0.0rem;
  color: #555;
}

.sidebar-list {
  margin: 0;
  padding-left: 1.2rem;
  max-height: 18rem;
  overflow-y: auto;
}

.sidebar-list li {
  margin-bottom: 0.45rem;
}

.tag-list,
.tag-list-page,
.post-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.tag-list {
  margin-top: 0.5rem;
}

.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-pill {
  border-radius: 999px;
}

.tag-pill a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #111;
  font-size: 0.9rem;
  line-height: 1;
}

.tag-pill-0 a {
  background: #ffd166;
}

.tag-pill-1 a {
  background: #80ed99;
}

.tag-pill-2 a {
  background: #72ddf7;
}

.tag-pill-3 a {
  background: #f7aef8;
}

.tag-pill-4 a {
  background: #f4845f;
}

.tag-pill-5 a {
  background: #b8c0ff;
}

.tag-list li,
.tag-list-page li,
.post-list li {
  margin-bottom: 0.45rem;
}

.sidebar-contact {
  margin-top: auto;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0.5rem;
}

a {
  color: #0000ee;
}

a:visited {
  color: #551a8b;
}

.post-single h1 {
  margin-bottom: 0.25rem;
  font-size: 3.0rem;
}
.post-single h1 a {
  color: #333;
}

.content-body blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 2px solid #ccc;
}

a {
  color: #8326ad;
  text-decoration: none;
  font-weight: bold;
}

.site-title a {
  color: #333;
}

code {
  font-family: monospace;
}

pre {
  padding: 1rem;
  overflow-x: auto;
}

pre code {
  padding: 0;
}

@media (max-width: 720px) {
  .site {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-sidebar {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    max-height: none;
    overflow: visible;
  }

  .sidebar-drawer[open] {
    padding-bottom: 1rem;
  }

  .sidebar-toggle {
    display: inline-block;
    cursor: pointer;
    margin: 1rem;
    font-weight: bolder;
  }

  .sidebar-inner {
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .sidebar-contact {
    margin-top: 2rem;
  }
}
