text: jQuery(document).ready(function($){
  	function toggleNav(bool) {
  		$('.cd-nav-container, .cd-overlay').toggleClass('is-visible', bool);
  		$('main').toggleClass('scale-down', bool);
  		$('body').toggleClass('navigation-visible', bool);
  	}
      
  	//open navigation clicking the menu icon
  	$('.cd-nav-trigger').on('click', function(event){
  		event.preventDefault();
  		toggleNav(true);
  	});
      
  	//close the navigation
  	$('.cd-close-nav, .cd-overlay').on('click', function(event){
  		event.preventDefault();
  		toggleNav(false);
  	});
  
  });