<commit_before>
  	/****************************************
  	*** <NAME> made this Scripts  ***
  	*** Github: github.com/jgferreiro *******
  	*** Website: jgferreiro.com   ***********
  	*** Copyright <NAME>  ***********
  	*****************************************/
 	
	var header = $('.Header'),
	    headerHeight = header.height(),
	    headerContent = $('.HeaderContent');

	$(document).scroll(function(e)
	{ 
		opacity =  window.scrollY / headerHeight;
		titleOpacity = (headerHeight - window.scrollY) / window.scrollY;
		titleMargin =  window.scrollY / headerHeight;

 		if (window.scrollY > headerHeight / 1.2) {
			opacityNum +=  0.4;
		}
 		else if (window.scrollY > headerHeight / 1.8) {
			opacityNum +=  0.2;
		}
		else if (window.scrollY > headerHeight / 3) {
			opacityNum *=  1.3;
		} 
		if(window.scrollY > 0)
		{
	 		headerContent.css('opacity', titleOpacity); 
			headerContent.css('margin-bottom', - titleMargin * 90); 
	 		headerContent.css('opacity', opacity); 
		}
	});<commit_msg>Header.js working - Cleaning the code and moduralizable<commit_after>
  	/****************************************
  	*** <NAME> made this Scripts  ***
  	*** Github: github.com/jgferreiro *******
  	*** Website: jgferreiro.com   ***********
  	*** Copyright <NAME>  ***********
  	*****************************************/
 	
	var header = $('.Header'), 
		headerBlur = $('.HeaderBlurImage'), 
		headerContent = $('.HeaderContent');

	$(document).scroll(function(e)
	{ 
		opacity =  window.scrollY / header.height();
		titleOpacity = (header.height() - window.scrollY) / window.scrollY;
		titleMargin =  window.scrollY / header.height();

 		if (window.scrollY > header.height() / 1.2) {
			opacity += 0.4;
		}
 		else if (window.scrollY > header.height() / 1.8) {
			opacity += 0.2;
		}
		else if (window.scrollY > header.height() / 3) {
			opacity *= 1.3;
		} 
		if(window.scrollY > 0)
		{
	 		headerContent.css('opacity', titleOpacity); 
			headerContent.css('margin-bottom', - titleMargin * 90); 
	 		headerBlur.css('opacity', opacity); 
		}
	});
{'fraction_non_alphanumeric': 0.25594949004371054, 'fraction_numerical': 0.013598834385624089, 'mean_word_length': 3.3923240938166312, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4458235', 'n_tokens_mistral': 765, 'n_tokens_neox': 674, 'n_words': 122}