:root {
	--main-bg-color: #00aeef;
}

@view-transition {
	navigation: auto;
}

html,
body {
	width: 100%;
	height: 100%;
}

body {
	background: no-repeat center/95% url(../images/logo-white.svg) var(--main-bg-color);
	margin: 0;
}

.bubble-wrapper {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.bubble {
	width: 300px;
	height: 300px;
	position: absolute;
	border-radius: 50%;
	background-color: #fff;
	opacity: 0.5;
	transform: translate(-50%, 0);
	animation: floatUp 20s linear infinite,
		bubbleMove 3s ease-in-out infinite alternate;

	&:nth-child(1) {
		top: -5%;
		left: 10%;
		transform: scale(0.8);
		animation-duration: 11s, 3s;
	}

	&:nth-child(2) {
		top: 80%;
		left: 20%;
		transform: scale(0.2);
		animation-duration: 8s, 2s;
	}

	&:nth-child(3) {
		top: 8%;
		left: 30%;
		transform: scale(0.4);
		animation-duration: 9s, 3s;
	}

	&:nth-child(4) {
		top: 80%;
		left: 40%;
		transform: scale(0.9);
		animation-duration: 12s, 3s;
	}

	&:nth-child(5) {
		top: 80%;
		left: 50%;
		transform: scale(0.4);
		animation-duration: 10s, 3s;
	}

	&:nth-child(6) {
		top: 80%;
		left: 60%;
		transform: scale(0.8);
		animation-duration: 13s, 4s;
	}

	&:nth-child(7) {
		top: 80%;
		left: 70%;
		transform: scale(0.2);
		animation-duration: 5.5s, 2s;
	}

	&:nth-child(8) {
		top: 80%;
		left: 80%;
		transform: scale(1);
		animation-duration: 14s, 4s;
	}

	&:nth-child(9) {
		top: 60%;
		left: 90%;
		transform: scale(0.3);
		animation-duration: 6s, 2s;
	}
}

@keyframes floatUp {
	from {
		margin-top: 100%;
	}

	to {
		margin-top: -100%;
	}
}

@keyframes bubbleMove {
	from {
		margin-left: -150px;
	}

	to {
		margin-left: -90px;
	}
}
