@import '../../shared/constants/colors.scss';

.container {
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	background-size: 300% 300%;
	background-image: linear-gradient(
		90deg,
		rgba(243, 243, 243, 1) 0%,
		rgba(94, 233, 191, 1) 19%,
		rgba(47, 105, 255, 1) 54%,
		rgba(99, 96, 255, 1) 82%,
		rgba(161, 106, 232, 1) 100%
	);
	animation: AnimateBG 20s ease infinite;
}

.promoContainer {
	width: 60vw;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.signUpContainer {
	width: 40vw;
	height: 100vh;
	border: 0px transparent solid;
	border-top-left-radius: 100px;
	border-bottom-left-radius: 100px;
	display: flex;
	gap: 3em;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: $primary-white;
	box-shadow: 0px 5px 50px $primary-grey;
}

.dark {
	color: $primary-white;
	background-color: $primary-black;
}

.formContainer {
	margin-top: 20px;
	width: 50%;
}

@keyframes AnimateBG {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@media screen and (max-width: 479px) {
	.promoContainer {
		display: none;
	}
	.signUpContainer {
		width: 100vw;
		border-radius: 0;
	}
	.formContainer {
		width: 70%;
	}
	.container {
		justify-content: center;
		flex-direction: column;
	}
}
