code[class*="language-"],
pre[class*="language-"] {
  color: #111111;
  background: #ffffff;
  text-shadow: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
  line-height: 1.6;
}

pre[class*="language-"] {
  padding: 1rem;
  margin: 0.5rem 0 1.25rem;
  overflow: auto;
  border-radius: 8px;
}

:not(pre) > code[class*="language-"] {
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  white-space: normal;
}

pre[class*="language-"] ::selection, pre[class*="language-"]::selection,
code[class*="language-"] ::selection, code[class*="language-"]::selection {
  background: #FFDC00;
  color: #111111;
}

.token.comment, .token.prolog, .token.doctype, .token.cdata {
  color: #657786;
  font-style: italic;
}

.token.punctuation { color: #5f6c7b; }

.token.property, .token.tag, .token.deleted {
  color: #FF4136;
}

.token.boolean, .token.constant, .token.symbol { color: #F012BE; }

.token.number { color: #FF851B; }

.token.selector, .token.attr-name, .token.string, .token.char, .token.inserted {
  color: #2ECC40;
}

.token.operator, .token.entity, .token.url { color: #5f6c7b; }

.token.atrule, .token.attr-value { color: #01FF70; }

.token.keyword { color: #B10DC9; }

.token.function { color: #7FDBFF; }

.token.class-name { color: #FFDC00; }

.token.regex { color: #3D9970; }

.token.important, .token.bold { color: #F012BE; font-weight: bold; }
.token.italic { font-style: italic; }

.token.namespace { opacity: 0.7; }

.code-title {
  background: #001f3f;
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  code[class*="language-"],
  pre[class*="language-"] {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  pre[class*="language-"] {
    padding: 0.75rem;
    margin: 0.5rem 0 1rem;
    border-radius: 6px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  :not(pre) > code[class*="language-"] {
    padding: 0.1rem 0.3rem;
    font-size: 0.85rem;
  }
}

