body {
  position: relative;

  overflow-x: none;
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;

  padding: 24px 24px 48px;

  @media (orientation: landscape) {
    padding: 96px 24px;
  }
}

h1 {
  margin-bottom: 0;
}

#photoGrid {
  /* Images are 800 x 533 or 533 x 800 */

  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 17px; /* This makes the 533 a good number to work with */
  grid-auto-rows: calc(
    11 / 16 * 100
  ); /* 50 is the common denom of 550 and 800. Times 100 is a good number to work with */

  img {
    cursor: pointer;
    grid-row-end: span 8;

    &.wideImage {
      grid-row-end: span 4;
    }
  }

  @media (width > 700px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

#overlay {
  display: none;

  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background-color: oklch(0 0 0 / 0.8);

  align-items: center;
  justify-content: center;
  flex-direction: column;

  &.visible {
    display: flex;
  }
}

#featuredImage {
  max-width: 90%;
  max-height: 75svh;
}
