/* Custom font classes */ .font-fredoka { font-family: 'Fredoka One', cursive; } /* Animation classes */ @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } .float-animation { animation: float 3s ease-in-out infinite; } /* Book search and filter styles */ .filter-btn { padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; background-color: #e9d5ff; color: #6b21a8; transition: all 0.2s; } .filter-btn:hover { background-color: #d8b4fe; } .filter-btn.active { background-color: #7e22ce; color: white; } .line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .animate-spin { animation: spin 1s linear infinite; } /* Custom scrollbar */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: #8b5cf6; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #7c3aed; }