* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: rgb(22, 23, 28);
    color: #FAFAFF;
    font-family: serif;
    line-height: 1.5;
}

a:link {
    color: #c8c8ff;
}
a:visited {
    color: #aeaede;
}
a:hover {
    color: #9494be;
}

header, .site-header {
    background-color: #23252d;
    color: #FAFAFF;
    padding: 3px 1% 3px 1%;
    line-height: 1.2;
    text-align: left;
    margin: 0;
    border-bottom: 1px solid rgb(22, 23, 28);
}

header strong, .site-header strong {
    font-size: 1.05rem;
    color: #FAFAFF;
    margin-right: 12px;
}

header strong a.site-title, .site-header strong a.site-title {
    color: #FAFAFF;
    text-decoration: none;
    font-weight: normal;
    letter-spacing: 0.5px;
}

header strong a.site-title:hover, .site-header strong a.site-title:hover {
    color: #c8c8ff;
    text-decoration: underline;
}

nav, .site-header .nav {
    display: inline-block;
}

nav a, .site-header .nav a {
    margin: 0 4px;
    font-size: 0.95rem;
}

.nav-cluster {
    display: inline-block;
    white-space: nowrap;
}

.sep {
    color: #9494be;
    margin: 0 4px;
}

main {
    background-color: rgb(22, 23, 28);
    color: #FAFAFF;
    padding: 16px 1% 40px 1%;
    min-height: 100vh;
    text-align: left;
    margin: 0;
}

h1, h2 {
    text-align: left;
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    margin: 1.4em 0 0.5em 0;
    border-bottom: 1px dashed #2a2c35;
    padding-bottom: 4px;
}

h3 {
    font-size: 1.05rem;
    font-weight: 500;
    color: #FAFAFF;
    margin: 1.4em 0 0.4em 0;
}

main h3:first-child,
main h1:first-child,
main h2:first-child {
    margin-top: 0;
}

p {
    line-height: 1.4;
    margin: 0.8em 0;
}

blockquote {
    margin: 1.5em 0;
    padding-left: 16px;
    border-left: 2px solid #9494be;
    color: #aeaede;
}

pre {
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

pre code {
  display: block;
  max-width: 100%;
  font-size: 0.9rem;
}

pre::-webkit-scrollbar {
  height: 6px;
}

pre::-webkit-scrollbar-track {
  background: transparent;
}

pre::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

pre::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

ul.posts {
    list-style: none;
    padding-left: 0;
    margin: 0.5em 0 1.5em 0;
}

ul.posts li {
    padding: 4px 0;
    display: block;
}

ul.posts .date {
    color: #aeaede;
    margin-left: 8px;
    font-size: 0.9em;
}

video, iframe {
    max-width: 650px;
    width: 100%;
    display: block;
    margin: 6px 0 20px 0;
}

.file-ext {
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
}

footer {
    padding: 20px 1%;
    font-size: 0.85rem;
    color: #aeaede;
}

@media screen and (max-width: 600px) {
    body, header, nav, main, iframe {
        width: 100%;
    }
}