:root {
  --width: 720px;
  --font-scale: 1em;
  --background-color: white;
  --page-background: #d9e6c3;
  --heading-color: #000;
  --text-color: #000;
  --link-color: #0000ff;
  --visited-color: #8b6fcb;
  --code-background-color: #dfecc3;
  --code-color: #000;
  --blockquote-border: 2px solid rgba(219, 208, 182, 0.27);
  --blockquote-color: #000;
}


@font-face {
  font-family: "BerkeleyMono";
  src:
  url("https://picopublish.sequentialread.com/files/BerkeleyMono-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "BerkeleyMono";
  src:
    url("https://picopublish.sequentialread.com/files/BerkeleyMono-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}


html {
  background: var(--page-background);
  color: var(--text-color);
}

body {
  border-width: 10px !important;
  font-family: "BerkeleyMono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Consolas", monospace;
  font-size: var(--font-scale);
  margin: auto;
  padding: 20px;
  max-width: var(--width);
  background-color: var(--background-color);
  border: 10px solid var(--background-color);
  box-shadow: 6px 10px 0px 0px rgba(0, 0, 0, 0.18),
              6px 10px 100px 0 rgba(0, 0, 0, 0.18);
  
  line-height: 2em;

  margin-bottom: 100px;
  padding-bottom: 100px;
}


@media only screen and (max-width: 45rem) {
  html body {
    padding: 0;
    border: none;
  }
  html main {
   border: none;
  }
  html header {
    padding: 1em;
  }
}

@media only screen and (max-width: 30rem) {
  html main {
    padding: 0;
  }
  html header {
    padding: 0;
  }
}

nav {
  font-size: 1.2em;
  font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  text-transform: uppercase;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.06);
  margin: 0.5em 0;
}

a {
  color: var(--link-color);
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  padding: 2px 10px;
  background-color: var(--code-background-color);
  color: var(--code-color);
  border-radius: 3px;
  font-family: "BerkeleyMono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Consolas", monospace;
  font-size: var(--font-scale);
  line-height: 2em;
}

blockquote {
  margin: 0;
  padding-left: 2em;
  border-left: var(--blockquote-border);
  color: var(--blockquote-color);
  font-style: italic;
}

main {
  border: 1px dashed #777e73;
  padding: 1rem;
  margin-bottom: 2em;
  text-align: left;
}

.title h1 {
  display: inline-block;
}

.title h1::after {
  content: '█';
  display: inline;
  vertical-align: middle;
  margin-left: -0.5em;
  font-size: 2rem;
  font-weight: bold;
  animation: blink 1.2s steps(1, start) infinite;
  font-size: 0.9em;
  padding-bottom: 0.3em;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* sequentialread comments styles */

.comment .sqr-comment-form {
  border: 0;
  background-color: #0000;
  border-radius: 0;
}

.comment .sqr-btn {
  cursor: pointer;
  color: black;
  background-color: #ddd;
  border: 1px solid gray;
  border-radius: 0;
}
.comment .sqr-btn:hover,
.comment .sqr-btn:focus,
.comment .sqr-btn:active {
  color: black;
  border: 1px solid gray;
  background-color: white;
}
.comment .sqr-btn:active:hover,
.comment .sqr-btn:active:focus {
  color: white;
  border: 1px solid black;
  background-color: #888;
}

.comment .sqr-btn[disabled] {
  background-color: #cbcbcb;
  border-color: #b3b2b5;
  color: gray;
}

/* stupid legacy of bot deterrent needing small text 🫣 */
.comment .sqr-submit-area {
  font-size: 0.8em;
}

.comment .pow-bot-deterrent {
  line-height: 2em;
  background-color: #fff;
  border-radius: 0;
  min-width: 100%;
  box-sizing: border-box;
  border: none;
}

.comment .pow-bot-deterrent-best-hash {
  line-height: 2em;
  margin-top: 0.7em;
}

.comment .sqr-error {
  line-height: 1em;
}

/* bot deterrent theme from capsul */

.comment .pow-bot-deterrent-progress-bar-container {
  border-radius: 0;
  background: #0000;
  border: 0;
  height: 0.6em;
  margin-top: 1.3em;
  box-sizing: content-box;
}

.comment .pow-bot-deterrent-progress-bar {
  background: #97dfe9;
  height: 0.6em;
  width: 0;
  border-radius: 0;
  transition: width 0.5s ease-in-out;
}

.comment .pow-checkmark-icon-checkmark {
  stroke: #069e5f;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.comment .pow-checkmark-icon-border {
  stroke: #aaa;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.comment .pow-gears-icon-gear-large,
.comment .pow-gears-icon-gear-small {
  fill: rgb(163, 96, 55);
}