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

body {
  font-family: sans-serif;
  background: #f9f9f9;
  color: #111;
  padding: 2rem;
}

header nav {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

nav a {
  text-decoration: none;
  color: #111;
  font-weight: bold;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project {
  text-decoration: none;
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project img {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

.project p {
  font-size: 1rem;
  text-align: center;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.project-images img {
  width: 100%;
  margin-bottom: 1rem;
}

.project-text {
  margin-top: 1rem;
  max-width: 600px;
}

.about {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.portrait {
  width: 200px;
  height: auto;
  border-radius: 8px;
}

.about section {
  max-width: 600px;
}

.contact {
  max-width: 600px;
}

.contact a {
  color: #111;
  text-decoration: underline;
}
