body {
  display: flex;
  margin: 0;
  max-height: 100vh;
  max-width: 100vw;
  background-color: aliceblue;
}

ul li {
  font-style: italic;
}

#definition {
  display: none;
}

#story {
  flex: none;
  width: 25em;
  text-align: justify;
  max-height: 100vh;
  overflow: auto;
}

#story > div {
  margin: 0.5em;
  padding: 0.5em;
  border-radius: 0.2em;
  font-family: "Mali", "Verdana", cursive;
  font-size: 0.9em;
  cursor: pointer;
}

#story > div:hover {
  background-color: lavender;
}

#story > div.current {
  background-color: lightblue;
}

#story > div:not(.current) {
  opacity: 60%;
}

#slideshow {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#slideshow > * {
  max-width: 100%;
  max-height: 100%;
  display: none;
}

#slideshow > *.current {
  display: flex;
}

#slideshow > .slideshow-composition {
  gap: 1em;
}

#exit {
  position: absolute;
  top: 1em;
  right: 1em;
  width: 2em;
  height: 2em;
  background-color: lightblue;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  color: whitesmoke;
}

.hidden {
  opacity: 0;
  animation: 2s vanish;
}

@-webkit-keyframes vanish { from { opacity: 1; } to { opacity: 0; }  }
@keyframes vanish { from { opacity: 1; } to { opacity: 0; }  }
