html {
  overflow-x: hidden;
}

body {
  font-family: "Inter Variable", sans-serif;
}

main > footer {
  display: none !important;
}

h1#introduction {
  display: none !important;
}

/* editor container */
.react-codemirror2 {
  border-radius: 8px !important;
  overflow: hidden !important;
}

.cm-s-material-ocean .CodeMirror-gutters {
  border-right: 1px solid #333 !important;
}

/* sidebar navigation */
nav [class*="rsg--heading"] {
  font-weight: bold !important;
}

nav [class*="rsg--isSelected"] > a {
  color: #c4161c !important;
}

article a {
  color: #c4161c !important;
}

/* scrollbars */
body,
[class*="rsg--sidebar"] {
  --sb-track-color: #e7dfdf;
  --sb-thumb-color: #c2bbbb;
  --sb-thumb-color--hovered: #beb3b3;
  --sb-size: 12px;
}

body::-webkit-scrollbar,
[class*="rsg--sidebar"]::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track,
[class*="rsg--sidebar"]::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 3px;
}

body::-webkit-scrollbar-thumb,
[class*="rsg--sidebar"]::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 3px;
}

[class*="rsg--sidebar"]:hover::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color--hovered);
}

/* props table */
[class*="rsg--name"] {
  font-weight: bold !important;
  min-width: 180px !important;
}
[class*="rsg--type"] {
  opacity: 1 !important;
}
[class*="rsg--tabBody"] {
  overflow-x: hidden !important;
}

/* simple markdown code snippets table */
[class*="rsg--code"] {
  color: #c4161c !important;
  background-color: #e1e1e1 !important;
  padding: 0.1em 0.35em !important;
  border-radius: 0.3em !important;
}

.banner {
  background: #eeeeee;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  border-radius: 0.5em;
  margin-bottom: 1.1em;
}
.banner img {
  filter: drop-shadow(1px 1px 1.5px #3339);
}

.highlight {
  background-size: 20px 20px;
  background-color: yellow;
  /* animation: highlight 1s linear infinite;
    background-image: linear-gradient(
            45deg, rgb(202, 246, 130) 25%,
            white 25%, white 50%,
            rgb(202, 246, 130)   50%,
            rgb(202, 246, 130)  75%,
            white 75%,
            white); */
}
@keyframes highlight {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 40px 20px;
  }
}

.typedoc-link {
  color: rgb(79, 117, 0) !important;
  text-decoration: none !important;
  font-weight: 600;
}
