@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist[wght].woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/GeistMono[wght].woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Set the main text font */
  --md-text-font: "Geist";
  /* Set the code font */
  --md-code-font: "Geist Mono";
}

.md-header {
  border-bottom: 1px solid var(--md-default-fg-color--lightest);
  box-shadow: none;
}
.md-header__inner {
  height: 3rem;
  max-width: none;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.md-header__topic:first-child {
  display: none;
}
.md-header__button.md-logo {
  padding-left: 0.8rem;
  margin-right: 0;
}

/* HEADER MODE SPECIFIC RULES */
[data-md-color-scheme="slate"] .md-header__button.md-logo img {
  display: none;
}
[data-md-color-scheme="slate"] .md-header__button.md-logo::before {
  content: "";
  display: inline-block;
  background-image: url("../balfrin-logo-named-white-thin.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 155px;
  height: 24px;
}
[data-md-color-scheme="default"] .md-header {
  background-color: #f9f9f9;
}

.md-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.md-main .md-grid {
  max-width: none;
}
.md-main__inner.md-grid {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
  margin-left: 30px;
  margin-right: 30px;
  align-items: stretch;
  flex-grow: 1;
}
.md-content {
  border-left: 1px solid var(--md-default-fg-color--lightest);
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.md-sidebar--primary {
  padding-left: 0;
  padding-right: 1.2rem;
}

.md-typeset h1 {
  color: #000000;
  font-size: 2rem;
  font-weight: 700;
}

.md-typeset h2 {
  color: #000000;
  font-size: 1.2rem; 
  font-weight: 700;
}

.md-nav__item .md-nav__link--active {
  color: #000000;
}
.md-nav__title {
  color: #000000;
}
.md-nav__list {
  color: #7c7c7c;
}

.md-content a, .md-content a:visited {
  color: #000000;
  font-weight: 500;
  text-decoration: underline;
}
.md-content a:hover {
  color: #919191; /* A light grey color */
  transition: none;
}

.md-nav--primary .md-nav__link:hover,
.md-nav--primary .md-nav__link:focus,
.md-nav--primary .md-nav__link--active:hover,
.md-nav--primary .md-nav__link--active:focus {
  color: #000000;
}
.md-nav__link {
  transition: none;
}