backgroundPosition = 'center';

        const cardInfo = document.createElement('div');
        cardInfo.className = 'card-info';

        const cardTitle = document.createElement('p');
        cardTitle.className = 'card-title';
        cardTitle.textContent = name;

        const cardAuthor = document.createElement('p');
        cardAuthor.className = 'card-author';
        if (author) cardAuthor.textContent = "By " + author;

        cardInfo.appendChild(cardTitle);
        cardInfo.appendChild(cardAutho