:root{
  --note-bg: (43, 155, 70, 0.2);
  --note-bd: (43, 155, 70);

  --warning-bg1: #ff660010;
  --warning-bg2: #ff91002f;
  --warning-bd: #ff9100;

  --secondary-color: #ffb52d;
  --compliment-color: #87281a;
  --hover-secondary-color: #db9a21;
  --inner-secondary-color: #272218;

  --background: #080b0c;
  --inner-background: #1f1f1f;
  --partial-background: #29161660;

  --li-button: #252525;
  --border-color: #252525;
}

body{
    background-color: var(--background);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 400;
    font-size: 16px;
}

*{
    scrollbar-gutter: stable both-edges;
}

.title-img {
    background-color: transparent !important;
    margin: auto;
}

.wm-page-content {
  max-width: 60vw;
}

h1{
  text-align: center;
  font-weight: 1000;
}

h2{
  text-align: center;
  font-weight: 700;
}

h3{font-weight: 700;}
h4{font-weight: 600;}
h5{font-weight: 500;}

h3, h4, h5, h6 {
  padding-top: 0px;
  margin-top: 15px;
  margin-bottom: 5px;
}

h7 {
    font-weight: 800;
    font-size: 12px;
    color: var(--compliment-color);
}

h4{margin-bottom: 2px;}
h5{margin-bottom: 1px;}

p{
  margin: 0 0 2px;
}
hr{
  margin-top: 5px;
  margin-bottom: 5px;
}
footer{
  text-align: center;
  margin: auto;
  float: middle;
  width: 100vw !important;
}

.flex{
  display:flex;
  flex-basis: auto;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.center{
  text-align: center;
  margin: auto;
}

.m-1{
  margin: 30px 30px 30px
}

@media (min-width: 992px){
  .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9 {
      float: none;
  }
}

@keyframes glowing {
  0% { background-color: #98d4ff; box-shadow: 0 0 5px #fff; }
  10% { background-color: #92cdf7; box-shadow: 0 0 20px #fff; }
  20% { background-color: #8cc7f2; box-shadow: 0 0 20px #fff; }
  30% { background-color: #85c0eb; box-shadow: 0 0 20px #fff; }
  40% { background-color: #7fb9e4; box-shadow: 0 0 20px #fff; }
  50% { background-color: #78b1dc; box-shadow: 0 0 20px #fff; }
  60% { background-color: #7fb9e4; box-shadow: 0 0 20px #fff; }
  70% { background-color: #85c0eb; box-shadow: 0 0 20px #fff; }
  80% { background-color: #8cc7f2; box-shadow: 0 0 20px #fff; }
  90% { background-color: #92cdf7; box-shadow: 0 0 20px #fff; }
  100% { background-color: #98d4ff; box-shadow: 0 0 5px #fff; }
}

blockquote {
  background: var(--partial-background);
  border-left: 3px solid var(--secondary-color);
  margin: 0px 0px;
  padding: 10px;
  font-size: 16px;
}

/*##################################################
# Update Tab
####################################################*/
.new_update {
    background-color: var(--li-button);
    color: red;
}

/*##################################################
# Side Panel
####################################################*/
.wm-toc-pane {
    max-width: 325px;
    min-width: 250px;
    width: 16vw;
    background-color: var(--background);
    overflow: auto;
    scrollbar-width: none;
}

.wm-toctree:not(li > *) {
    background-color: var(--inner-background);
    border: 0px;
    box-shadow: 3px 3px black;
}

.wm-toctree > li:not(ul>li>ul>li) {
    box-shadow: 1px 1px rgba(0, 0, 0, 0.411);
    padding: 2px;
}

/*################### Top Link Highlights ###################*/
li:not(.wm-page-toc).wm-toc-li-nested > .wm-toctree > .wm-toc-li:first-child {
    font-weight: 700;
    font-size: 16px;
    border: 1px;
    margin: auto;
    text-align: center;
    padding: 2px;
    padding-right: 30px;
    max-width: 80%;
    border-color: black;
    border-style: solid solid solid solid;
    background-color: var(--li-button)
}

li:not(.wm-page-toc).wm-toc-li-nested > .wm-toctree > .wm-toc-li:first-child:hover {
    background-color: #2C313A;
}

/*################### DropDown Visuals ###################*/
.wm-toc-opener {
    border: 1px;
    margin: 4px;
    border-color: black;
    border-style: solid solid solid solid;
    background-color: var(--li-button)
}

/*################### Anim Fix ###################*/
/* Base theme animations for collapse causes some weird bugs with
   my changes, so this resets them to make it smooth again.
   Probably could be fixed via changing the animation if someone
   wants to find and alter it here */
.collapse {
    margin-left: 12px;
    padding:0;
}

.collapsing {
    margin-right: -12px;
}

/*##################################################
# List CSS
####################################################*/
li > :is(h2,h3,h4,h5,h6) {
    margin-top: 5px;
    color: white !important;
}

/*##################################################
# Link-List CSS
# -- Intended for a stylized list of interactive links
####################################################*/
a > code:hover {
    color: var(--secondary-color);
}

.link-list > *{
    font-size: 18px;
    margin-top: 5px;
}

/*##################################################
# Progress System
####################################################*/
.progress-bar-container > div{
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    border-style: none none none solid;
    border-color: var(--secondary-color);
    border-width: 4px;
    margin-bottom: 10px;
    box-shadow: 2px 2px rgba(0, 0, 0, 0.623);
    height: min-content;
}

.progress-bar-container > *, .progress-bar-container > * > .raw{ 
    background-color: var(--inner-secondary-color);
}

.progress-bar-container > div > pre.raw{
    font-size: 18px;
}

.progress-bar-container > div > :is(h1,h2,h3,h4,h5){
    margin: 0 0 0 0px;
    padding: 10px;
    color: red;
}
.progress-bar-container > div > h1{font-size: 1em;}
.progress-bar-container > div > h2{font-size: 1.5em;}
.progress-bar-container > div > h3{font-size: 2em; font-size: 1.25vw;}
.progress-bar-container > div > h4{font-size: 2.25em;}
.progress-bar-container > div > h5{font-size: 2.5em;}
.progress-bar-container > div > h6{font-size: 2.75em;}



.prog{
    color: green !important;
}

/*##################################################
# Other
####################################################*/
/* Raw output of text and white-space with minimal alterations*/
.raw {
  all: unset;
  font-family: "Courier New", Courier, monospace;
  unicode-bidi: isolate;
  display: block;
  white-space: pre;
  background-color: var(--background);
  padding: 0px;
  line-height: 14px;
  letter-spacing: 0px;
  color: white;
}

/*##################################################
# ASCII Art Support
####################################################*/
.ascii-banner {
    all: unset;
    font-family: "Courier New", Courier, monospace;
    font-size: 6px;
    unicode-bidi: isolate;
    display: block;
    white-space: pre;
    background-color: var(--background);
    border: 0;
    padding: 0px;
    text-align:center;
    line-height: 7px;
    letter-spacing: 0px;
    color: var(--secondary-color);
}

.sub-banner.center {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 75%;
}

.sub-banner.center > * {
    margin: 0px 10px 0px;
    font-size: 6px;
    line-height: 7px;
    letter-spacing: 0px;
}

a:hover > *:is(.sub-banner, .main-banner) > *{
    color: var(--hover-secondary-color);
}

/*##################################################
# Main Page Button Navigations
####################################################*/
.main_page_btn {
  margin: 0px 10px 0px;
  flex-basis: 0;
  padding: 10px 30px 10px;
}

.mk_btn_div > * {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.mk_btn_div {
    padding-bottom: 45px;
}

/*##################################################
# Admonition Changes
####################################################*/
.new_update {
animation: glowing 1500ms infinite;
}

.admonition {
  padding: 0;
  padding-bottom: 10px;
  border: .075rem solid transparent;
  border-radius: 0.2rem;
}

.admonition-title {
  padding: 5px;
}
.admonition > * {
  padding-left: 15px;
  color: white;
}
:is(.admonition > *):not(.admonition-title) {
  padding-bottom: 5px;
  padding-top: 10px;
}

/*##################################################
# Top Bar
####################################################*/
.navbar {
    background-color: var(--background);
    border: 0;
    box-shadow: 0px 0px;
    width: 350px;
}
.wm-top-brand{
    font-size: 0;
}
.wm-top-container{
    display: flex;
    background-color: var(--background);
}

/*##################################################
# Theme Default Color Alterations
####################################################*/
.admonition.note, 
details.note {
  border-color: rgb(43, 155, 70);
  background-color: rgba(43, 155, 70, 0.1);
}
 .note > .admonition-title,
 .note > summary {
  background-color: rgba(43, 155, 70, 0.3);
}
.note > .admonition-title::before,
.note > summary::before {
  background-color: rgb(43, 155, 70);
}

.admonition.info, 
details.info {
  border-color: rgb(43, 155, 155);
  background-color: rgba(43, 155, 155, 0.1);
}
 .info > .admonition-title,
 .info > summary {
  background-color: rgba(43, 155, 155, 0.3);
}
.info > .admonition-title::before,
.info > summary::before {
  background-color: rgb(43, 155, 155);
}

.admonition.warning, 
details.warning {
  border-color: var(--warning-bd);
  background-color: var(--warning-bg1);
}
 .warning > .admonition-title,
 .warning > summary {
  background-color: var(--warning-bg2);
}
.warning > .admonition-title::before,
.warning > summary::before {
  background-color: var(--warning-bd);
}

.wm-top-brand {
color: var(--secondary-color);
}

.wm-top-link, .wm-top-link:hover, .wm-top-link:active, .wm-top-link:visited, .wm-top-link:focus {
color: var(--secondary-color);
}

.wm-top-version {
border: 1px solid var(--secondary-color);
color: var(--secondary-color);
}

.wm-top-tool-expanded {
background-color: var(--secondary-color);
}

.wm-toctree a, .wm-toctree a:visited, .wm-toctree a:hover, .wm-toctree a:focus {
color: var(--secondary-color);
}


span.wm-toc-text {
  color: var(--secondary-color);
}

.wm-toc-li.wm-current, .wm-toc-li.wm-current:hover {
background-color: #080b0c;
}

.wm-toc-li-nested.wm-page-toc {
border-left: 1px solid var(--secondary-color);
}

button, .btn, .btn-sm, .btn-xs, .btn-default, #hist-fwd, #hist-back, #wm-toc-button, #wm-search-go {
  color: var(--secondary-color);
}


button:focus, .btn:focus, .btn-sm:focus, .btn-xs:focus, .btn-default:focus, 
.btn-link:focus, #hist-fwd:focus, #hist-back:focus, #wm-toc-button:focus, #wm-search-go:focus {
color: var(--secondary-color);
border-color: var(--secondary-color);
}

button:hover, .btn:hover, .btn-sm:hover, .btn-xs:hover, .btn-default:hover, 
.btn-link:hover, #hist-fwd:hover, #hist-back:hover, #wm-toc-button:hover, #wm-search-go:hover {
color: var(--secondary-color);
border-color: var(--secondary-color);
}

.wm-article-nav {
color: var(--secondary-color);
}

.wm-article-nav > a, .wm-article-nav > a:visited, .wm-article-nav > a:hover, .wm-article-nav > a:focus {
color: var(--secondary-color);
}


h1 {
  color: var(--secondary-color);
}

h2, h3, h4, h5, h6 {
  color: var(--secondary-color);
}

/* Custom Additions */
input#mkdocs-search-query.form-control {
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

a, a:visited, a:hover, a:focus {
color: var(--secondary-color);
}

.wm-page-content a {
  color: var(--secondary-color) !important;
}

.search-title {
  color: var(--secondary-color);
}
