/* https://www.joshwcomeau.com/css/custom-css-reset/ */
/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}

/*
  2. Remove default margin
*/
* {
  margin: 0;
}

/*
  3. Allow percentage-based heights in the application
*/
html, body {
  height: 100%;
}

/*
  Typographic tweaks!
  4. Add accessible line-height
  5. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
  6. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/*
  7. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}

/*
  8. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/*
  9. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

.wrapper-main, .wrapper-header, .wrapper-footer {
  width: 100%;
  margin: 0 auto;
  max-width: 900px;
}

/* Sticky Footer */
.wrapper {
  min-height: calc(100vh - 40px);
}

.wrapper-footer {
  height: 40px;
}

/* End Sticky Footer */
/* Style inspiration and settings adapted from https://github.com/jgthms/web-design-in-4-minutes*/
html {
  font-size: 12pt;
}

body {
  font-family: "Courier New", "Helvetica", sans-serif;
}

.padded {
  padding-top: 30px;
  padding-bottom: 30px;
  line-height: 30px;
}

.nowrap {
  white-space: nowrap;
}

.main-content {
  padding-top: 30px;
  padding-bottom: 30px;
  line-height: 30px;
}

.main-content h2 {
  padding-top: 15px;
  padding-bottom: 5px;
}

body {
  color: #c5ccce;
  background-color: #282f3a;
}

h1,
h2,
strong {
  font-weight: 500;
  color: #dcdede;
}

a {
  color: #7e92a2;
}

h1 > a {
  color: inherit;
  text-decoration: inherit;
}

h1:hover > a::after {
  content: " #";
  color: #7e92a2;
}

details > summary {
  cursor: pointer;
}

pre {
  padding: 1em;
  overflow: scroll;
  background: #282828;
}

:not(:is(pre)) > code {
  background: #282828;
  padding: 2px 4px;
}

.footer-text {
  display: block;
  position: relative;
  font-size: 14px;
}

.header {
  padding-top: 35px;
}

.header nav {
  padding-top: 10px;
  padding-bottom: 20px;
}

.header nav a {
  padding-right: 3px;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.float-center {
  text-align: center;
}

.post-item {
  display: block;
  position: relative;
  line-height: 24px;
  padding-bottom: 5px;
  margin: 5px 0;
}

.post-summary {
  padding-top: 30px;
  padding-bottom: 30px;
}

.post-nav {
  padding-top: 100px;
  text-align: center;
}

.category-summary {
  padding-top: 30px;
  padding-bottom: 30px;
}

.category-all-nav,
.category-header {
  display: block;
  position: relative;
  line-height: 24px;
  margin: 5px 0;
  padding-bottom: 10px;
  padding-top: 10px;
}

.post-info {
  padding-top: 2em;
  padding-bottom: 2em;
}

.post-content {
  line-height: 1.8em;
  padding-bottom: 2em;
}

.post-content > * {
  margin-bottom: 1.5em;
}

.post-content > :is(h1, h3, code, pre) {
  margin-bottom: 0;
  padding-bottom: 1em;
  padding-top: 1em;
}

.post-content h2 {
  margin-bottom: 0;
  padding-bottom: 2em;
  padding-top: 2em;
}

.post-content strong {
  font-weight: bold;
}

.post-content li {
  margin-bottom: 1em;
}

.post-content li > * {
  margin-bottom: 0.5em;
}

.post-content hr {
  margin-bottom: 2em;
  margin-top: 2em;
}

.post-content blockquote {
  margin-left: 1.5em;
  padding-left: 1.5em;
  margin-bottom: 1.5em;
  color: #aaa;
  border-left: 3px solid #ccc;
}

.post-content blockquote > * {
  margin-bottom: 1.5em;
}

.post-content blockquote strong {
  color: #ccc;
}

.post-content blockquote li {
  margin-bottom: 0.5em;
}

.post-content figure {
  width: 90%;
  padding-top: 3em;
  padding-bottom: 3em;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.post-content figure > * {
  width: 100%;
  margin-top: 0.4em;
}

.post-content figure figcaption {
  width: 90%;
  font-style: italic;
  font-size: 90%;
}

.post-content figure img {
  width: 100%;
  max-height: 80em;
  object-fit: contain;
}

.post-content figure.small img {
  max-height: 40em;
}

.mobile-only {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .wrapper-main, .wrapper-header, .wrapper-footer {
    max-width: calc(100vw - 2em);
  }
  .mobile-hide {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
  .header {
    padding-top: 16px !important;
  }
  .header nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-text {
    float: left !important;
  }
}

/*# sourceMappingURL=styles.css.map */