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

body {
  background-color: #F7F9FA;
  color: #345B63;
  font-family: system-ui, Arial, sans-serif;
}

header {
  border: 4px solid #A49A87; 
  margin-bottom: 12px;
  text-align: center;
  padding: 8px;
  background-color: #C9DDE3;
}

main#photos {
  border: 4px solid #E8DCC4;
  min-height: 100px;
  display: flex;
  flex-direction: row;
  padding: 8px;
  gap: 10px;
  background-color: #F7F9FA;
}

main#photos section {
  border: 4px solid #C9DDE3;
  min-height: 100px;
}

#thumbnails {
  flex: 1 0 360px;
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
  gap: 8px;
}


#thumbnails figure {
  border: 4px solid #A8DADC;
  flex: 0 0 150px;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border-radius: 6px;
}

#bigimage {
  display: block;
  width: auto;
  max-width: 95%;
  height: auto;
  max-height: 75vh;
  border-radius: 6px;
  object-fit: contain;
  margin: 0 auto;
}

#bigcaption {
  font-size: 1rem;
  width: 80%;
  margin: 0 auto;
  text-align: left;
  padding-top: 8px;
  color: #345B63;
  margin-bottom: 8px;
}

.figure0 { background-image: url("../images/photo1-thumb.jpg"); }
.figure1 { background-image: url("../images/photo2-thumb.jpg"); }
.figure2 { background-image: url("../images/photo3-thumb.jpg"); }
.figure3 { background-image: url("../images/photo4-thumb.jpg"); }
.figure4 { background-image: url("../images/photo5-thumb.jpg"); }
.figure5 { background-image: url("../images/photo6-thumb.jpg"); }

#thumbnails figure:hover {
  cursor: pointer;
}

#bigsection {
  flex: 1 1 auto;
  text-align: center;
  padding-top: 12px;

}

#bigfigure {
  border: 4px solid #345B63;
  padding: 8px;
  background-color: white;
  max-width: 95%;
  width: 100%;
}

footer {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  border-top: 3px solid #A49A87;
  padding: 8px;
  background-color: #F7F9FA;
}
