/* =========================
   RESET + BASE
========================= */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "JetBrains Mono", monospace;
  background: #1e1e1e;
  color: #e6e6e6;
  line-height: 1.6;
}

/* =========================
   VARIABLES
========================= */
:root {
  --bg: #0e0e0e;
  --fg: #e6e6e6;
  --muted: #9a9a9a;
  --accent: #4aa3ff;
}

/* =========================
   LINKS
========================= */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

/* =========================
   LAYOUT
========================= */
.layout {
  display: flex;
  min-height: 100vh;
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
  width: 180px;
  padding: 32px 16px;
  display: flex;
  align-items: center;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.sidebar li {
  margin: 14px 0;
  text-align: center;
}

.sidebar a {
  display: inline-block;
  position: relative;
  padding-left: 1.2ch; /* reserve space for star */
}

/* STAR INDICATOR (NO SHIFT) */
.sidebar a.active::before {
  content: "*";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* =========================
   DIVIDER (ASCII STYLE)
========================= */
.divider {
  width: 1ch;
  position: relative;
}

/* .divider::before {
  content: "|\A|\A|\A|\A|\A|\A|\A|\A|\A|\A|\A|\A|\A|\A|\A|\A|\A|\A|\A|";
  white-space: pre;
  display: block;
  color: var(--muted);
  text-align: center;
} */

/* =========================
   CONTENT
========================= */
.content {
  flex: 1;
  padding: 48px 40px;
}

h1 {
  margin-top: 0;
  font-size: 2rem;
}

.muted {
  color: var(--muted);
}

hr {
  border: none;
  border-top: 1px dashed #333;
  margin: 24px 0;
}

#mb1557 {
    font-size: large;
  color: var(--accent);
  font-weight: bold;
}

/* =========================
   CONTACT LIST
========================= */
.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 1ch;
  margin: 10px 0;
}

.contact-list span {
  color: var(--muted);
  min-width: 10ch;
}

/* =========================
   MENU TOGGLE (MOBILE)
========================= */
.menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  background: none;
  border: none;
  color: var(--fg);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  z-index: 1001;
}

/* =========================
   MENU OVERLAY
========================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  z-index: 1000;
}

.menu-overlay.active {
  display: flex;
}

.menu-panel {
  margin: auto;
  text-align: center;
}

.menu-title {
  margin-bottom: 16px;
  color: var(--muted);
}

.menu-panel ul {
  list-style: none;
  padding: 0;
}

.menu-panel li {
  margin: 14px 0;
}

.menu-panel a {
  position: relative;
  padding-left: 1.2ch;
}

/* ACTIVE STAR IN OVERLAY */
.menu-panel a.active::before {
  content: "*";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.menu-close {
  margin-top: 24px;
  background: none;
  border: none;
  color: var(--fg);
  font-family: inherit;
  cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .sidebar,
  .divider {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .content {
    padding: 80px 24px;
  }
}
