html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  align-items: center;
  flex-direction: column;
  background-image: repeating-linear-gradient(
    to bottom right,
    #1a13ff,
    #ff00ef
  );
  font-family: monospace;
  min-height: 100%;
  margin: 0.5rem;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-size: 2em;
}

h1 {
  color: pink;
}

figure {
  display: table;
}

figcaption {
  display: table-cell;
  vertical-align: middle;
  font-size: 1em;
  padding-right: 12px;
}

audio {
  display: table-cell;
  vertical-align: middle;
}

.center {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
}

#rainbow {
  margin-bottom: 12px;
}

button {
  font-size: 2rem;
  cursor: pointer;
  display: none;
  display: block;
  padding: 0.5rem 1rem;
  cursor: pointer;
  background: #6aab95;
  border-radius: 12px;
  color: #fff;
  transition: ease 0.5s;
  border: solid 1px #4e8774;
}

button:hover {
  background: #4e8774;
}

#photos-container {
  display: none;
  flex-direction: row;
  margin: 2rem;
  margin-bottom: 8rem;
  opacity: 0;
  overflow: hidden;
  margin-bottom: 0;
}

@media screen and (max-width: 50rem) {
  #photos-container {
    flex-direction: column;
  }
}

@media screen and (max-width: 1000px) {
  body {
    font-size: 3rem;
  }
}

img {
  height: 10rem;
  margin: 0.5rem;
}

.story-link {
  margin: 12px;
}
