body{
  /* font-family: 'CaladeaRegular'; */
  font-family: 'LibreCaslonTextRegular';
}

#outerbox {
  max-width: 960px;
  margin: auto;
}

h1 {
  font-size: 3em;
  text-align: center;
  margin: 0;
  padding: 1em 0;
}

ul {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  justify-content: center;
  margin: 0;
  padding-left: 0;
  padding-bottom: 2em;
}

@media (max-width: 500px){
  ul {
    flex-direction: column;
    align-items: center;
  }
}

li {
  padding-left: 3em;
  padding-right: 3em;
  padding-top: 1em;
  padding-bottom: 1em;

  text-transform: uppercase;
}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  text-decoration-line: overline underline;
  text-decoration-style: double;
}

/* each fullsize image starts out invisible */
.fullsize {
  display: none;
}

.fullsize img {
  max-width: 100%;
  max-height: calc(100vh - 2em);
}

/* when the corresponding thumbnail is clicked, image is revealed */
.display-area :target {
  display: block;
  padding: 1em 0;
}

main {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; */
  /* justify-content: space-between; */
  justify-content: space-around;
  padding-bottom: 5em;
  row-gap: 1rem;
}

.thumb-container {
  width: 200px;
  display: flex;
  justify-content: center; /* possibly not doing anything? */
  align-items: center; /* possibly not doing anything? */
}

.thumbnail {
  width: 80%;
  height: auto;
}

.thumb-container a {
  display: flex;
  align-items: center;
  justify-content: center;
}

h2 {
  padding: 1em 0;
  margin: 0;
  padding-left: 5%;
}

p {
  max-width: 40em;
  padding-left: 10%;
}

section {
  padding-bottom: 4em;
}

.spacer {
  height: 8rem;
}

footer {
  padding-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

footer div {
  text-align: center;
  max-width: 30rem;
  font-size: .75em;
}
