.div_button {
  width: 2em;
  height: 2em;
}

#docs-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;

  /* position: absolute;
  top: 1em;
  left: 1em; */
  width: 2em;
  height: 2em;

}

#docs-menu-toggle span {
  display: block;
  height: 4px;
  border-radius: 2px;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}

#docs-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}

#docs-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

#docs-menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
}

#docs_content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: var(--color-light);
}

/* Top filter row spans full width */
#docs_filters {
  flex: 0 0 auto;
  width: 100%;
  padding: 0.75rem 1rem;
  /* border-bottom: 1px solid var(--border, #ddd); */
  background: var(--color-white);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Main area under filters */
#docs_main {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  width: 100%;
  height: 100%;
}



/* Markdown content */
#docs_markdown {
  height: 100%;
  overflow: auto;
  max-width: 1200px;
  padding: 40px;
  padding-bottom: 20vh;
}

/* Hide nav, expand content */
#docs_nav.hidden {
  display: none;
}

/* Sidebar container */
#docs_nav {
  flex: 0 0 250px;
  transition: all 0.3s ease;

  font-family: var(--doc-font, system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.5;
  padding: 1rem;
  background: var(--color-white);
  border-right: 1px solid #ddd;
  height: 90vh;
  overflow: auto;
}

/* Section titles */
#docs_nav .bigmenu_title {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 1.2rem 0 0.4rem;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Submenu container */
#docs_nav .submenu {
  margin-left: 0.5rem;
  display: flex;
  flex-direction: column;
}

/* Links */
#docs_nav .submenu a {
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  color: #444;
  transition: background 0.2s, color 0.2s;
}

/* Hover effect */
#docs_nav .submenu a:hover {
  background: #e9ecef;
  color: #000;
}

/* Selected / active link */
#docs_nav .submenu a.selected {
  background: var(--color-primary);
  /* blue */
  color: white;
  font-weight: 600;
}

.pair{
  width: 100%;
  display: flex;
  flex-direction: row;
}

.pair > *{
  width: 35%;
  height: auto;
}

@media (max-width: 1000px) {
  #docs_nav{
  flex: 0 0 70vw;

  }

}