body {
  margin: 0;
  padding: 0 5%;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  color: #1a1a1a;
  background-color: #f7f7f7;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 2px solid #333;
}

nav a,
footer a,
section a {
  color: #0b57d0;
  text-decoration: none;
}

nav a:hover,
footer a:hover,
section a:hover,
button:hover {
  color: #083aa0;
  text-decoration: underline;
}

button {
  background-color: #0b57d0;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
}

button:hover {
  background-color: #083aa0;
  color: white;
  text-decoration: none;
}

h1,
h2,
h3 {
  color: #222;
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.headshot {
  width: 220px;
  height: auto;
}

footer {
  margin-top: 40px;
  padding: 16px 0;
  border-top: 2px solid #333;
}

@media (max-width: 680px) {
  body {
    padding: 0 4%;
  }

  nav {
    flex-direction: column;
    gap: 8px;
  }

  .projects {
    grid-template-columns: 1fr;
  }
}
