::selection {
  background-color: hsl(120, 85%, 20%);
  color: var(--color-green-light);
}

:focus-visible {
  outline: 3px solid orange;
  transition: outline 0.2s ease;
  border-radius: inherit;
}

html {
  font-size: var(--font-size);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font);
  scrollbar-color: var(--color-purple-hover) transparent;
  scrollbar-width: 1px;
  caret-color: orange;
  height: 100%;
  font-size: var(--font-size);
  font-family: var(--font);
  background-color: #0f0f0f;
  color: rgb(200, 200, 200);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #0f0f0f;
  /* padding: 12px; */
  padding-top: 0px;
  box-sizing: border-box;
  line-height: 1.8;
  user-select: text;
}

div#md-wrapper {
  padding-bottom: 50px;
  /* border: var(--glass-border); */
  border-top: none;
  /* border-radius: 0 0 20px 20px; */
  min-height: 100vh;
  overflow: hidden;
}

div#markdown-box {
  margin: 0 auto;
  padding: 50px;
  margin-inline: auto;
  max-width: max-content;
  user-select: text;
}

p {
  max-width: 60ch;
  hyphens: auto;
  text-wrap: pretty;
  margin: 20px 0;
  text-indent: 2em;
  line-height: 2.5rem;
  user-select: text;
  font-size: 1rem;
  font-family: sans-serif;
}

hr {
  color: hsla(var(--color-gray-100-a), 0.4);
  border: 0.5px solid;
  border-radius: 100%;
  max-width: 65ch;
  margin: 0 auto;
}

h1 {
  text-align: center;
  font-size: 3rem;
  margin: 0;
}

.tape {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  max-width: 55ch;
  padding: 0 20px;
  border-radius: 4px;
  color: white;
  -webkit-text-stroke: 0.5px white;
  text-shadow: 2px 0 black, -2px 0 black, 0 2px black, 0 -2px black,
    1px 1px black, -1px -1px black, 1px -1px black, -1px 1px black;
  background-image: repeating-linear-gradient(
    -45deg,
    rgb(180, 156, 0) 0 20px,
    hsla(0, 0%, 7%, 1) 20px 40px
  );
}

blockquote {
  color: var(--color-gray-400);
  text-indent: 0;
  padding-left: 10px;
  margin-left: 5px;
  border-left: 3px var(--color-gray-400) solid;

  p {
    font-size: 0.95rem;
    text-indent: 0;
    line-height: 2rem;
  }
}

@media only screen and (max-width: 700px) {
  h1 {
    font-size: clamp(1.5rem, 7vw, 6rem);
    padding-top: 50px;
  }

  div#md-wrapper {
    background: radial-gradient(
      circle at top,
      transparent,
      hsla(var(--color-green-light-a), 0.06)
    );
  }

  a#navigate-back-a {
    position: fixed;
    padding-right: 70px;
    padding-bottom: 10px;
    top: 12px;
    left: 12px;
  }

  #markdown-box {
    margin: 0;
    padding: 10px !important;
    padding-bottom: 0;
  }

  #markdown-box p {
    text-indent: 0;
    font-size: 0.8rem;
    line-height: 2rem;
  }

  a#navigate-back-a {
  }

  a#navigate-back-a img {
    height: 1.5rem;
    margin: 0;
    border-radius: 10px;
  }

  a#navigate-back-a:hover div#nav-back,
  a#navigate-back-a:focus-visible div#nav-back {
    padding-right: 0 !important;
  }

  .tape {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    max-width: 55ch;
    padding: 0 20px;
    border-radius: 4px;
    color: white;
    -webkit-text-stroke: 0.5px white;
    text-shadow: 2px 0 black, -2px 0 black, 0 2px black, 0 -2px black,
      1px 1px black, -1px -1px black, 1px -1px black, -1px 1px black;
    background-image: repeating-linear-gradient(
      -45deg,
      rgb(180, 156, 0) 0 20px,
      hsla(0, 0%, 7%, 1) 20px 40px
    );
  }

  blockquote {
    color: var(--color-gray-400);
    text-indent: 0;
    padding-left: 10px;
    margin-left: 5px;
    border-left: 3px var(--color-gray-400) solid;
    line-height: 2rem;
  }
  blockquote p {
    text-indent: 0;
    line-height: 2rem;
  }
}
