:root {
  --bg:     #11100e;
  --fg:     #e2ddd7;
  --dim:    #9a958e;
  --accent: #c38f5f;
}

/* Nerd Font */
@font-face {
  font-family: "BigBlueTerm437Nerd";
  src: url("./fonts/BigBlueTerm437NerdFontMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html { font-size: 14px; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "BigBlueTerm437Nerd", monospace;
}

body {
  min-height: 100vh;
}

body {
  /* filter: brightness(0.6) contrast(0.95); */
}

.terminal {
  max-width: 760px;
  padding: 48px 24px;
  margin-left: 60px;
  line-height: 1.7;
}

/* Text */
.line {
    filter: brightness(0.6) contrast(0.95);
  margin: 0;
}

.line2 {
  filter: brightness(0.6) contrast(0.95);
  margin: 0;
  margin-left: 10px;
}

.line3 {
  filter: brightness(0.8) contrast(0.95);
  margin: 0;
}

.foot {
  filter: brightness(0.4) contrast(0.95);
  margin: 0;
  font-size: 11px;
}

.name {
  color: var(--dim);
}

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

.value {
  color: var(--fg);
}

/* Section header */
.section {
  filter: brightness(0.8) contrast(0.95);
  font-weight: 1000;
  color: var(--fg);
}

/* Cursor */
.cursor {
  display: inline-block;
  margin-top: 8px;
  color: var(--dim);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Spacing utilities (per-line control) */
.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 2px; }
.mb-7  { margin-bottom: -10px; }
.mb-11 { margin-top: 36px; }
.mb-12 { margin-bottom: 4px; }
.mb-13 { margin-bottom: -14px; }
.mb-link1 { margin-top: -78px; }
.mb-16 { margin-bottom: 13px; }
.mb-24 { margin-bottom: 24px; }
.mb-cf { margin-top: -20px;
         margin-bottom: 24px; }
.mb-25 { margin-bottom: -30px;
         margin-top: -25px;    }
.mb-30 { margin-bottom: 28px; }
.mb-31 { margin-bottom: 9px; }
.mb-32 { margin-bottom: 20px; }
.mb-sep { margin-bottom: 12px; }

/* Mobile */
@media (max-width: 600px) {
  .terminal {
    margin-left: 0;
    padding: 32px 16px;
    font-size: 14px;
  }
}

.lang {
  color: var(--fg);
}

.status {
  margin-left: 6px;
  color: var(--dim);
  font-size: 0.95em;
}

.learning {
  opacity: 0.85;
}

.icon {
  color: var(--fg);
  display: inline-block;
  font-size: 1.4em;   /* increase icon size */
  margin-right: 1px;
  vertical-align: middle;
}
.hash1-link,
.hash-link {
  color: white;
  text-decoration: none;
  margin-right: 6px;
  cursor: pointer;
}

.hash-link:hover .hash {
  margin-right: 2px;
  color: var(--dim);
  opacity: 0.8;
  transition: all 150ms ease-in-out;
}

.hash1-link {
  color: var(--dim);
  text-decoration: none;
  margin-right: 6px;
  cursor: pointer;
}

.hash1-link:hover .hash1 {
  color: var(--dim);
  opacity: 0.8;
  transition: all 150ms ease-in-out;
}

.project-name {
  color: var(--fg);
  margin-right: 6px;
}

.desc {
  color: var(--dim);
  font-size: 0.95em;
}

.socials {
  display: flex;
  gap: 20px;
  font-size: 2.4em; /* increase icon size */
  transition: all 150ms ease-in-out;
}

.socials a {
  font-weight: 500;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.15s ease;
  transition: all 150ms ease-in-out;
}

.socials a:hover {
  filter: brightness(2.96) contrast(2.95);
  font-size: 1.em;
  color: var(--fg);
  transition: all 650ms ease-in-out;
}

.sep {
  color: var(--dim);
  font-size: 0.95em;
  user-select: none;
  transition: all 150ms ease-in-out;
}

::selection {
  background: var(--dim); /* selection background */
  color: #0b0e14;      /* selected text color */
}

#pxam {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.terminal {
  position: relative;
  z-index: 1;
}