body {
  font-family: monospace;
  background-color: #0d1117;
  color: #c9d1d9;
  margin: 0;
}

/* Header */
header {
  text-align: center;
  padding: 2rem;
  background: #161b22;
  border-bottom: 1px solid #30363d;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  background: #0d1117;
  padding: 1rem;
}

nav a {
  color: #58a6ff;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

/* Projects Grid */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 2rem;
  gap: 20px;
}

/* Cards */
.card {
  background: #161b22;
  padding: 1.5rem;
  border: 1px solid #30363d;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h2 {
  margin-top: 0;
}

.card a {
  color: #58a6ff;
  text-decoration: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #30363d;
  margin-top: 2rem;
}

.project-img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.about {
  max-width: 800px;      /* keeps text readable */
  margin: 0 auto;        /* centers the section */
  padding: 2rem;         /* ← this adds space inside */
  line-height: 1.6;
}

/* PROJECT TAGS */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.tag {
  display: inline-block;
  background-color: #21262d;
  color: #58a6ff;
  border: 1px solid #30363d;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  font-family: monospace;
  transition: all 0.2s ease;
}

.tag:hover {
  background-color: #30363d;
  border-color: #58a6ff;
  color: #79c0ff;
}
