body {
  font-family: 'Inter', sans-serif;
  background-color: #202020;
  color: #f8fafc;
}

header {
  background-color: #252525;
}

:root {
  --heading-color: #ffffff;
  --heading-weight: 700;
  --h1-size: 2.5rem;
  --h2-size: 2rem;
  --h3-size: 1.75rem;
  --h4-size: 1.5rem;
  --h5-size: 1.25rem;
  --h6-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-weight: var(--heading-weight) !important;
  margin-bottom: 20px !important;
  margin-top: 30px !important;
  line-height: 1.2;
  border-bottom-width: 2px;
  border-bottom-color: gray;
}

h1 { font-size: var(--h1-size) !important;   margin-top: 4px !important; border-bottom-width: 0px;}
h2 { font-size: var(--h2-size)!important; }
h3 { font-size: var(--h3-size)!important; }
h4 { font-size: var(--h4-size)!important; }
h5 { font-size: var(--h5-size)!important; }
h6 { font-size: var(--h6-size)!important; }

pre {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px;
  min-width:50%;
  width: fit-content;

}

code {
  background-color: #1c1b1b;
  padding: 3px;
}

#sidebar {
  position: fixed;
  top: 0 px;
  left: 0;
  width: 300px;
  height: 100vh;
  background: #252525;
  overflow-y: auto;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}
#sidebar ul {
  list-style-type: disc;    /* ← show filled circles */
  margin-left: 1em;         /* indent the whole list */
  padding-left: 0;          /* reset any browser default */
}

#sidebar li {
  margin: 8px 0;
}
#sidebar a {
  text-decoration: none;
  color: #fff;
}
#sidebar a:hover {
  text-decoration: underline;
}
/* Main content */
#content {
  margin-left: 300px;
  padding: 20px;
  flex: 1;
}

@media (max-width: 1400px) {
  pre {
    min-width:0%;
    width:100%;
  }
}

@media (max-width: 728px) {
  #sidebar {
    position: relative;
    height: fit-content;
    width: 100%;
    background: #252525;
    overflow-y: auto;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  }

  #content {
    margin-left: 0px;
    padding: 20px;
    flex: 1;
  }
}