/* Scroll animation classes for assets/js/scrollspy.js. */
.animate-fade               { animation: sz-fade 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) both; }
.animate-slide-left-medium  { animation: sz-slide-left 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) both; }
.animate-slide-right-medium { animation: sz-slide-right 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) both; }
.animate-slide-top-small    { animation: sz-slide-top 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) both; }
.animate-slide-bottom-small { animation: sz-slide-bottom 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) both; }
.animate-fade-up            { animation: sz-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-scale-up           { animation: sz-scale-up 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) both; }
.animate-scale-down         { animation: sz-scale-down 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) both; }

@keyframes sz-fade         { from { opacity: 0; } to { opacity: 1; } }
@keyframes sz-slide-left   { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes sz-slide-right  { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes sz-slide-top    { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes sz-slide-bottom { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sz-fade-up      { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes sz-scale-up     { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes sz-scale-down   { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

/* stacked (mobile): rise instead, a sideways slide would widen the page */
@media (width < 782px) {
	.animate-slide-left-medium,
	.animate-slide-right-medium {
		animation-name: sz-slide-bottom;
	}
}

@media (prefers-reduced-motion: reduce) {
	[class*="animate-"] {
		animation: none;
	}
}
