:root {
    --main-bg-color: #000000;
    --accent-color: #202020;
    --white-text-color: #e8e8e8;
    --black-text-color: #181C14;

    --font-color: var(--white-text-color);
    --progress-bar-fill: var(--accent-color);
    --progress-bar-background: var(--white-text-color);
    --secondary-color: var(--accent-color);
    --code-bg-color: #171515;
}

body {
    background-color: var(--main-bg-color);
    color: var(--white-text-color);
}

body p {
    color: var(--white-text-color);
}

input, select, textarea {
    color: var(--black-text-color);
}

button {
    color: var(--main-bg-color);
}

#links p {
    line-height: clamp(11px, 1.4vw, 3vw);
    font-size: clamp(10px, 1vw, 1.5vw);
}

#terminal {
    overflow: hidden;
    text-overflow: ellipsis;
}

main {
    overflow: scroll;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */

    /* For Chrome, Safari and Opera */
    scrollbar-width: none; /* (optional fallback) */
}

main::-webkit-scrollbar {
  display: none;
}

asided { 
    overflow-y: scroll;
}

.components-grid {
    display: grid;
    grid-column-gap: 1.4em;
    grid-template-columns: auto;
    grid-template-rows: auto;
}

.terminal-banner {
    background-color: var(--accent-color);
    color: var(--white-text-color);
    padding: 10px 0;
}

.terminal-banner p {
    color: var(--white-text-color);
}

.terminal-banner h1 {
    margin: 0;
    font-size: 2em;
}

.terminal-banner p {
    margin: 10px 0 0;
}

.terminal-banner .container .terminal-prompt b {
    word-wrap: break-word;
}

.terminal-menu ul {
    justify-content: center; /* Align items to the center */
}

#page-scroll-progress {
    width: 80%;
}

@media only screen and (min-width: 70em) {
    .components-grid {
      grid-template-columns: 3fr 9fr;
    }

    .components-grid aside {
      position: sticky;
      top: calc(var(--global-space) * 2);
    }

    #page-scroll-progress {
        display: block;
    }

    #menu-item, 
    #menu-item:hover, 
    #menu-item:active, 
    #menu-item:focus {
        color: #ffffff !important;
        text-decoration: none; /* Optional: prevents underlines on hover */
    }
}

pre:not([class*="CodeMirror"]) {
    border: none !important;
    background-color: var(--main-bg-color) !important;
}

pre:not([class*="CodeMirror"]) code.hljs {
    background-color: var(--main-bg-color) !important;
}
