let menu = document.querySelectorAll('header .ms ul li a');
menu.forEach(element => {
element.addEventListener('click', function(){
console.log(element);
document.getElementById('burger').checked = false;
});
document.addEventListener('click', ({target}) => {
if (target.closest('header .ms ul li a') || !target.closest('.ms')) {
document.getElementById('burger').checked = false;
};
});