:root {
  --bg: #47004a;
  --text: #eeeeee;
  --accent: #ff4df3;
}

body {
  margin: 0;
  font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  font-family: 'Roboto Mono', system-ui, sans-serif;  
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  padding: 1rem;
  background: var(--bg);
  border-bottom: 3px solid;
  z-index: 1000;
}

.header-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  text-align: center;
}

#content {
  font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.5;
  padding: 0.5rem;
  letter-spacing: 0.1px;
  border: 3px solid;
  border-radius: 8px;
}

footer {
  margin-top: 4rem;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  border-top: 3px solid;
  opacity: 0.8;
}

#docTitle {
  margin-top: 50px;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
 }

.center-axis {
  max-width: 800px;
  text-align: center;
}

.left {
  display: flex;
  gap: 0.5rem;
}

header h1 {
  text-align: center;
  margin: 0;
}

button {
  width: 30px;
  height: 30px;
  padding: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid;
  background: transparent;
  cursor: pointer;
  border-radius: 6px; 
}

button {
  color: white;
}

#menuBtn {
  transition: transform 0.5s ease;
}

#menuBtn.rotated {
  transform: rotate(360deg);
}

#themeToggle {
  transition: opacity 0.2s ease;
}

#sidebar {
  position: fixed;
  top: 90px;
  border: 3px solid;
  left: 0;
  width: 90px;
  height: 210px;
  border-radius: 6px; 
  background: var(--bg);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 1rem;
}

#sidebar.open {
  transform: translateX(0);
}

#sidebar a {
  display: block;
  margin-bottom: 1rem;
  color: var(--text);
  text-decoration: none;
}

main {
  flex: 1;
  margin-top: 40px;
  padding: 2rem;
  max-width: 800px;
  min-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: var(--text);
}
