lementsByClassName('card');
        for (const card of cards) {
            add3dEffect(card);
        }
    })

    function createCard(name, author, imageUrl, previewUrl) {
        const card = document.createElement('div');
        card.className = 'card';

        const cardContent = document.createElement('div');
        cardContent.className = 'card-content';
        cardContent.style.backgroundImage = `url('${imageUrl}')`;
        cardContent.style.backgroundSize = 'cover';
        cardContent.style.