body {
  padding: 0;
  margin: 0;
}

em{
  font-weight: bold;
  font-size: large;
}

th {
  border-bottom: solid 1px #ccc;
  text-align: left;
}

li {
  margin-bottom: 3px;
}

div#container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  font-family: monospace;
  padding: 0px;
}

section {
  flex: 1;
  min-width: 500px;
  border-right: solid 1px #ddd;
  border-bottom: solid 1px #ddd;
  padding: 30px;
  justify-items: center;
  justify-self: center;
  display: flex;
  flex-direction: column;
}

section#header{
  flex: 0 0 100%;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 13px;
  text-transform: uppercase;
  background-color: #fdffb6;
}

section#hln{
  background-color: #e0ffe0;
}

section#home{
 flex: 0.8;
	background: #f7fff0;
}

section#music{
  background: #ffebee;
}

section#sports{
  background: #e7fffd;
}

section#books {
  display: block;
  background: #ffff000d;
  padding-top: 44px;
}

div.book-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  gap: 0px;
  perspective: 700px;
  margin-top: 20px;
  margin-bottom: 20px;
}

div.read {
  perspective-origin: top left;
}

div.reading {
  perspective-origin: bottom left;
}

div.book img {
  max-height: 120px;
  box-sizing: border;
}

.face {
  position: absolute;
  height: 120px;
}

.front {
  transform: translateZ(70px);
}

.left {
  background: #2e252d;
  border-width: 1px 0 1px 1px;
  border-color: rgba(255, 255, 255, 0.444);
  border-style: solid;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

div.book {
  cursor: pointer;
  width: 57px;
  height: 120px;
  position: relative;
  transform-style: preserve-3d;
  transform-origin: center;
  transform: rotateY(50deg);
  transition: all 0.4s;
}

div.book-hover {
  z-index: 99;
  transform: rotateY(5deg) scale(130%);
}

.spine-contents {
  writing-mode: vertical-rl;
  color: #ccc;
}
