.gallery {
  list-style: none;
  padding: 4rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
  gap: 4rem;
}
.gallery figure {
  --gallery-height: 40rem;
    /* reset figure default margin */
  margin: 0;
  height: var(--gallery-height);
}

.gallery img {
  display: block;
  width: 100%;
  object-fit: cover;
  height: var(--gallery-height);
}

figcaption {
  font-size: 2rem;
  margin-top: 0px;
  letter-spacing: 1px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  max-height: 15%;
  padding: 0 15px;
}

/* Create 5 equal columns that sits next to each other */
.column {
  flex: 20%;
  max-width: 20%;
  padding: 0 15px;
}

.column img {
  vertical-align: middle;
  width: 100%;
  margin: 15px;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}
body {
  background-color: black;
  color: white;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Arial, sans-serif;
}
h1 {
  font-family: serif;
  font-size: 3rem;
  letter-spacing: 1pt;
  font-weight: normal;
}
h2 {
  font-family: serif;
  font-size: 2rem;
  letter-spacing: 1pt;
  font-weight: normal;
}
h3 {
  font-family: serif;
  font-size: 1.5rem;
  letter-spacing: 1pt;
  font-weight: normal;
}
p {
  font-family: serif;
  font-size: 12px;
  letter-spacing: 1pt;
}
a {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Arial, sans-serif;
  text-decoration: none;
  color: lightpink;
  font-size: 20px;
  margin-top: 0px;
  letter-spacing: 3px;
  font-weight: normal;
}
a:hover {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Arial, sans-serif;
  font-style: italic; 
  color: white;
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: normal;
}