/* @media (min-width: 1200px) {
    html {
        font-size: 125%;
    }
} */

html {
    scroll-behavior: smooth;
}


li a {
    margin-left: 10px;
}

li.sub-menu a {
    position: relative;
}

a div.fa {
    position: absolute;
    left: -6px;
    top: 12px;
}


.custom-header-nav {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .custom-header-nav {
        margin-bottom: 1em;
    }
}


.custom-vertical-nav {
    position: sticky;
    top:0px;
    left: 0.5em;
}

a.custom-navbar-title:hover {
    color: white !important;
    text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.8);
}

ul.list-unstyled {
    padding-left: 1.5em;
}

span {
    font-family: monospace;
}


.code-container {
    text-align: start;
    position: relative;
}

.code-header {
    position: relative;
    padding: 6px 10px;
    background-color: #8b8e8e;
    color: #f2f2f2;
    font-size: 0.8em;
    border-radius: 8px 8px 0px 0px;
}

pre.custom-code {
    position: relative;
    overflow: auto;
}

.code-container button {
    position: absolute;
    top: 2px;
    right: 6px;
    font-size: 0.8rem;
    padding: 0.15rem;
    border: none;
    background-color: transparent;
    color: #f2f2f2;
    outline: none;
}

.code-container button:hover {
    cursor: pointer;
    color: #d9d9d9;
}

.code-container button:focus {
    outline: none;
    box-shadow: none;
}

pre code {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    border-radius: 0px 0px 8px 8px;
}

.last-edit {
    font-size: 0.75em;
    opacity: 0.75;
}

h2, h3 {
    margin-top:40px;
    margin-bottom: 40px;
}

a {
    margin-left: 0px !important;
}


ul.tree-ul {
    list-style: none; /* Remove default bullets */
    padding-left: 20px;
    font-family: monospace;
}

ul.tree-ul li {
    position: relative;
    padding-left: 20px;
}

ul.tree-ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #222222;
}

ul.tree-ul li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 1px;
    background-color: #222222;
}

ul.tree-ul li:last-child::before {
    height: 12px; /* Stop vertical line at last child */
}

.tutorial-image {
    width: 70%;
}

.custom-navbar-container {
    position: relative;
    border: none;
}

div button.custom-navbar-button {
    margin-left: -28px;
    margin-top: 6px;
    border: none;
}

div button.custom-navbar-button:hover,
div button.custom-navbar-button:focus,
div button.custom-navbar-button:active {
    border: none;
    outline: none; /* Ensures no focus outline */
}

.custom-navbar-toggler {
    margin:0;
}