body {
  font-family: "Lato", "Helvetica Neue", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-smooth: always;
  font-style: normal;

  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.photo {
  width: 100vw;
  height: 100dvh;
  background-attachment: fixed;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url("party-front.gif");
}

.photo:hover {
  background-image: url("party-back.png");
}

ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

li {
  text-transform: uppercase;
}

li:not(:first-child)::before {
  content: "|";
  margin-left: 1rem;
  margin-right: 1rem;
}

a {
  color: currentColor;
}
a:hover {
  color: #aad;
}

@media only screen and (orientation: portrait) {
  .photo {
    background-position: center bottom;
  }

  ul {
    flex-direction: column;
    text-align: center;
  }

  li {
    margin-top: 0.7rem;
  }

  li:not(:first-child)::before {
    content: "";
    display: block;
    margin: 0;
  }
}
