
/* ===== Font ===== */
@font-face {
  font-family: "calibri";
  src: url("fonts/calibri.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== Page base ===== */
:root { color-scheme: dark; }

body {
  margin: 0;
  background: #d15600;
  color: #eaeaea;
  font-family: monospace;
  line-height: 1.6;
}

/* ==== Links ==== */
a {
  color: #6cf;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== Toolbar ===== */
.toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.toolbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: normal;
  letter-spacing: 0.06em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ===== Dropdown ===== */
.dropdown {
  position: relative;
}

.dropbtn {
  font: inherit;
  color: #eaeaea;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 160px;
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.4rem;
  display: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.35rem 0.5rem;
}

/* JS toggles this */
.dropdown.open .dropdown-menu {
  display: block;
}

/* ===== Panel overlay (75% width, centered) ===== */
.panel {
  width: min(85vw, 2000px);      /* "fills 75% of the screen" + max width */
  margin: 2.5rem auto 4rem;
  padding: 2rem 1.75rem;
  background: rgba(0,0,0,0.28); /* overlay box above main background */
  border: 1px solid rgba(255,255,255,0.12);
}

/* Title styling similar to your original */
h1 { font-weight: normal; margin: 0 0 0.75rem; }
h2 { font-weight: normal; margin: 0 0 0.5rem; }

/* ===== 3-column layout ===== */
.two-col {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 2fr 2fr; /* left / right */
  gap: 1.25rem;
}

.col {
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}

/* Responsive: collapse to one column on small screens */
@media (max-width: 900px) {
  .panel { width: min(92vw, 900px); }
  .three-col { grid-template-columns: 1fr; }
}


.project {
  margin-bottom: 3rem;
}


img {
  max-width: 500px;
  width: 100%;
  margin-top: 0.5rem;
  border: 1px solid #333;
}
.watermark {
  position: fixed;
  bottom: 12px;
  right: 16px;

  font-size: 0.75rem;
  opacity: 0.3;

  pointer-events: none; /* prevents blocking clicks */
}