.markdown {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.6;
  user-select: text;

  p:last-child {
    margin-bottom: 5px;
  }

  p:first-child {
    margin-top: 0;
  }

  h1:first-child,
  h2:first-child,
  h3:first-child,
  h4:first-child,
  h5:first-child,
  h6:first-child {
    margin-top: 0;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 1em 0 1em 0;
    font-weight: 800;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.2em;
  }

  h4 {
    font-size: 1em;
  }

  h5 {
    font-size: 0.9em;
  }

  h6 {
    font-size: 0.8em;
  }

  p {
    margin: 1em 0;
  }

  ul,
  ol {
    padding-left: 1.5em;
    margin: 1em 0;
  }

  li {
    margin-bottom: 0.5em;
  }

  hr {
    border: none;
    border-top: 1px solid #555;
    margin: 20px 0;
    background-color: #555;
  }

  span {
    word-break: break-all;
  }

  code {
    white-space: pre-wrap;
  }
}
