@import url("https://app.smartcontext.ai/default/https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600;700&display=swap");

:root {
    --base: #fff;
    --surface: #efefef;
    --text: #333;
    --muted: #444;
    --accent: dodgerblue;
}

@media (prefers-color-scheme: dark) {
    :root {
        --base: #111;
        --surface: #333;
        --text: #eee;
        --muted: #ddd;
        --accent: dodgerblue;
    }
}

html,
body {
    background: var(--base);
}

html {
    font-size: 87.5%;
    /*14px*/
}

body {
    max-width: 100ch;
    margin: 0 auto;
    padding: 1em;
    color: var(--text);
    font-family: "Fira Code", monospace;
    font-weight: 400;
    line-height: 1.75;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 3rem 0 1.38rem;
    font-family: "Fira Code", monospace;
    font-weight: 400;
    line-height: 1.3;
}

h1 {
    margin-top: 0;
    font-size: 3.052rem;
}

h2 {
    font-size: 2.441rem;
}

h3 {
    font-size: 1.953rem;
}

h4 {
    font-size: 1.563rem;
}

h5 {
    font-size: 1.25rem;
}

small,
.text_small {
    font-size: 0.8rem;
}

pre,
code {
    font-size: 1rem;
}

code {
    padding: 5px;
    border: 1px solid var(--surface);
}

pre {
    white-space: pre-wrap;
    padding: 10px;
    border: 1px solid var(--surface);
}

pre>code {
    padding: 0px;
    border: 0px;
}

a {
    color: inherit;
    text-underline-offset: 4px;
}

a:hover {
    color: var(--accent);
}

hr {
    border: 0px;
    border-top: 1px solid var(--surface);
}

blockquote {
    margin: 0px;
    padding: 0px;
    border-left: 2px solid var(--muted);
    padding-left: 10px;
}

#search-container {
  display: block;
  margin:0 auto;
}

#search-container > input[type="text"] {
  width: 100%;
  background: var(--base);
  color: var(--text);
  padding: 0.5rem;
  border-radius: 4px;
  border: 2px solid var(--surface);
}

#search-container > input[type="text"]:hover {
  border-color: var(--text);
}

#search-results {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-height: 200px;
  overflow: auto;
}

.mudkip-search-item {
  margin: 0.25rem;
  display: block;
}