/* parameterize the colors */
:root {
    --color1: #204d91;
    --color2: #122849;
    --color3: #ffffff;
	--color4: #6694da;
}


body{
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	font-family: 'Jost', sans-serif;
	background: linear-gradient(to bottom, var(--color2), var(--color1), var(--color2));
}
.main{
	width: 350px;
	height: 500px;
	overflow: hidden;
	background: linear-gradient(to bottom, var(--color2), var(--color1), var(--color2));
	border-radius: 10px;
	box-shadow: 5px 20px 50px #000;
}
#chk{
	display: none;
}
.login{
	position: relative;
	width:100%;
	height: 100%;
}
label{
	color: var(--color3);
	font-size: 2.3em;
	justify-content: center;
	display: flex;
	margin: 40px;
	font-weight: bold;
	cursor: pointer;
	transition: .5s ease-in-out;
	text-align: center;
}
input, select {
	width: 60%;
	height: 20px;
	background: var(--color3);
	justify-content: center;
	display: flex;
	margin: 20px auto;
	margin-top: 2px;
	margin-bottom: 2px;
	padding: 10px;
	border: none;
	outline: none;
	border-radius: 5px;
	border: 2px solid var(--color2);
}
input:focus {
    border: 2px solid var(--color4);
}
select {
	width: 30%;
	padding: 1px; 
	align-items: top;
}
input[name="phone"] {
	width: 70%;
	margin-right: 0px;
	margin-left: 10px;
	padding: 1px;
}
.phone-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 2px auto;
	width: 60%;
	max-height: 20px;
	max-width: 60%;
}

button{
	width: 60%;
	height: 40px;
	margin: 10px auto;
	justify-content: left;
	display: block;
	color: var(--color3);
	background: var(--color2);
	font-size: 1em;
	font-weight: bold;
	margin-top: 20px;
	outline: none;
	border: none;
	border-radius: 5px;
	transition: .2s ease-in;
	cursor: pointer;
}
button:hover{
	background: #3478dd;
}
.signup{
	height: 460px;
	background: #eee;
	border-radius: 60% / 10%;
	transform: translateY(-130px);
	transition: .8s ease-in-out;
}
.signup label{
	color: #122849;
	transform: scale(.6);
	margin-bottom: 10px;
}

#chk:checked ~ .signup{
	transform: translateY(-420px);
}
#chk:checked ~ .signup label{
	transform: scale(1);	
}
#chk:checked ~ .login label{
	transform: scale(.6);
	border: solid;
	border-radius: 10px;
	border-color: var(--color2);
	box-shadow: 0 5px 10px #000000;
}

/* terms and conditions */
.terms {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 2px auto;
	width: 60%;
	max-height: 20px;
	max-width: 60%;
	color: var(--color4);
	border: none;
}

.terms-checkbox {
	color: var(--color1);
	border: solid;
	display: flex;
	justify-content: left;
	align-items: left;
	margin: 2px;
	font-size: 0.6em;
	width: 10%;
}

.terms-notice {
	display: flex;
	justify-content: left;
	align-items: left;
	margin: 2px auto;
	font-size: 0.6em;
	width: 90%;
}