:root {
  --bg: #000;
  --text: #fff;
  --border: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'VT323', monospace;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* HEADER */
header {
  text-align: center;
  padding: 40px 20px 20px;
}

header h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(18px, 4vw, 28px);
  margin-bottom: 20px;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  border: 2px solid var(--border);
  padding: 8px 16px;
  transition: 0.2s;
}

nav a:hover {
  background: white;
  color: black;
}

/* MAIN CONTENT */
main {
  display: flex;
  justify-content: center;
  padding: 30px 20px;
}

.content-box {
  max-width: 700px;
  border: 2px solid;
  padding: 25px;
  margin: 30px auto;
  width: 100%;
}

.content-box h2 {
  margin-bottom: 15px;
  font-size: 28px;
}

.project-list {
  list-style: none;
}

.project-list li {
  margin-bottom: 20px;
}

.project-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 22px;
}

.project-list a:hover {
  text-decoration: underline;
}

.project-type {
  font-size: 18px;
  opacity: 0.8;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 15px;
  font-size: 18px;
  border-top: 2px solid var(--border);
}
/* MISCELLANEOUS */
img {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

img:hover {
  filter: grayscale(0%);
}
.pixels-img {
      image-rendering: pixelated;
      image-rendering: crisp-edges;
}
.button {
  text-decoration: none;
  color: var(--text);
  border: 2px solid var(--border);
  padding: 8px 16px;
  transition: 0.2s;
}

div.button-link a:hover {
    background: white;
  color: black;
}

.screenshotMc img {
  width: 100%;
  max-width: 300px;
  height: 150px;
  }