.body {
  background-color: white;
  background-image: url('https://wakazakiya.com/ko-html/bkgd/pap-texture-background.jpeg');
  background-size: cover;
  }

.shelf {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 0 16px;
  border-bottom: 14px solid #6b4a2b; /* the shelf board */
  overflow-x: auto;
}

.book {
  height: var(--h);
  width: 52px;
  background: var(--c);
  color: #fff;
  text-decoration: none;
  font: 600 14px/1 Georgia, serif;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px 3px 0 0;
  box-shadow: inset -4px 0 0 rgba(0,0,0,.2);
  transition: transform .15s;
}

.book:hover,
.book:focus-visible {
  transform: translateY(-10px);
}

.banner {
  background: #6b4a2b;
  color: #fff;
  font: 700 24px/1 Georgia, serif;
  text-align: center;
  padding: 18px;
  border-radius: 6px 6px 0 0;
  letter-spacing: 1px;
}

.piece {
  font-size: 64px;
  line-height: 1;
  color: #222;
  margin-left: 12px;
}