body {
  color: #edfcff;
  background: #003547;
  font-family: system-ui;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

a {
  color: currentColor;
}

details summary {
  cursor: pointer;
  padding: 5px 0;
  user-select: none;
}

details.blockquote>*:not(summary),
blockquote,
pre>code {
  display: block;
  margin-left: 0;
  margin-right: 0;
  padding: 5px 0 5px 20px;
  border-left: 1px dashed #fff;
  background: #fff1;
}

.bg {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(#09c, #306);
  opacity: 0;
  transition: opacity .2s linear;
}

.stencil {
  position: absolute;
  opacity: 0.65;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/assets/sqpaper-bg.png') repeat black;
  background-size: 125px;
  mix-blend-mode: darken;
}

.stencil .contentbg {
  margin: 0 auto;
  width: 700px;
  height: 100%;
  background: black;
}

.stencil .blank {
  position: absolute;
  width: 20px;
  height: 20px;
  background: black;
}

.content {
  margin: 0 auto;
  width: 700px;
  box-sizing: border-box;
  padding: 20px;
}

.content .header {
  padding: 0 0 20px;
  margin-bottom: 30px;
  border-bottom: 1px dashed #fff6;
}

.content .header nav {
  font-size: 2rem;
  font-family: monospace;
  margin: 0 0 10px;
}

.content footer {
  text-align: center;
  opacity: .5;
  font-size: .7em;
}

/* breakpoints for mobile */
@media(max-width: 750px) {

  .content {
    width: 100%;
  }

  .stencil .contentbg {
    width: 100%;
    background: linear-gradient(to right, #000c, #000, #000c);
  }

}

/* breakpoints for screen widths */
/* @media(min-width: 600px) {

  .content,
  .stencil .contentbg {
    margin-left: 500px;
  }
} */

/* formatting actual blog articles, typography, images */

h1,
h2,
h3 {
  font-weight: normal;
  font-size: 2.5em;
  margin: 2.5rem 0 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1rem;
}

p {
  margin: 1.5em 0;
}

.meta {
  opacity: .6;
}

.content img,
.content video {
  max-width: 100%;
}

.content .figure {
  mix-blend-mode: lighten;
  border-top: 1px dashed #fff6;
  border-bottom: 1px dashed #fff6;
}

.content .figure.embed>iframe {
  width: 100%;
  min-height: 300px;
  border: none;
}

pre>code {
  /* inherits the blockquote formatting above */
  display: block;
}