body {
  line-height: 1.8em;
  background-color: rgb(250, 250, 249);
  color: #1d1f21;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  -webkit-font-smoothing: antialiased;
}

.posts-listing h2 {
  color: #000;
}

.posts-listing li:hover {
  background-color: #eee;
  border-left-color: #222;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #1d1f21;
    color: #aaa;
  }

  .posts-listing h2 {
    color: #eee;
  }

  .posts-listing li:hover {
    background-color: #333;
    border-left-color: #666;
  }
}

p {
  font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: ui-serif, Georgia, Cambria, Times New Roman, Times, serif;
  font-weight: 100;
}

h1 {
  line-height: 1.2em;
  margin-top: 0px;
}

h2 {
  margin-top: 30px;
  margin-bottom: 5px;
  font-size: 22px;
}

ol,
ul,
blockquote {
  padding: 13px 0px;
  border-radius: 4px;
}

blockquote {
  margin: 0px;
}

#wrapper {
  max-width: 798px;
  margin: auto;
  padding: 20px;
}

code {
  font-family: Consolas, monaco, monospace;
  font-size: 14px;
}

.imageCaption {
  color: #999;
  background-color: #333;
  position: relative;
  padding: 20px 10px 5px 10px;
  border-radius: 7px;
  top: -19px;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 7px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
}

pre {
  padding: 20px;
  overflow: auto;
  line-height: 1.5em;
  border-radius: 7px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.4);
}

a {
  color: #308ac1;
  transition: color 0.2s, font-weight 0.2s;
}

a:hover {
  color: #308ac1;
}

a:visited {
  color: #308ac1;
  text-decoration: none;
}

.blog-post-subheader {
  font-size: 14px;
  color: #777;
  margin-top: -14px;
}

.blog-post-title time {
  margin-top: 36px;
}

.blog-post-title h1 {
  font-size: 54px;
  margin-bottom: 48px;
}

.blog-post-title h2 {
  font-size: 22px;
  font-weight: 400;
  color: #999;
  margin-top: -50px;
  margin-bottom: 40px;
  line-height: 1.6em;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

li {
  list-style: none;
  margin-bottom: 25px;
  border-radius: 8px;
  padding-left: 10px;
  width: 100%;
}

li.video {
  max-width: 550px;
  margin-bottom: 25px;
}

li img {
  width: 100%;
  margin-bottom: 15px;
  height: 285px;
  object-fit: cover;
}

li:last-child {
  margin-bottom: 0px;
}

li p,
blockquote p {
  margin: 0px;
}

header {
  border-bottom: 1px solid #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.darkmode-switch {
  cursor: pointer;
  text-decoration: none;
}

.darkmode-switch img {
  height: 18px;
  position: relative;
  top: 3px;
  box-shadow: none;
}

.darkmode-switch.dark {
  display: none;
}

.darkmode-switch.light {
  display: none;
}

.darkmode-switch.on {
  display: block;
}

footer {
  border-top: 1px solid #333;
  margin: 20px 0 40px 0;
  padding-top: 10px;
}

a.subscribe {
  font-weight: 900;
  text-decoration: none;
}

.type {
  font-size: 10px;
  text-transform: uppercase;
  width: 40px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  display: inline-block;
  background-color: #333;
  color: #fff;
  border-radius: 7px;
  padding: 0px;
  position: relative;
  top: -1px;
}

.posts-listing li {
  padding: 0px;
}

.posts-listing {
  display: flex;
  flex-direction: column;
}

.posts-listing a {
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 10px 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.posts-listing a h2 {
  margin-top: 0px;
}

.posts-listing div {
  margin-bottom: 15px;
}

.posts-listing a:hover {
}

time {
  font-size: 14px;
  display: block;
  color: rgb(120, 113, 108);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.keep-reading {
  color: #666;
  text-decoration: underline;
  display: block;
}

.postImage {
  opacity: 0.1;
  width: 100%;
}

.fade {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  z-index: -10;
  max-height: 300px;
  overflow: hidden;
}

.fader {
  position: absolute;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), #1d1f21);
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  z-index: 3;
}

.chroma {
  color: #f8f8f2;
  background-color: #1a1a1a;
}
.chroma .err {
  color: #960050;
  background-color: #1e0010;
}
.chroma .lntd {
  vertical-align: top;
  padding: 0;
  margin: 0;
  border: 0;
}
.chroma .lntable {
  border-spacing: 0;
  padding: 0;
  margin: 0;
  border: 0;
  width: auto;
  overflow: auto;
  display: block;
}
.chroma .hl {
  display: block;
  width: 100%;
  background-color: #ffc;
}
.chroma .ln,
.chroma .lnt {
  margin-right: 0.4em;
  padding: 0 0.4em;
}
.chroma .k,
.chroma .kc,
.chroma .kd {
  color: #66d9ef;
}
.chroma .kn {
  color: #f92672;
}
.chroma .kp,
.chroma .kr,
.chroma .kt {
  color: #66d9ef;
}
.chroma .na,
.chroma .nc {
  color: #a6e22e;
}
.chroma .no {
  color: #66d9ef;
}
.chroma .nd,
.chroma .ne,
.chroma .nf,
.chroma .nx {
  color: #a6e22e;
}
.chroma .nt {
  color: #f92672;
}
.chroma .l {
  color: #ae81ff;
}
.chroma .dl,
.chroma .ld,
.chroma .s,
.chroma .s2,
.chroma .sa,
.chroma .sb,
.chroma .sc,
.chroma .sd {
  color: #e6db74;
}
.chroma .se {
  color: #ae81ff;
}
.chroma .s1,
.chroma .sh,
.chroma .si,
.chroma .sr,
.chroma .ss,
.chroma .sx {
  color: #e6db74;
}
.chroma .il,
.chroma .m,
.chroma .mb,
.chroma .mf,
.chroma .mh,
.chroma .mi,
.chroma .mo {
  color: #ae81ff;
}
.chroma .o,
.chroma .ow {
  color: #f92672;
}
.chroma .c,
.chroma .c1,
.chroma .ch,
.chroma .cm,
.chroma .cp,
.chroma .cpf,
.chroma .cs {
  color: #75715e;
}
.chroma .gd {
  color: #f92672;
}
.chroma .ge {
  font-style: italic;
}
.chroma .gi {
  color: #a6e22e;
}
.chroma .gs {
  font-weight: 700;
}
.chroma .gu {
  color: #75715e;
}
pre {
  overflow: auto;
}

.lds-hourglass {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-hourglass:after {
  content: " ";
  display: block;
  border-radius: 50%;
  width: 0;
  height: 0;
  margin: 8px;
  box-sizing: border-box;
  border: 32px solid #555;
  border-color: #555 transparent #555 transparent;
  animation: lds-hourglass 1.2s infinite;
  animation-play-state: inherit;
}
@keyframes lds-hourglass {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  100% {
    transform: rotate(1800deg);
  }
}

#factory-info {
  font-size: 14px;
  color: #777;
}
