@font-face {
	font-family: Super Water;
	src: url('../fonts/SuperWater.ttf');
}

@font-face {
	font-family: Swimming Pool;
	src: url('../fonts/SwimmingPool.ttf');
}

html,
body {
	margin: 0;
	padding: 0;
	text-align: center;
	color: white;
	height: 300vh;
	overflow-x: hidden;
}

#background-wrap {
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: -1;
	opacity: 0;
	animation: fadeIn 1s ease 1s forwards;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes animateBubble {
	0% {
		margin-top: 1000px;
	}

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

@keyframes sideWays {
	0% {
		margin-left: 0px;
	}

	100% {
		margin-left: 50px;
	}
}

.x1 {
	animation: animateBubble 25s linear infinite, sideWays 2s ease-in-out infinite alternate;
	left: -5%;
	top: 5%;
	transform: scale(0.6);
}

.x2 {
	animation: animateBubble 20s linear infinite, sideWays 4s ease-in-out infinite alternate;
	left: 5%;
	top: 80%;
	transform: scale(0.4);
}

.x3 {
	animation: animateBubble 28s linear infinite, sideWays 2s ease-in-out infinite alternate;
	left: 10%;
	top: 40%;
	transform: scale(0.7);
}

.x4 {
	animation: animateBubble 22s linear infinite, sideWays 3s ease-in-out infinite alternate;
	left: 20%;
	top: 0;
	transform: scale(0.3);
}

.x5 {
	animation: animateBubble 29s linear infinite, sideWays 4s ease-in-out infinite alternate;
	left: 30%;
	top: 50%;
	transform: scale(0.5);
}

.x6 {
	animation: animateBubble 21s linear infinite, sideWays 2s ease-in-out infinite alternate;
	left: 50%;
	top: 0;
	transform: scale(0.8);
}

.x7 {
	animation: animateBubble 20s linear infinite, sideWays 2s ease-in-out infinite alternate;
	left: 65%;
	top: 70%;
	transform: scale(0.4);
}

.x8 {
	animation: animateBubble 22s linear infinite, sideWays 3s ease-in-out infinite alternate;
	left: 80%;
	top: 10%;
	transform: scale(0.3);
}

.x9 {
	animation: animateBubble 29s linear infinite, sideWays 4s ease-in-out infinite alternate;
	left: 90%;
	top: 50%;
	transform: scale(0.6);
}

.x10 {
	animation: animateBubble 26s linear infinite, sideWays 2s ease-in-out infinite alternate;
	left: 80%;
	top: 80%;
	transform: scale(0.3);
}

.bubble {
	border-radius: 50%;
	box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2), inset 0px 10px 30px 5px rgba(255, 255, 255, 1);
	height: 200px;
	position: absolute;
	width: 200px;
}

.bubble:after {
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
	border-radius: 50%;
	box-shadow: inset 0 20px 30px rgba(255, 255, 255, 0.3);
	content: "";
	height: 180px;
	left: 10px;
	position: absolute;
	width: 180px;
}

h1 {
	font-family: Super Water;
	letter-spacing: 0.1em;
	font-size: 6em;
	margin-bottom: -0.2em;
}

.container {
	width: 100vw;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.word {
	display: inline-block;
	font-family: 'Chewy', monospace;
	margin-right: 0.05em;
	font-weight: bold;
	color: rgb(255, 255, 255);
	font-size: 3em;
	text-shadow: 0 0.2em 0.1em rgba(0, 172, 193, 1);
	animation-name: waving;
	animation-duration: 6s;
	animation-timing-function: cubic-bezier(.55, .5, .45, .5);
	animation-iteration-count: infinite;
}

@keyframes waving {
	0% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-0.3em);
	}

	100% {
		transform: translateY(0em);
	}
}

.wave-section {
	position: fixed;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: space-around;
	transform: translateY(100%);
	overflow: hidden;
}

.wave-section .signup-container {
	display: flex;
	align-items: center;
	gap: 50px;
	position: relative;
}

.wave-section h2 {
	margin-top: 3em;
	font-family: Quicksand;
	font-size: 3em;
}

.wave-section p {
	font-family: DynaPuff;
}

.wave-section:nth-child(2) {
	background: linear-gradient(60deg, rgb(38, 10, 152) 0%, rgb(28, 5, 87) 100%);
	z-index: 2;
}

.wave-section:nth-child(3) {
	background: linear-gradient(310deg, rgb(30, 7, 100) 0%, rgb(41, 2, 81) 100%);
	z-index: 3;
}

.first-section p {
	max-width: 1000px;
	width: 80%;
	font-family: DynaPuff;
	line-height: 150%;
	margin: 0 auto;
}

.first-section {
	width: 100vw;
	background: linear-gradient(60deg, rgba(84, 58, 183, 1) 0%, rgba(0, 172, 193, 1) 100%);
	height: 100vh;
	position: fixed;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 0;
}

a {
	color: lightblue
}

p {
	line-height: 150%;
}

.first-section div submitting {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.first-section div p br {
	margin-bottom: 2vh;
}

br {
	display: block;
	margin: 10px 0;
	content: " ";
}

.waves {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 15vh;
	margin-bottom: -7px;
	min-height: 100px;
	max-height: 150px;
	mix-blend-mode: overlay;
}

.parallax>use {
	animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
	animation-delay: -2s;
	animation-duration: 7s;
}

.parallax>use:nth-child(2) {
	animation-delay: -3s;
	animation-duration: 10s;
}

.parallax>use:nth-child(3) {
	animation-delay: -4s;
	animation-duration: 13s;
}

.parallax>use:nth-child(4) {
	animation-delay: -5s;
	animation-duration: 20s;
}

@keyframes move-forever {
	0% {
		transform: translate3d(-90px, 0, 0);
	}

	100% {
		transform: translate3d(85px, 0, 0);
	}
}

@media (max-width: 768px) {
	.waves {
		height: 40px;
		min-height: 40px;
	}
}

#boat {
	animation: wiggleBoatAni 2s ease infinite;
	transform-origin: center;
	transform-box: fill-box;
}

#flag {
	animation: waveFlagAni 0.3s ease infinite;
	transform-origin: bottom left;
	transform-box: fill-box;
}

#wave-mask {
	animation: waterMaskAni 2s ease infinite;
	transform-origin: center;
	transform-box: fill-box;
}

#wave-top {
	animation: waterWaveTopAni 2s ease infinite;
	transform-origin: center;
	transform-box: fill-box;
}

#wave-middle {
	animation: waterWaveMiddleAni 2s ease infinite;
	transform-origin: center;
	transform-box: fill-box;
}

#wave-bottom {
	animation: waterWaveBottomAni 2s ease infinite;
	transform-origin: center;
	transform-box: fill-box;
	position: absolute;
	bottom: -20px;
	left: 0;
	width: 100%;
}

@keyframes waterMaskAni {
	0% {
		transform: rotateZ(-2deg) scale(1, 1) translateX(-3%);
	}

	50% {
		transform: rotateZ(0deg) scale(1.4, 1) translateX(5%);
	}

	100% {
		transform: rotateZ(-2deg) scale(1, 1) translateX(-3%);
	}
}

@keyframes waterWaveTopAni {
	0% {
		transform: rotateZ(0deg) scale(1, 1) translateX(2%);
		opacity: 0.5;
	}

	50% {
		transform: rotateZ(-3deg) scale(1, 1) translateX(-5%);
		opacity: 0.2;
	}

	100% {
		transform: rotateZ(0deg) scale(1, 1) translateX(2%);
		opacity: 0.5;
	}
}

@keyframes waterWaveMiddleAni {
	0% {
		transform: rotateZ(0deg) scale(1, 1) translateX(-3%);
		opacity: 0.5;
	}

	50% {
		transform: rotateZ(-2deg) scale(1, 1) translateX(3%);
		opacity: 0.2;
	}

	100% {
		transform: rotateZ(0deg) scale(1, 1) translateX(-3%);
		opacity: 0.5;
	}
}

@keyframes waterWaveBottomAni {
	0% {
		transform: rotateZ(3deg) scale(1, 1) translateX(0%);
		opacity: 0.4;
	}

	50% {
		transform: rotateZ(-3deg) scale(1, 1) translateX(-6%);
		opacity: 0.2;
	}

	100% {
		transform: rotateZ(3deg) scale(1, 1) translateX(0%);
		opacity: 0.4;
	}
}

@keyframes wiggleBoatAni {
	0% {
		transform: rotateZ(-4deg) translate(0%, -3%);
	}

	50% {
		transform: rotateZ(4deg) translate(-4%, 3%);
	}

	100% {
		transform: rotateZ(-4deg) translate(0%, -3%);
	}
}

@keyframes waveFlagAni {
	0% {
		transform: scale(1, 1) rotateZ(0deg);
	}

	50% {
		transform: scale(1.2, 0.9) rotateZ(3deg);
	}

	100% {
		transform: scale(1, 1) rotateZ(0deg);
	}
}

.logo {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 100px;
	height: auto;
	z-index: 1000;
	transition-duration: 0.2s;
}

.logo:hover {
	width: 150px;
}