.cover-container {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 500px;
    transform: scale(1.6) rotate(3deg);
}

@keyframes initAnimation {
    0% {
      transform: rotateY(-10deg);
    }
    100% {
      transform: rotateY(-32deg);
    }
}

.book {
    width: 200px;
    aspect-ratio: 2/3;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-32deg);
    /* transition: 1s ease;
    animation: 1s ease 0s 1 initAnimation; */
}

/* .book-container:hover .book, 
.book-container:focus .book {
    transform: rotateY(-10deg);
} */

.book > :first-child {
    position: absolute;
    top: 0;
    left: 0;
    background-color: red;
    width: 200px;
    aspect-ratio: 2/3;
    transform: translateZ(17.5px);
    background-color: #74a16e;
    border-radius: 0 5px 5px 0;
    box-shadow: 5px 5px 20px #666;
    object-fit: cover;
}

.book::before {
    position: absolute;
    content: ' ';
    background-color: blue;
    left: 0;
    top: 3px;
    width: 33px;
    aspect-ratio: 1/8.9;
    transform: translateX(179.5px) rotateY(90deg);
    background: #fff;
}

.book::after {
    position: absolute;
    top: 0;
    left: 0;
    content: ' ';
    width: 200px;
    height: 300px;
    transform: translateZ(-17.5px);
    background-color: #434d65;
    border-radius: 0 5px 5px 0;
    box-shadow: -10px 0 50px 10px #666;
}