<div class="calendar">
.calendar {
document.getElementById('bg-task').addEventListener("click", hide);