/*
==============================================
CSS3 ANIMATION CHEAT SHEET
==============================================

Made by Justin Aguilar

www.justinaguilar.com/animations/

Questions, comments, concerns, love letters:
justin@justinaguilar.com
==============================================
*/

/*
==============================================
slideDown
==============================================
*/
.delay0{

	animation-fill-mode :backwards;
	-webkit-animation-fill-mode :backwards;
	-moz-animation-fill-mode :backwards;
}

.delay1{

	animation-delay:1s;
	-webkit-animation-delay:1s;
	-moz-animation-delay:1s;

	animation-fill-mode :backwards;
	-webkit-animation-fill-mode :backwards;
	-moz-animation-fill-mode :backwards;
}

.delay15{

	animation-delay:1.5s;
	-webkit-animation-delay:1.5s;
	-moz-animation-delay:1.5s;
	animation-fill-mode :backwards;
	-webkit-animation-fill-mode :backwards;
	-moz-animation-fill-mode :backwards;
}

.delay2{

	animation-delay:2s;
	-webkit-animation-delay:2s;
	-moz-animation-delay:2s;
	animation-fill-mode :backwards;
	-webkit-animation-fill-mode :backwards;
	-moz-animation-fill-mode :backwards;
}

.delay25{

	animation-delay:2.5s;
	-webkit-animation-delay:2.5s;
	-moz-animation-delay:2.5s;
	animation-fill-mode :backwards;
	-webkit-animation-fill-mode :backwards;
	-moz-animation-fill-mode :backwards;
}

.delay3{

	animation-delay:3s;
	-webkit-animation-delay:3s;
	-moz-animation-delay:3s;
	animation-fill-mode :backwards;
	-webkit-animation-fill-mode :backwards;
	-moz-animation-fill-mode :backwards;
}


/*
==============================================
slideUp
==============================================
*/


.slideUp{
	animation-name: slideUp;
	-webkit-animation-name: slideUp;	
	-moz-animation-name: slideUp;	
	
	animation-duration: 1s;	
	-webkit-animation-duration: 1s;
	-moz-animation-duration: 1s;

	animation-timing-function: ease;	
	-webkit-animation-timing-function: ease;
	-moz-animation-timing-function: ease;

	visibility: visible !important;			
}

@keyframes slideUp {
	0% {
		transform: translateY(100%);
		opacity: 0.0;
	}
	50%{
		transform: translateY(-8%);
	}
	65%{
		transform: translateY(4%);
	}
	80%{
		transform: translateY(-4%);
	}
	95%{
		transform: translateY(2%);
	}			
	100% {
		transform: translateY(0%);
	}	
}

@-webkit-keyframes slideUp {
	0% {
		-webkit-transform: translateY(100%);
		opacity: 0.0;
	}
	50%{
		-webkit-transform: translateY(-8%);
	}
	65%{
		-webkit-transform: translateY(4%);
	}
	80%{
		-webkit-transform: translateY(-4%);
	}
	95%{
		-webkit-transform: translateY(2%);
	}			
	100% {
		-webkit-transform: translateY(0%);
	}	
}


@-moz-keyframes slideUp {
	0% {
		-moz-transform: translateY(100%);
		opacity: 0.0;
	}
	50%{
		-moz-transform: translateY(-8%);
	}
	65%{
		-moz-transform: translateY(4%);
	}
	80%{
		-moz-transform: translateY(-4%);
	}
	95%{
		-moz-transform: translateY(2%);
	}			
	100% {
		-moz-transform: translateY(0%);
	}	
}

/*
==============================================
slideLeft
==============================================
*/


.slideLeft{
	animation-name: slideLeft;
	-webkit-animation-name: slideLeft;	
	-moz-animation-name: slideLeft;	

	animation-duration: 1s;	
	-webkit-animation-duration: 1s;
	-moz-animation-duration: 1s;

	animation-timing-function: ease-in-out;	
	-webkit-animation-timing-function: ease-in-out;		
	-moz-animation-timing-function: ease-in-out;		

	visibility: visible !important;	
}

@keyframes slideLeft {
	0% {
		transform: translateX(180%);
	}
	50%{
		transform: translateX(-8%);
	}
	75%{
		transform: translateX(2%);
	}
	85%{
		transform: translateX(-2%);
	}
	95%{
		transform: translateX(1%);
	}			
	100% {
		transform: translateX(0%);
	}
}

@-webkit-keyframes slideLeft {
	0% {
		-webkit-transform: translateX(180%);
	}
	50%{
		-webkit-transform: translateX(-8%);
	}
	75%{
		-webkit-transform: translateX(2%);
	}
	85%{
		-webkit-transform: translateX(-2%);
	}
	95%{
		-webkit-transform: translateX(1%);
	}			
	100% {
		-webkit-transform: translateX(0%);
	}
}
@-moz-keyframes slideLeft {
	0% {
		-moz-transform: translateX(180%);
	}
	50%{
		-moz-transform: translateX(-8%);
	}
	75%{
		-moz-transform: translateX(2%);
	}
	85%{
		-moz-transform: translateX(-2%);
	}
	95%{
		-moz-transform: translateX(1%);
	}			
	100% {
		-moz-transform: translateX(0%);
	}
}
/*
==============================================
slideRight
==============================================
*/


.slideRight{
	animation-name: slideRight;
	-webkit-animation-name: slideRight;	
	-moz-animation-name: slideRight;	

	animation-duration: 1s;	
	-webkit-animation-duration: 1s;
	-moz-animation-duration: 1s;

	animation-timing-function: ease-in-out;	
	-webkit-animation-timing-function: ease-in-out;		
	-moz-animation-timing-function: ease-in-out;		

	visibility: visible !important;	
}

@keyframes slideRight {
	0% {
		transform: translateX(-180%);
	}
	50%{
		transform: translateX(8%);
	}
	75%{
		transform: translateX(-2%);
	}
	85%{
		transform: translateX(2%);
	}
	95%{
		transform: translateX(-1%);
	}			
	100% {
		transform: translateX(0%);
	}	
}

@-webkit-keyframes slideRight {
	0% {
		-webkit-transform: translateX(-180%);
	}
	50%{
		-webkit-transform: translateX(8%);
	}
	75%{
		-webkit-transform: translateX(-2%);
	}
	85%{
		-webkit-transform: translateX(2%);
	}
	95%{
		-webkit-transform: translateX(-1%);
	}			
	100% {
		-webkit-transform: translateX(0%);
	}
}

@-moz-keyframes slideRight {
	0% {
		-moz-transform: translateX(-180%);
	}
	50%{
		-moz-transform: translateX(8%);
	}
	75%{
		-moz-transform: translateX(-2%);
	}
	85%{
		-moz-transform: translateX(2%);
	}
	95%{
		-moz-transform: translateX(-1%);
	}			
	100% {
		-moz-transform: translateX(0%);
	}
}


/*
==============================================
fadeIn
==============================================
*/

.fadeIn{
	animation-name: fadeIn;
	-webkit-animation-name: fadeIn;	
	-moz-animation-name: fadeIn;	

	animation-duration: 1.3s;	
	-webkit-animation-duration: 1.3s;
	-moz-animation-duration: 1.3s;

	animation-timing-function: ease-in-out;	
	-webkit-animation-timing-function: ease-in-out;		
	-moz-animation-timing-function: ease-in-out;		

	animation-fill-mode :both;
	-webkit-animation-fill-mode :both;
	-moz-animation-fill-mode :both;

	visibility: visible !important;	
}

@keyframes fadeIn {
	0% {
		transform: scale(0);
		opacity: 0.0;		
	}
	60% {
		transform: scale(1.1);	
	}
	90% {
		transform: scale(0.9);
		opacity: 1;	
	}	
	100% {
		transform: scale(1);
		opacity: 1;	
	}		
}

@-webkit-keyframes fadeIn {
	0% {
		-webkit-transform: scale(0);
		opacity: 0.0;		
	}
	60% {
		-webkit-transform: scale(1.1);
	}
	90% {
		-webkit-transform: scale(0.9);
		opacity: 1;	
	}	
	100% {
		-webkit-transform: scale(1);
		opacity: 1;	
	}		
}

@-moz-keyframes fadeIn {
	0% {
		-moz-transform: scale(0);
		opacity: 0.0;		
	}
	60% {
		-moz-transform: scale(1.1);
	}
	90% {
		-moz-transform: scale(0.9);
		opacity: 1;	
	}	
	100% {
		-moz-transform: scale(1);
		opacity: 1;	
	}		
}


/*
==============================================
pullUp
==============================================
*/

.pullUp{
	animation-name: pullUp;
	-webkit-animation-name: pullUp;	
	-moz-animation-name: pullUp;	

	animation-duration: 1.1s;	
	-webkit-animation-duration: 1.1s;
	-moz-animation-duration: 1.1s;

	animation-timing-function: ease-out;	
	-webkit-animation-timing-function: ease-out;	
	-moz-animation-timing-function: ease-out;	

	transform-origin: 50% 100%;
	-ms-transform-origin: 50% 100%;
	-webkit-transform-origin: 50% 100%; 		
	-moz-transform-origin: 50% 100%; 		
}

@keyframes pullUp {
	0% {
		transform: scaleY(0.1);
		opacity: 0;	
	}
	40% {
		transform: scaleY(1.02);
	}
	60% {
		transform: scaleY(0.98);
	}
	80% {
		transform: scaleY(1.01);
	}
	100% {
		transform: scaleY(0.98);
	}				
	80% {
		transform: scaleY(1.01);
	}
	100% {
		transform: scaleY(1);
	}							
}

@-webkit-keyframes pullUp {
	0% {
		-webkit-transform: scaleY(0.1);
		opacity: 0;	
	}
	40% {
		-webkit-transform: scaleY(1.02);
	}
	60% {
		-webkit-transform: scaleY(0.98);
	}
	80% {
		-webkit-transform: scaleY(1.01);
	}
	100% {
		-webkit-transform: scaleY(0.98);
	}				
	80% {
		-webkit-transform: scaleY(1.01);
	}
	100% {
		-webkit-transform: scaleY(1);
	}		
}


@-moz-keyframes pullUp {
	0% {
		-moz-transform: scaleY(0.1);
		opacity: 0;	
	}
	40% {
		-moz-transform: scaleY(1.02);
	}
	60% {
		-moz-transform: scaleY(0.98);
	}
	80% {
		-moz-transform: scaleY(1.01);
	}
	100% {
		-moz-transform: scaleY(0.98);
	}				
	80% {
		-moz-transform: scaleY(1.01);
	}
	100% {
		-moz-transform: scaleY(1);
	}		
}

/*
==============================================
pullDown
==============================================
*/

.pullDown{
	animation-name: pullDown;
	-webkit-animation-name: pullDown;	
	-moz-animation-name: pullDown;	

	animation-duration: 1.1s;	
	-webkit-animation-duration: 1.1s;
	-moz-animation-duration: 1.1s;

	animation-timing-function: ease-out;	
	-webkit-animation-timing-function: ease-out;	
	-moz-animation-timing-function: ease-out;	

	transform-origin: 50% 0%;
	-ms-transform-origin: 50% 0%;
	-webkit-transform-origin: 50% 0%; 		
	-moz-transform-origin: 50% 0%; 		
}

@keyframes pullDown {
	0% {
		transform: scaleY(0.1);
		opacity: 0;	
	}
	40% {
		transform: scaleY(1.02);
	}
	60% {
		transform: scaleY(0.98);
	}
	80% {
		transform: scaleY(1.01);
	}
	100% {
		transform: scaleY(0.98);
	}				
	80% {
		transform: scaleY(1.01);
	}
	100% {
		transform: scaleY(1);
	}							
}

@-webkit-keyframes pullDown {
	0% {
		-webkit-transform: scaleY(0.1);
		opacity: 0;	
	}
	40% {
		-webkit-transform: scaleY(1.02);
	}
	60% {
		-webkit-transform: scaleY(0.98);
	}
	80% {
		-webkit-transform: scaleY(1.01);
	}
	100% {
		-webkit-transform: scaleY(0.98);
	}				
	80% {
		-webkit-transform: scaleY(1.01);
	}
	100% {
		-webkit-transform: scaleY(1);
	}		
}



@-moz-keyframes pullDown {
	0% {
		-moz-transform: scaleY(0.1);
		opacity: 0;	
	}
	40% {
		-moz-transform: scaleY(1.02);
	}
	60% {
		-moz-transform: scaleY(0.98);
	}
	80% {
		-moz-transform: scaleY(1.01);
	}
	100% {
		-moz-transform: scaleY(0.98);
	}				
	80% {
		-moz-transform: scaleY(1.01);
	}
	100% {
		-moz-transform: scaleY(1);
	}		
}

/*
==============================================
hatch
==============================================
*/

.hatch{
	animation-name: hatch;
	-webkit-animation-name: hatch;	
	-moz-animation-name: hatch;	

	animation-duration: 2s;	
	-webkit-animation-duration: 2s;
	-moz-animation-duration: 2s;

	animation-timing-function: ease-in-out;	
	-webkit-animation-timing-function: ease-in-out;
	-moz-animation-timing-function: ease-in-out;

	transform-origin: 50% 100%;
	-ms-transform-origin: 50% 100%;
	-webkit-transform-origin: 50% 100%; 
	-moz-transform-origin: 50% 100%; 

	visibility: visible !important;		
}

@keyframes hatch {
	0% {
		transform: rotate(0deg) scaleY(0.6);
		opacity: 0;	
	}
	20% {
		transform: rotate(-2deg) scaleY(1.05);
	}
	35% {
		transform: rotate(2deg) scaleY(1);
	}
	50% {
		transform: rotate(-2deg);
	}	
	65% {
		transform: rotate(1deg);
	}	
	80% {
		transform: rotate(-1deg);
	}		
	100% {
		transform: rotate(0deg);
	}									
}

@-webkit-keyframes hatch {
	0% {
		-webkit-transform: rotate(0deg) scaleY(0.6);
		opacity: 0;	
	}
	20% {
		-webkit-transform: rotate(-2deg) scaleY(1.05);
	}
	35% {
		-webkit-transform: rotate(2deg) scaleY(1);
	}
	50% {
		-webkit-transform: rotate(-2deg);
	}	
	65% {
		-webkit-transform: rotate(1deg);
	}	
	80% {
		-webkit-transform: rotate(-1deg);
	}		
	100% {
		-webkit-transform: rotate(0deg);
	}		
}

@-moz-keyframes hatch {
	0% {
		-moz-transform: rotate(0deg) scaleY(0.6);
	}
	20% {
		-moz-transform: rotate(-2deg) scaleY(1.05);
	}
	35% {
		-moz-transform: rotate(2deg) scaleY(1);
	}
	50% {
		-moz-transform: rotate(-2deg);
	}	
	65% {
		-moz-transform: rotate(1deg);
	}	
	80% {
		-moz-transform: rotate(-1deg);
	}		
	100% {
		-moz-transform: rotate(0deg);
	}		
}


/*
==============================================
expandUp
==============================================
*/


.expandUp{
	animation-name: expandUp;
	-webkit-animation-name: expandUp;	
	-moz-animation-name: expandUp;	

	animation-duration: 0.7s;	
	-webkit-animation-duration: 0.7s;
	-moz-animation-duration: 0.7s;

	animation-timing-function: ease;	
	-webkit-animation-timing-function: ease;		
	-moz-animation-timing-function: ease;		

	visibility: visible !important;	
}

@keyframes expandUp {
	0% {
		transform: translateY(100%) scale(0.6) scaleY(0.5);
	}
	60%{
		transform: translateY(-7%) scaleY(1.12);
	}
	75%{
		transform: translateY(3%);
	}	
	100% {
		transform: translateY(0%) scale(1) scaleY(1);
	}	
}

@-webkit-keyframes expandUp {
	0% {
		-webkit-transform: translateY(100%) scale(0.6) scaleY(0.5);
	}
	60%{
		-webkit-transform: translateY(-7%) scaleY(1.12);
	}
	75%{
		-webkit-transform: translateY(3%);
	}	
	100% {
		-webkit-transform: translateY(0%) scale(1) scaleY(1);
	}	
}


@-moz-keyframes expandUp {
	0% {
		-moz-transform: translateY(100%) scale(0.6) scaleY(0.5);
	}
	60%{
		-moz-transform: translateY(-7%) scaleY(1.12);
	}
	75%{
		-moz-transform: translateY(3%);
	}	
	100% {
		-moz-transform: translateY(0%) scale(1) scaleY(1);
	}	
}
