*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #f0f2f5;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding: 48px 24px 80px;
}

.container {
  max-width: 640px;
  margin: 0 auto;
}

/* Header / Nav */
header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}

header .name {
  font-weight: 700;
  font-size: 42px;
  color: #111;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

nav a {
  color: #444;
  text-decoration: none;
}

nav a:hover,
nav a.active {
  color: #111;
  font-weight: 600;
}

nav .sep {
  color: #aaa;
}

/* Body text */
.content p {
  margin-bottom: 20px;
  color: #222;
}

.content p:last-of-type {
  margin-bottom: 0;
}

.content a {
  color: #111;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #bbb;
}

.content a:hover {
  border-bottom-color: #111;
}

/* 88x31 buttons */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 32px;
}

.buttons a img {
  display: block;
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 640px;
  padding: 16px 24px;
  border-top: 1px solid #ccc;
  background: #f0f2f5;
  font-size: 14px;
  color: #666;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

footer .dot {
  color: #bbb;
  font-size: 18px;
  line-height: 1;
}

footer a {
  color: #555;
  text-decoration: none;
}

footer a:hover {
  color: #111;
}

/* Individual pages hidden by default */
.page {
  display: none;
}

.page.active {
  display: block;
}

.project {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 48px;
}

.project img {
  width: 360px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  display: block;
}

.project p {
  margin: 0;
}