@charset "utf-8";

.main {
	position: relative;
	min-height: 100vh;
	isolation: isolate;
}
.hero_body {
	position: relative;
	z-index: 2;
}

.bubbles {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 100%;
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
}

.bubble {
	position: absolute;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	pointer-events: none;
	will-change: transform, opacity;
	animation-name: bubbleFloat;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: ease-in-out;
}

@keyframes bubbleFloat {
	0% {
		transform: translate(0, 0) rotate(0deg);
	}
	50% {
		transform: translate(var(--swayX, 12px), calc(-1 * var(--swayY, 24px))) rotate(var(--swayRot, 4deg));
	}
	100% {
		transform: translate(calc(-1 * var(--swayX, 12px)), calc(-2 * var(--swayY, 24px))) rotate(calc(-1 * var(--swayRot, 4deg)));
	}
}

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