/* Make the main image smaller and centered */
.main-family-photo {
  max-width: 350px;
  width: 90%;
  height: auto;
  display: block;
  margin: 2rem auto 1.5rem auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

/* Center and beautify navigation */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.main-nav a {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: #f5f7fa;
  color: #222;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
  background: #0077cc;
  color: #fff;
}