/*
Homepage cloud illustration: server racks, yellow upload cloud, papers,
plant, and the seated person with a laptop. The file is one flat image
in the page body, so the whole image fades in, rises, then floats.
*/

@keyframes nv-cloud-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 18px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes nv-cloud-float {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(0, -8px, 0);
	}
}

img[src*="imgpsh_fullsize_anim"],
img[srcset*="imgpsh_fullsize_anim"],
img.nv-cloud-motion {
	animation: nv-cloud-rise 0.9s ease-out both;
}

img.nv-cloud-float {
	animation: nv-cloud-float 4.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
	img[src*="imgpsh_fullsize_anim"],
	img[srcset*="imgpsh_fullsize_anim"],
	img.nv-cloud-motion,
	img.nv-cloud-float {
		animation: none;
		opacity: 1;
		transform: none;
	}
}
