body {
  color: white;
  background-color: #202124;
}

::-moz-selection {
  background: var(--darkMaincolor);
  color: #000;
  text-shadow: none;
}

::selection {
  background: var(--darkMaincolor);
  color: #000;
  text-shadow: none;
}

hr {
  border-top: 3px dotted blue;
}
code {
  background-color: lightblue;
  color: black;
  text-decoration: bold;
  padding: 0.1em 0.2em;
}
pre {
  background-color: #272822;
  line-height: 1.4;
  overflow-x: auto;
  padding: 1em;
}
blockquote {
  border-color: blue;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #ddd;
}
h1::before {
  color: var(--darkMaincolor);
  content: "# ";
}
h2::before {
  color: var(--darkMaincolor);
  content: "## ";
}
h3::before {
  color: var(--darkMaincolor);
  content: "### ";
}
h4::before {
  color: var(--darkMaincolor);
  content: "#### ";
}
h5::before {
  color: var(--darkMaincolor);
  content: "##### ";
}
h6::before {
  color: var(--darkMaincolor);
  content: "###### ";
}

.toc {
  background-color: #272822;
  color: white;
}

.cover-image img {
  border: 3px solid var(--darkMaincolor);
}

a {
  border-bottom: 3px solid var(--darkMaincolor);
  color: inherit;
}
a:hover {
  background-color: var(--darkMaincolor);
  color: black;
}

.site-description a {
  color: #ddd;
}
.site-description a:hover {
  color: black;
}

.tags a {
  border-bottom: 3px solid var(--darkMaincolor);
}
.tags a:hover {
  background-color: var(--darkMaincolor);
  color: black;
}

.site-title a {
  color: white;
  text-decoration: none !important;
}

.header nav,
.footer {
  border-color: #333;
}

.highlight {
  background-color: #333;
}
.soc:hover {
  color: black;
}
.draft-label {
  color: var(--darkMaincolor);
  background-color: blue;
}
.highlight pre code[class=language-javaScript]::before,
.highlight pre code[class="language-js"]::before {
  content: "js";
  background: #f7df1e;
  color: black;
}
.highlight pre code[class*='language-yml']::before,
.highlight pre code[class*='language-yaml']::before {
  content: 'yaml';
  background: #f71e6a;
  color: white;
}
.highlight pre code[class*='language-shell']::before,
.highlight pre code[class*='language-bash']::before,
.highlight pre code[class*='language-sh']::before {
  content: 'shell';
  background: green;
  color:white
}
.highlight pre code[class*='language-json']::before{
  content: 'json';
  background: dodgerblue;
   color: #000000 
}
.highlight pre code[class*='language-python']::before,
.highlight pre code[class*='language-py']::before {
  content: 'py';
  background: blue;
  color: yellow ;
}
.highlight pre code[class*='language-css']::before{
  content: 'css';
  background: cyan;
  color: black ;
}
.highlight pre code[class*='language-go']::before{
  content: 'Go';
  background: cyan;
  color: royalblue ;
}
.highlight pre code[class*='language-md']::before,
.highlight pre code[class*='language-md']::before{
  content: 'Markdown';
  background: royalblue;
  color: whitesmoke ;
}

.callout-alert {
  color: #ffffff;
  background-color: transparent;
  border-width: 3px;
  border-style: solid;
  border-color: #ff6347;
}

.callout-custom {
  color: #ffffff;
}

.callout-tip {
  color: #ffffff;
  background-color: transparent;
  border-width: 3px;
  border-style: solid;
  border-color: dodgerblue;
}

.callout-warning {
  color: #ffffff;
  background-color: transparent;
  border-width: 3px;
  border-style: solid;
  border-color: #ffd700;
}

.translations-block {
  background-color: transparent;
  border-color: var(--darkMaincolor);
  color: #ffffff;
}

.translations-block a {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
}

.translations-block a:hover {
  background-color: #000;
  color: var(--darkMaincolor);
  border-bottom: 2px solid #000;
}


.pagination li.active a {
  background-color: var(--darkMaincolor);
  color: black;
}


/* Pagefind UI */

#toggle-search {
  color: #ddd;
  border-bottom: 3px solid var(--darkMaincolor);
}

.pagefind-ui__form::before {
  background-color: #ddd !important;
}

.pagefind-ui__search-input {
  background-color: #333 !important;
  border-color: #333 !important;
  outline: none !important;
  outline: 2px solid var(--darkMaincolor) !important;
  color: #ddd !important;
}

.pagefind-ui__search-clear {
  background-color: #333 !important;
  color: #ddd !important;
}


.pagefind-ui__message {
  color: #ddd;
}

.pagefind-ui__result {
  border-color: rgb(102, 51, 153) !important;
  border-style: dotted !important;
  border-width: 6px 0 0 0 !important;
}

.pagefind-ui__result:last-child {
  border-bottom-width: 6px !important;
}

.pagefind-ui__result-title {
  font-family: "Roboto Mono", monospace;

}

.pagefind-ui__result-excerpt {
  font-family: Montserrat, sans-serif;
  color: #ddd;
}


.pagefind-ui__result-title::before {
    color: var(--darkMaincolor);
    content: '# ';
}

.pagefind-ui__result-title .pagefind-ui__result-link {
  color: #ddd !important;
  border-bottom: 3px solid var(--darkMaincolor);
  text-decoration: none;
}

.pagefind-ui__result-title .pagefind-ui__result-link:hover {
  text-decoration: none !important;
  color: black !important;
}

.pagefind-ui__button {
  background-color: #333 !important;
  border-color: #333 !important;
  color: #ddd !important;
}

.pagefind-ui__button:hover {
  border-color: var(--darkMaincolor) !important;
}