$(document).ready(function(){

	var timerUnit = 500;
	
	$(document).oneTime(900, "animation-04", function() {
									
		$(".logo").fadeTo(timerUnit * 2, 1);
					
	});
	// Filament flicker
	
	$(document).oneTime(6000 + 600, "animation-01", function() {
							
		$(".filament").show();
					
	});
	
	$(document).oneTime(6000 + 700, "animation-02", function() {
		
		$(".filament").hide();
					
	});
	
	$(document).oneTime(6000 + 800, "animation-03", function() {
		
		$(".filament").show();
					
	});
	
	// Lightbulb on
	
	$(document).oneTime(6000 + 900, "animation-04", function() {
							
		$(".bulb-1").fadeIn(timerUnit * 2);
							
	});
	
	// Benefits list item
	
	$(document).oneTime(2000 + (timerUnit * 1), "animation-05", function() {
					
		$(".benefits li::nth-child(1)").fadeIn(timerUnit);
					
	});
		
	$(document).oneTime(2000 + (timerUnit * 3), "animation-06", function() {
					
		$(".benefits li::nth-child(2)").fadeIn(timerUnit);
					
	});
	
	$(document).oneTime(2000 + (timerUnit * 5), "animation-07", function() {
					
		$(".benefits li::nth-child(3)").fadeIn(timerUnit);
					
	});
	
	$(document).oneTime(2000 + (timerUnit * 7), "animation-08", function() {
					
		$(".benefits li::nth-child(4)").fadeIn(timerUnit);
					
	});
	
	// Fade everything out
	
	// $(document).oneTime(7000, "animation-09", function() {
					
		// $(".benefits").fadeOut(timerUnit);
		
		// $(".logo").fadeOut(timerUnit);
					
	// });
	
	// Fade in the main logo and enter button

	$(document).oneTime(7000, "animation-10", function() {
		
		// $(".logo-large").fadeIn(timerUnit);
		
		$(".bright-ideas").fadeIn(timerUnit);
					
	});
	
	$(document).oneTime(9000, "animation-11", function() {
		
		// $(".logo-large").fadeIn(timerUnit);
		
		$(".btn-enter").fadeIn(timerUnit);
					
	});	
					
});
