/* Core page styles from style.cssOLD */

html {
      scrollbar-width: normal;
      scrollbar-color: #777 #555;
    }

    html::-webkit-scrollbar {
      width: 4vw;
    }

    html::-webkit-scrollbar-thumb {
      background-color: #7775;
    }

    html::-webkit-scrollbar-thumb:hover {
      background-color: #777;
    }

    html::-webkit-scrollbar-track {
      background-color: #5555;
    }

    html::-webkit-scrollbar-track:hover {
      background-color: #555;
    }



body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 0; /* Remove default margin from the body */
    background-color: #222;
    color: #aec2d3;
    display: flex; /* Makes body a flex container */
    flex-direction: column; /* Stacks children vertically */
    min-height: 100vh; /* Ensures the body takes up at least the full viewport height */
}
.container {
    width: 90%; /* This sets the width to 90% of the parent element's width */
    margin: 2em auto; /* Add margin back for the container itself */
    background: #181a1b;
    padding: 2em;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: left;
    justify-content: center; /* Centers horizontally */
    align-items: center;    /* Centers vertically */
}

code::-webkit-scrollbar {
  width: var(--sb-size);
}

code::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 3px;
}

code::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 3px;
}



h1, h2 {
    color: #265177;
}
pre {
    background: #333;
    padding: 1em;
    border-left: 5px solid #155e8f;
    color: #fff;
    overflow-x: auto;
}
code {
    font-family: monospace;
    background: #333;
    color: #fff;
    overflow: auto; /* A scrollbar will appear only if needed */
    scrollbar-color: #8eb0dc #d2d4d6;
    --sb-track-color: #232E33;
    --sb-thumb-color: #304c3e;
    --sb-size: 14px;
}
@supports not selector(::-webkit-scrollbar) {
  code {
      scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

.warning {
    display: flex;
    background-color: #c97c01;
    padding: 1em;
    border-radius: 15px;
    color: #3f3f3f;
    height: 25px;
    justify-content: center; /* Centers horizontally */
    align-items: center;    /* Centers vertically */
}
.nav-links {
    margin-top: 2em;
    text-align: center;
}
.nav-links a {
    display: inline-block;
    padding: 1em 2em;
    margin: 0.5em;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}
.nav-links a:hover {
    background-color: #2980b9;
}

header {
    background-color: #222;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    width: 100%;
    /* These three lines are the key to fixing the header */
    position: fixed;
    top: 0;
    left: 0;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: left; /* Center the links within the nav bar */
    gap: 30px;
}
nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}
nav a:hover {
    border-bottom-color: orange;
}
.main-content {
    margin-top: 60px; /* To prevent content from being hidden by the fixed navbar */
    flex-grow: 1; /* Makes the main content area fill the remaining space */
}
