
.main{
	width: 550px;
	height: 540px;
	background: red;
	overflow: hidden;
	background-color:#37b880;
	border-radius: 10px;
	box-shadow: 5px 20px 50px #000;
}
#chk{
	display: none;
}
.signup{
	position: relative;
	width:100%;
	height: 100%;
}
label{
	color: #fff;
	font-size: 2.3em;
	justify-content: center;
	display: flex;
	margin: 60px;
	font-weight: bold;
	cursor: pointer;
	transition: .5s ease-in-out;
}
input{
	width: 60%;
	height: 20px;
	background: #e0dede;
	justify-content: center;
	display: flex;
	margin: 20px auto;
	padding: 10px;
	border: none;
	outline: none;
	border-radius: 5px;
}
button{
	width: 60%;
	height: 40px;
	margin: 10px auto;
	justify-content: center;
	display: block;
	color: #fff;
	background: #000000;
	font-size: 1em;
	font-weight: bold;
	margin-top: 20px;
	outline: none;
	border: none;
	border-radius: 5px;
	transition: .2s ease-in;
	cursor: pointer;
	padding-bottom: 43px;
	
}
button:hover{
	background: #000000;
}
.login{
	height: 460px;
	background: #e6e6e6;
	border-radius: 60% / 10%;
	transform: translateY(-180px);
	transition: .8s ease-in-out;
}
.login label{
	color: #37b880;
	transform: scale(.6);
}

#chk:checked ~ .login{
	transform: translateY(-500px);
}
#chk:checked ~ .login label{
	transform: scale(1);	
}
#chk:checked ~ .signup label{
	transform: scale(.6);
}
.link-m {
  border:1px #fff solid;
  padding:10px;
  display:block;
  text-align:center;
  color:#fff;
  border-radius:8px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 240px;
  margin-left: 160px;
  background-color: #37b880;
}

.link-n {
  border:1px #fff solid;
  padding:10px;
  display:block;
  text-align:center;
  color:#fff;
  border-radius:8px;
  margin-top: 10px;
  margin-bottom: 30px;
  width: 240px;
  margin-left: 160px;
  background-color: #37b880;
}