:root {
  color-scheme: light dark;
}

h1,h2,h3,h4,h5,h6,footer,p {
    font-family: Helvetica,sans-serif;
  }
  p a, footer a {
    color: rgba(0, 128, 128, 1.0);
  }
  footer {
    font-size: 10px;
  }
  .active {
    border-bottom: 3px solid #9a9a9a;
  }
  button:hover.active {
    background: white;
  }
  button {
    cursor: pointer;
    letter-spacing: 1.2px;
    font-family: Arial,sans-serif;
    background: none;
    border-bottom: 3px solid white;
    border-top: none;
    border-right: none;
    border-left: none;
    padding: 9px 18px;
    margin: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
  }
  button:hover {
    background: #fafafa;
  }
  button a {
    text-decoration: none;
    color: black;
  }
  .small {
    font-size: 11px;
  }
  .node {
    cursor: pointer;
  }
  .node text {
    font: 12px sans-serif;
  }
  .node text.class-name {
    font-weight: bold;
  }

  .link {
    fill: none !important;
    stroke: rgba(100, 100, 100, 0.4) !important;
    stroke-width: 1.5px !important;
  }
  .small-text {
      font-size: 0.8em;
  }
  
.md-link {
  font-weight: normal;
}

/* light theme colors */
@media (prefers-color-scheme: light) { /* light system preference */
  .node text {
    fill: black;
    text-shadow:-2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
  }

  .md-link {
    fill: blue;  /* Sets the text color to blue */
  }
  
  .md-link:visited {
    fill: purple;  /* Changes the color to purple once visited */
  }
  
  .md-link:hover {
    fill: darkblue;  /* Changes the color on hover for visual feedback */
  }

  text.slot {
    fill: darkslateblue;
  }
  text.inherited-slot {
    fill: indianred;
  }
}

[data-md-color-media="(prefers-color-scheme: light)"] { /* explicit choice of light theme */
  .node text {
    fill: black;
    text-shadow:-2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
  }

  .md-link {
    fill: blue;  /* Sets the text color to blue */
  }
  
  .md-link:visited {
    fill: purple;  /* Changes the color to purple once visited */
  }
  
  .md-link:hover {
    fill: darkblue;  /* Changes the color on hover for visual feedback */
  }

  text.slot {
    fill: darkslateblue;
  }
  text.inherited-slot {
    fill: indianred;
  }
 }

/* dark theme colors */
@media (prefers-color-scheme: dark) {  /* dark system preference */
  .node text {
    fill: white;
    text-shadow:-2px -2px 0 #222, 2px -2px 0 #222, -2px 2px 0 #222, 2px 2px 0 #222;
  }

  .md-link {
    fill: rgb(129, 129, 166);  /* Sets the text color to blue */
  }
  
  .md-link:visited {
    fill: rgb(207, 159, 207);  /* Changes the color to purple once visited */
  }
  
  .md-link:hover {
    fill: rgb(147, 147, 203);  /* Changes the color on hover for visual feedback */
  }

  text.slot {
    fill: rgb(191, 187, 217);
  }
  text.inherited-slot {
    fill: rgb(215, 175, 175);
  }
}

[data-md-color-media="(prefers-color-scheme: dark)"] {  /* explicit choice of dark theme */
  .node text {
    fill: white;
    text-shadow:-2px -2px 0 #222, 2px -2px 0 #222, -2px 2px 0 #222, 2px 2px 0 #222;
  }

  .md-link {
    fill: rgb(129, 129, 166);  /* Sets the text color to blue */
  }
  
  .md-link:visited {
    fill: rgb(207, 159, 207);  /* Changes the color to purple once visited */
  }
  
  .md-link:hover {
    fill: rgb(147, 147, 203);  /* Changes the color on hover for visual feedback */
  }

  text.slot {
    fill: rgb(191, 187, 217);
  }
  text.inherited-slot {
    fill: rgb(215, 175, 175);
  }
}

  /* these help with placing the SVG in the mkdocs-material theme */
  .md-grid {
    max-width: 100%;
  }
  .md-content {
    overflow-x: auto;
  }