document.addEventListener('DOMContentLoaded', function() { const background = document.querySelector('.background'); const numLogos = 50; // Adjust the number of falling logos as needed for (let i = 0; i < numLogos; i++) { const logo = document.createElement('div'); logo.classList.add('falling-logo'); logo.style.left = Math.random() * 100 + '%'; logo.style.setProperty('--duration', (Math.random() * 5 + 3) + 's'); background.appendChild(logo); } });