*, * > * {
    padding: 0px;
    margin: 0px;
    text-decoration: none;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #181a1b;
    color: #dddad6;
}

.container {
    color: #ccc;
    flex-direction: row;
    height: 100%;
}

.sidebar {
  height: 100%;
  min-width: 300px;
  max-width: 300px;
  width: 300px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #131313;
  overflow-x: hidden;
  padding: 31px;
}

.main-content {
  margin-left: 362px; /* Same as the width of the sidenav */
  max-width: 1031px;
  min-height: calc(100vh - 124px);
  padding: 31px;
  z-index: 1;
  top: 0;
  left: 0;
}
.footer {
  margin-left: 393px; /* Same as the width of the sidenav */
  max-width: 100%;
  max-height: 31px;
  
  z-index: 1;
  top: 0;
  left: 0;
}
/* Media query for screens smaller than 768px */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack items vertically on small screens */
    }

    .sidebar {
        height: auto;
        min-width: calc(100% - 62px);
        display: block;
        position: static;
    }
    .links {
      justify-content: center;
      display: flex;

    }
    .main-content {
        margin-left: 0px; /* Same as the width of the sidenav */
        padding: 31px 31px;
    }
    .footer {
      margin-left: 0px; /* Same as the width of the sidenav */
      justify-content: center;
      display: flex;
    }
}


/* Sphinx specific styling */

/* Title */
.document-title {
    color: #fff; /* Light text color */
}

/* Subtitle */
.subtitle {
    color: #ccc; /* Light text color */
}

/* Sidebar links */
.toctree-l1 {
    color: #ccc; /* Light text color */
}

/* Active sidebar link */
.toctree-l1.current {
    color: #fff; /* Light text color */
    font-weight: bold;
}

/* Code blocks */
.highlight pre {
    background-color: #222; /* Darker background color */
    color: #fff; /* Light text color */
    border-radius: 5px; /* Rounded corners */
    padding: 12px;
    font-family: monospace;
}

h1 {
  font-weight: bold;
  font-size: 22px;
}

h2 {
  font-weight: bold;
  font-size: 14px;
}

.title{
    text-align: center;
    font-size: 32px;
}

.literal{
    color: #8ec1ec;
}
.name{
    color: #93c8f5;
}
.number{
    color: #096634;
}
.builtin, .double{
    color: #57aef9;
}
.keyword, .operator, .interpol{
    color: #d73c4b;
}
.variable{
    color: #663409;
}
.double {
    color: #93c8f5;
}
.comment{
    color: #7c848e;
}
table {
    border-collapse: collapse;
    width: 100%;
    padding: 8px;
    background: #222;
}

table td, table th {
    border: 1px solid #373c3e;
}


table th {
    text-align: center;
    color: white;
}
caption {
    padding: 8px;
}
section, p {
    padding: 8px;
}

a {
    color: #57aef9;
    text-decoration: none;
}

.headerlink {
    display: none;
}

/* Style the links */
.toctree-l1 > a,
.toctree-l2 > a,
.toctree-l3 > a,
.toctree-l4 > a {
    text-decoration: none;
    color: #b3b3b3;
    font-weight: bold;
}

/* Style the leveled list items */
.toctree-l1,
.toctree-l2,
.toctree-l3,
.toctree-l4 {
    margin-left: 20px;
}


.current, .current > a {
    color: #4db8ff; /* Change color as needed */
}


