/* Hazelbits - Neo-Brutalist Terminal Seedlings */

.hazelbits {
  --hazel-green: #00ff41;
  --hazel-bg: #0d1117;
  --hazel-border: #30363d;
}

/* Obsidian & Jupyter Book Main Containers */
.hazelbits .markdown-preview-view,
.hazelbits .markdown-source-view,
div.hazelbits {
  font-family: 'Courier New', Courier, monospace;
  background-color: var(--hazel-bg);
  color: #c9d1d9;
  padding: 2em;
  border: 1px solid var(--hazel-green);
}

div.hazelbits h1, div.hazelbits h2, div.hazelbits h3, div.hazelbits h4, div.hazelbits h5, div.hazelbits h6,
.hazelbits h1, .hazelbits h2, .hazelbits h3, .hazelbits h4, .hazelbits h5, .hazelbits h6 {
  color: var(--hazel-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--hazel-green);
  padding-bottom: 0.5em;
  margin-top: 1.5em;
}

div.hazelbits a,
.hazelbits a {
  color: var(--hazel-green) !important;
  text-decoration: none;
  border-bottom: 1px dashed var(--hazel-green);
}

div.hazelbits a:hover,
.hazelbits a:hover {
  background-color: var(--hazel-green);
  color: var(--hazel-bg) !important;
}

/* Callout Styling for "The Nursery" etc */
div.hazelbits div.admonition,
.hazelbits .callout {
  border: 2px solid var(--hazel-green);
  background-color: transparent;
  border-radius: 0;
  box-shadow: 4px 4px 0px var(--hazel-green);
  margin-top: 1em;
  margin-bottom: 1em;
}

div.hazelbits p.admonition-title,
.hazelbits .callout-title {
  background-color: var(--hazel-green);
  color: var(--hazel-bg);
  font-weight: bold;
  padding: 0.5em;
  margin: 0;
}

div.hazelbits table,
.hazelbits table {
  border: 1px solid var(--hazel-border);
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

div.hazelbits th,
.hazelbits th {
  border-bottom: 2px solid var(--hazel-green);
  text-align: left;
  padding: 8px;
  color: var(--hazel-green);
}

div.hazelbits td,
.hazelbits td {
  border-bottom: 1px solid var(--hazel-border);
  padding: 8px;
  color: #c9d1d9;
}