@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cutive+Mono&display=swap');

* {
  color: rgb(10, 10, 10);
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgb(240, 240, 240);
}

h1 {
  font-family: "Lora";
  font-size: 2.5em;
}

#stories {
  position: relative;
  display: flex;
  flex-direction: column;

  background-color: #fff;
  padding: 0px 30px;
  margin: 0 auto;
  max-width: 500px;
  width: 100vw;

  aspect-ratio: 1/1.41421;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

#stories a {
  font-family: "Cutive Mono";
  font-size: 1.2em;
  color: black;
}

#stories #page-number {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  text-align: center;
  font-family: "Cutive Mono";
  font-weight: bold;
  color: rgb(200, 200, 200);
  user-select: none;
}

#stories a:hover {
  font-weight: bold;
}