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

html {
  scroll-behavior: smooth; /* smooth scrolling to anchors */
}

body {
  font-family: 'Courier New', monospace;
  font-size: 20px; 
  background: #ffffff;
  color: #000000;
  line-height: 1.6;
}


/* Special pixel font just for titles */
.project-title,
.section-title,
.sidebar-title {
  font-family: 'Press Start 2P', monospace;
}

/* Layout */
.container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: #f5f5f5;
  border-right: 3px solid #000;
  padding: 20px;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
  text-transform: uppercase;
}

.nav-item {
  display: block;
  padding: 15px 10px;
  margin: 5px 0;
  border: 2px solid #000;
  background: #fff;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  color: #000;
  transition: all 0.3s ease;
}

.nav-item:hover {
  background: #000;
  color: #fff;
  transform: translateX(10px);
}

/* Main content */
.main-content {
  margin-left: 280px;
  flex: 1;
  padding: 30px;
}

.header {
  text-align: center;
  margin-bottom: 50px;
  border: 3px solid #000;
  padding: 30px;
  background: #f9f9f9;
}

.project-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.ascii-car {
  font-family: monospace;
  font-size: 30x;
  text-align: center;
  line-height: 1;
  white-space: pre;
  margin: 20px 0;
  color: #000;
}

/* Sections */
.section {
  margin-bottom: 80px;
  padding: 30px;
  border: 2px solid #000;
  background: #fff;
  scroll-margin-top: 20px; /* offset for anchor scrolling */
}

.section-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 25px;
  text-transform: uppercase;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
}

.section-list {
  padding-left: 50px;
}

.gallery {
  display: flex;         /* put items side by side */
  justify-content: center;
  gap: 50px;             /* space between pictures */
  flex-wrap: wrap;       /* allow wrapping if screen is too small */
}

.gallery figure {
  text-align: center;
}

.gallery img {
  width: 250px;          /* adjust to fit nicely */
  border: 2px solid #000;
  border-radius: 6px;
}