body {
    font-family: Arial, sans-serif;
}

.sidebar {
    background-color: #001F3F;
    height: 100vh;
    padding-top: 20px;
    position: sticky;
    top: 0;
}
.section {
    margin-bottom: 40px;
    padding-bottom: 20px;
}
.section:last-child {
    border-bottom: none;
}

.sidebar .position-fixed {
    width: inherit;
    max-width: inherit;
    height: 100vh;
    overflow-y: auto;
}

.text-title{
    color: #C0392B;
}

.sidebar .nav-link {
    color: white;
    transition: color 0.3s ease;
    padding: 0rem 0.1rem;
}


.sidebar .nav-link.active {
    color: #C0392B;
    font-weight: light;
}

.sidebar .nav-link:hover {
    color: #C0392B;
}

.sidebar .nav .nav {
    padding-left: 15px;
}

.sidebar .nav .nav .nav-link {
    font-size: 0.8rem;
    padding: 0.1rem 0.5rem;
}

.main-content {
    padding: 20px;
}

.info-box {
    background-color: #e9f5f9;
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
}

.card-title {
  font-weight: bold;
}

.card {
  border: none;
  background-color: #f8f9fa;
}

.bg-light {
  background-color: #f8f9fa !important;
}



.card-text {
  font-size: 0.9rem;
}

.text-danger {
  font-weight: bold;
}

.bg-dark {
    background-color: #1e1e1e !important;
}

.text-info {
    color: #569cd6 !important;
}

pre {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 1rem;
    border-radius: 0.25rem;
    overflow-x: auto;
}

code {
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}

/* VS Code-like syntax highlighting */
.token.keyword {
    color: #04335a; /* Purple for keywords */
}

.token.string {
    color: #98c379; /* Green for strings */
}

.token.comment {
    color: #5c6370; /* Grey for comments */
}

.token.function {
    color: #61afef; /* Blue for function names */
}

.token.variable {
    color: #e06c75; /* Red for variables */
}

.token.number {
    color: #d19a66; /* Orange for numbers */
}

.token.operator {
    color: #56b6c2; /* Cyan for operators */
}

/* Terminal-like styling for <pre> and <code> */
pre.terminal {
    background-color: #1e1e1e; /* Dark background */
    color: #d4d4d4; /* Light text */
    padding: 1rem;
    padding-top: 2rem;
    padding-left: 2rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

pre.terminal::before {
    content: "Terminal";
    position: absolute;
    top: 0;
    left: 0;
    background-color: #333;
    color: #fff;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-top-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}


pre.terminal code {
    display: block;
    line-height: 1.5;
}

pre.terminal code span.command {
    color: #569cd6; /* Blue for commands */
}

pre.terminal code span.path {
    color: #9cdcfe; /* Light blue for paths */
}

pre.terminal code span.output {
    color: #dcdcaa; /* Yellow for output */
}

pre.terminal code span.keyword {
    color: #569cd6; /* Blue for keywords */
}

/* JSX-like styling for <pre> and <code> */
pre.jsx-code {
    background-color: #282c34; /* Dark background */
    color: #abb2bf; /* Light text */
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

pre.jsx-code::before {
    content: "JSX Code";
    position: absolute;
    top: 0;
    left: 0;
    background-color: #61afef; /* Blue header */
    color: #fff;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-top-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

pre.jsx-code code {
    display: block;
    line-height: 1.5;
}

pre.jsx-code code span.keyword {
    color: #c678dd; /* Purple for keywords */
}

pre.jsx-code code span.string {
    color: #98c379; /* Green for strings */
}

pre.jsx-code code span.comment {
    color: #5c6370; /* Grey for comments */
    font-style: italic;
}

pre.jsx-code code span.function {
    color: #61afef; /* Blue for function names */
}

pre.jsx-code code span.number {
    color: #d19a66; /* Orange for numbers */
}