/* Hands-on Project 3-2 Styles */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
}

/* Top heading */
header {
  background-color: #d2b48c; /* light brown */
  text-align: center;
  padding: 15px;
  font-size: 24px;
  font-weight: bold;
}

/* Section heading */
h2 {
  text-align: center;
  margin: 20px 0;
}

/* Gallery grid */
#gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 images per row */
  gap: 15px;
  padding: 20px;
  justify-items: center;
}

/* Each figure (image + caption) */
figure {
  background: white;
  padding: 10px;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.15);
}

/* Images */
figure img {
  max-width: 150px;
  height: auto;
  border-radius: 4px;
}

/* Captions */
figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #333;
}
