* {
  box-sizing: border-box;
  margin: auto;
  text-align: center;
}

html {
  font-size: 18px;
}

/*general styling*/
main {
  background-color: rgba(160, 82, 45, 0.5);
  color: rgba(130, 62, 35, 1);
  font-family: "Fauna One", serif;
}

header, footer {
  background-color: rgba(160, 82, 45, 1);
  color: rgba(250, 228, 181, 1);
  font-family: "Indie Flower", cursive;
  padding: 5%;
}

h1 {
  font-size: 4.5rem;
}

h2 {
  font-size: 2rem;
  padding: 25px 10px;
}

p {
  padding: 15px;
  line-height: 1.5rem;
}

/*menu styling*/
nav {
  text-align: center;
}

nav li {
  display: inline;
  margin: 25px;
  padding: 50px;
  font-size: 1.5rem;
}

ul a {
  color: rgba(250, 228, 181, 1);
}

ul a:hover {
  color: rgba(55, 30, 30, 1);
}

/*table styling*/
table {
  padding: 5px;
  width: 80%;
}

th {
  border-bottom: 2.5px solid brown;
  border-right: 1.5px solid brown;
  padding: 5px;
}

td {
  border-bottom: 1px dashed brown;
  padding: 5px;
}

.note {
  font-style: italic;
  font-size: 0.85rem;
}

/*gallery and images*/
.gallery {
  --s: 200px;
  --f: 1.5;

  width: calc(5*var(--s));
  display: grid;
  grid-template-columns: repeat(3, auto);
  aspect-ratio: 1;
}

.gallery > img {
  width: 0;
  height: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  filter: sepia(65%);
  transition: 0.3s linear;
  cursor: pointer;
}

.gallery img:hover {
  width: calc(var(--s) * var(--f));
  height: calc(var(--s) * var(--f));
  filter: sepia(0%);
}

/*media queries*/
@media only screen and (max-width: 1024px) {
  .gallery {
    width: 85%;
  }
}
