[data-md-color-scheme=slate] {
    --md-default-fg-color: #c5ff82;  
     --md-hue: 211; 
     --md-default-bg-color:               rgba(31, 81, 28, 0.945);
}

.md-typeset .footnote {
  font-size: .64rem;
  color: hsla(47, 94%, 56%, 0.784);
}

/* START NAVIGATION CUSTOMIZATIONS */

/*.md-nav__link .md-typeset {
  font-size: .7rem;
  line-height: 1.3;
  color: #c5ff82;
} */

.md-nav__link .md-typeset {
  font-size: 0.7rem;
  line-height: 1.1;
  color: #c5ff82;
}

.md-nav--primary .md-nav__item .md-nav__link--active {
  color: var(--md-accent-fg-color);
  background: var(--md-accent-fg-color--transparent);
  border-radius: 10px;
  font-weight: 700;
}


.md-nav--secondary .md-nav__title {
  color: var(--md-accent-fg-color);
  background: var(--md-accent-fg-color--transparent);
  border-radius: 10px;
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  padding: .35rem .6rem;
  margin-left: .2rem;
  margin-right: .2rem;
  font-weight: 700;
}

/* START HEADER CUSTOMIZATIONS */

.md-grid {
  max-width: 61rem;
  margin-left: 280px;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 20px;
}

.md-ellipsis {
  overflow: visible;
  text-overflow: ellipsis;
}

.md-header__button.md-logo {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}
    
.md-header__button.md-logo img,
.md-header__button.md-logo svg {
    height: 145px;
    width: 145px;
}

[data-md-color-scheme=slate] .md-header__title {
    color:rgb(98, 205, 26);
    font-family: '420';
    flex-grow: 1;
    font-size: 68px;
    letter-spacing: 0.02em;
    height: 3.5rem;
    line-height: 3.5rem;  
    /* 2px black outline */
    -webkit-text-stroke: 4px #0e0d00;
    paint-order: stroke fill;

    /* Drop shadow */
    text-shadow: 10px 8px 6px #000000a5;
}

/* Start Text Heading Customizations */

.md-typeset h1, .md-typeset h2 {
  font-weight: 700;
  letter-spacing: -.025em;
  font-family: "Papernotes";
  font-size: 46px;
  color: rgb(82, 233, 37);
  -webkit-text-stroke: 3px #0e0d00;
  paint-order: stroke fill;
  text-shadow: 10px 8px 6px #000000a5;  
}

.md-typeset h2 {
  margin: 1.6em 0 .64em;
  font-size: 50px;
  line-height: 1.4;
  color: rgb(197, 197, 36);
  font-family: "Papernotes";
  -webkit-text-stroke: 3px #0e0d00;
  paint-order: stroke fill;
  text-shadow: 10px 8px 6px #000000a5;  
}

.sh2 {
  margin: 1.6em 0 .64em;
  font-size: 45px;
  line-height: 1.;
  color: rgb(197, 197, 36);
  font-family: "Papernotes";
  -webkit-text-stroke: 3px #0e0d00;
  paint-order: stroke fill;
  text-shadow: 10px 8px 6px #000000a5; 
}

.rndimg {
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

/* START CUSTOM FONTS HERE */

@font-face {
    font-family: '420';
    src:url('../src/fonts/PotLand.ttf');
}

@font-face {
    font-family: 'Papernotes';
    src:url('../src/fonts/Papernotes.ttf');
}

@font-face {
    font-family: 'Chill';
    src:url('../src/fonts/Chill.ttf');
}

:root > * {
/* Acce
nt color shades*/
  --md-accent-fg-color--transparent:  rgb(55, 138, 51);
  --md-accent-fg-color:               rgb(189, 212, 10);
  --md-code-bg-color:                 rgb(8, 32, 2);
  --md-mermaid-label-fg-color:        rgb(189, 212, 10);
}

/* ============================================================
   RESPONSIVE MOBILE FIXES
   Keeps existing desktop design unchanged
   ============================================================ */

@media screen and (max-width: 768px) {

    /* ========================================================
       RESET THE DESKTOP GRID OFFSET
       ======================================================== */

    .md-grid {
        max-width: 100%;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        margin-bottom: 1rem;
        box-sizing: border-box;
    }

    .md-main__inner {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .md-content {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }

    .md-content__inner {
        margin: 0;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }


    /* ========================================================
       MOBILE HEADER
       ======================================================== */

    .md-header__inner {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-left: .5rem;
        padding-right: .5rem;
        box-sizing: border-box;
    }

    /* Shrink your large desktop logo */
    .md-header__button.md-logo img,
    .md-header__button.md-logo svg {
        width: 55px;
        height: 55px;
    }

    .md-header__button.md-logo {
        margin: 0;
        padding: .2rem;
    }


    /* ========================================================
       MOBILE SITE TITLE
       Desktop version is 68px
       ======================================================== */

    [data-md-color-scheme="slate"] .md-header__title {
        font-size: 30px;
        line-height: 1.1;
        height: auto;

        -webkit-text-stroke: 2px #0e0d00;
        paint-order: stroke fill;

        text-shadow: 4px 3px 3px #000000a5;

        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .md-header__topic {
        min-width: 0;
    }

    .md-header__topic .md-ellipsis {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }


    /* ========================================================
       PAGE HEADINGS
       ======================================================== */

    .md-typeset h1 {
        font-size: 34px;
        line-height: 1.2;

        -webkit-text-stroke: 2px #0e0d00;
        paint-order: stroke fill;

        text-shadow: 4px 3px 3px #000000a5;

        overflow-wrap: normal;
        word-break: normal;
    }

    .md-typeset h2 {
        font-size: 31px;
        line-height: 1.25;
        margin: 1.3em 0 .6em;

        -webkit-text-stroke: 2px #0e0d00;
        paint-order: stroke fill;

        text-shadow: 4px 3px 3px #000000a5;

        overflow-wrap: normal;
        word-break: normal;
    }

    .sh2 {
        font-size: 30px;
        line-height: 1.25;

        -webkit-text-stroke: 2px #0e0d00;
        paint-order: stroke fill;

        text-shadow: 4px 3px 3px #000000a5;

        overflow-wrap: normal;
        word-break: normal;
    }


    /* ========================================================
       RESPONSIVE IMAGES
       ======================================================== */

    .md-typeset img {
        display: block;
        max-width: 100%;
        height: auto;
    }

    .rndimg {
        max-width: 100%;
        height: auto;
        border-radius: 14px;
    }


    /* ========================================================
       PREVENT HORIZONTAL PAGE OVERFLOW
       ======================================================== */

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .md-main,
    .md-main__inner,
    .md-content,
    .md-content__inner,
    .md-typeset {
        box-sizing: border-box;
        max-width: 100%;
    }


    /* ========================================================
       TABLES AND CODE
       These should scroll rather than expand the whole page
       ======================================================== */

    .md-typeset__table,
    .md-typeset pre {
        max-width: 100%;
        overflow-x: auto;
    }
}