/*
 * Theme entrance animations (used together with WOW.js).
 * Original work written for this theme and licensed under GPLv2 or later,
 * the same license as the theme. Not derived from animate.css.
 */

.animated {
	animation-duration: 1s;
	animation-fill-mode: both;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translate3d(0, 40px, 0); }
	to { opacity: 1; transform: none; }
}

@keyframes fadeInDown {
	from { opacity: 0; transform: translate3d(0, -40px, 0); }
	to { opacity: 1; transform: none; }
}

@keyframes zoomIn {
	from { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); }
	50% { opacity: 1; }
	to { opacity: 1; transform: none; }
}

@keyframes zoomInDown {
	from { opacity: 0; transform: scale3d(0.5, 0.5, 0.5) translate3d(0, -600px, 0); }
	60% { opacity: 1; transform: scale3d(0.9, 0.9, 0.9) translate3d(0, 20px, 0); }
	to { opacity: 1; transform: none; }
}

@keyframes zoomInLeft {
	from { opacity: 0; transform: scale3d(0.5, 0.5, 0.5) translate3d(-600px, 0, 0); }
	60% { opacity: 1; transform: scale3d(0.9, 0.9, 0.9) translate3d(20px, 0, 0); }
	to { opacity: 1; transform: none; }
}

@keyframes zoomInRight {
	from { opacity: 0; transform: scale3d(0.5, 0.5, 0.5) translate3d(600px, 0, 0); }
	60% { opacity: 1; transform: scale3d(0.9, 0.9, 0.9) translate3d(-20px, 0, 0); }
	to { opacity: 1; transform: none; }
}

@keyframes slideInDown {
	from { visibility: visible; transform: translate3d(0, -100%, 0); }
	to { transform: none; }
}

@keyframes pulse {
	from { transform: scale3d(1, 1, 1); }
	50% { transform: scale3d(1.05, 1.05, 1.05); }
	to { transform: scale3d(1, 1, 1); }
}

.fadeIn { animation-name: fadeIn; }
.fadeInUp { animation-name: fadeInUp; }
.fadeInDown { animation-name: fadeInDown; }
.zoomIn { animation-name: zoomIn; }
.zoomInDown { animation-name: zoomInDown; }
.zoomInLeft { animation-name: zoomInLeft; }
.zoomInRight { animation-name: zoomInRight; }
.slideInDown { animation-name: slideInDown; }
.pulse { animation-name: pulse; }

@media (prefers-reduced-motion: reduce) {
	.animated {
		animation: none !important;
	}
}
