.book-stack-container{perspective:1000px}.book-cover-animated{transition:all .4s cubic-bezier(.4,0,.2,1);transform-style:preserve-3d}.book-stack-container:hover .book-cover-animated{animation:bookWave .8s ease-in-out;animation-fill-mode:both}.book-stack-container:hover .book-cover-animated:first-child{animation-delay:0s}.book-stack-container:hover .book-cover-animated:nth-child(2){animation-delay:.08s}.book-stack-container:hover .book-cover-animated:nth-child(3){animation-delay:.16s}.book-stack-container:hover .book-cover-animated:nth-child(4){animation-delay:.24s}.book-stack-container:hover .book-cover-animated:nth-child(5){animation-delay:.32s}.book-stack-container:hover .book-cover-animated:nth-child(6){animation-delay:.4s}.book-stack-container:hover .book-cover-animated:nth-child(7){animation-delay:.48s}@keyframes bookWave{0%{transform:translateY(0) rotate(var(--rotate,0deg))}30%{transform:translateY(-12px) rotate(calc(var(--rotate, 0deg) + 2deg))}60%{transform:translateY(-6px) rotate(calc(var(--rotate, 0deg) - 1deg))}to{transform:translateY(0) rotate(var(--rotate,0deg))}}.book-cover-animated{animation:bookFloat 4s ease-in-out infinite}.book-cover-animated:first-child{animation-delay:0s}.book-cover-animated:nth-child(2){animation-delay:.3s}.book-cover-animated:nth-child(3){animation-delay:.6s}.book-cover-animated:nth-child(4){animation-delay:.9s}.book-cover-animated:nth-child(5){animation-delay:1.2s}.book-cover-animated:nth-child(6){animation-delay:1.5s}.book-cover-animated:nth-child(7){animation-delay:1.8s}@keyframes bookFloat{0%,to{transform:translateY(0) rotate(var(--rotate,0deg))}50%{transform:translateY(-4px) rotate(var(--rotate,0deg))}}.book-cover-animated:hover{transform:translateY(-8px) scale(1.05) rotate(var(--rotate,0deg))!important;box-shadow:0 20px 40px rgba(0,0,0,.2)!important;z-index:20!important}