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

/* Colors taken from images in this project with some help from AI with getting the colors */
:root {
  --page-background: #f8e8ec;
  --text-color: #27332d;
  --surface-color: #fff;
  --border-color: #9b9b8a;
  --link-color: #285c45;
}

body {
  margin: 0;
  background: var(--page-background);
  color: var(--text-color);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.page {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
}

.page-header {
  padding: 2.5rem 0 1.5rem;
}

h1 {
  margin-bottom: 0.4rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.feature-photo,
.gallery-grid figure {
  overflow: hidden;
  margin: 0;
  border-radius: 0.5rem;
  background: var(--surface-color);
}

.feature-photo img,
.gallery-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 6px solid var(--surface-color);
  border-radius: 0.7rem;
}

.feature-photo img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery {
  padding-top: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-footer {
  margin-top: 2.5rem;
  padding: 1rem 0 2rem;
  border-top: 2px solid var(--border-color);
  text-align: center;
}

.page-footer a {
  color: var(--link-color);
}

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

  .feature-photo img {
    aspect-ratio: 4 / 5;
  }
}
