:root {
  --color-pre-secondary: hsl(0, 0%, 100%);
  --color-secondary: hsl(0, 0%, 75%);
  --color-pre-primary: hsl(0, 0%, 20%);
  --color-primary: hsl(0, 0%, 15%);
  --color-accent: hsl(0, 0%, 0%);
  --color-bege: hsl(0, 0%, 80%);
}

/* For Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-bege);
}

/* Optional: thinner on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: #777;
}

@font-face {
  font-family: "Cutive Mono";
  src: url(../assets/fonts/cutivemono.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "VT323";
  src: url(../assets/fonts/vt323.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: inherit;
}
button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  line-height: inherit;
  cursor: pointer;
}
/* Base Styling */
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Cutive Mono", monospace;
  color: var(--color-secondary);
  background-color: var(--color-primary);
  line-height: 1.5;
}

#space {
  position: fixed;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  z-index: -1;
}

a {
  text-decoration: none;
  color: inherit;
}

a:visited {
  color: inherit;
}

a:hover,
a:active {
  color: inherit;
}
/* underline styling for hover effect */
.und {
  font-feature-settings: "liga" 1, "dlig" 1;
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.1em;
  -webkit-text-decoration-thickness: 0.15em;
  -webkit-text-underline-offset: 0.3em;
}
.und:hover {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-color: inherit;
  -webkit-text-decoration-line: underline;
  -webkit-text-decoration-style: solid;
  -webkit-text-decoration-color: inherit;
}
.nav-icon {
  fill: var(--color-primary);
}
.nav-icon:hover {
  fill: var(--color-pre-secondary);
  cursor: pointer;
}
.current {
  fill: var(--color-pre-secondary);
}
