                  }
                    document.getElementById('modal').classList.remove('hidden');
                }

                document.getElementById('closeModal').addEventListener('click', () => {
                document.getElementById('modal').classList.add('hidden');
            });
            
            function closeModal(event) {
                if (event.target.id === "modal") {
                    document.getElementById('modal').classList.add('hidden');
                }
            }