         block.style.display = 'none';
                stars2.style.display = 'none';
                stars1.style.display = 'none';
                player.style.display = 'none';


                document.querySelector('.score').innerHTML = `Score: ${endTimeCalculated}s`;

            }
        }, 10);

        let i = 0.1;

        const level = setInterval(() => {
            block.style.animationDuration = `${2 - i}s`;
            i += 0.1;
        }, 10000)

        let j = 5;

   