body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(to bottom, #6e7ea3, #1d4ed8, #06b6d4);
}
.main {
  width: 350px;
  height: 530px;
  background: #1d4ed8;
  overflow: hidden;
  border-radius: 10px;
  border: 2px soild #6e7ea3;
  box-shadow: 5px 20px 50px #4db5ff;
}
#check {
  display: none;
}
.register {
  position: relative;
  width: 100%;
  height: 100%;
}
label {
  color: whitesmoke;
  font-size: 2.3em;
  display: flex;
  justify-content: center;
  margin: 60px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.5s ease-in-out;
}
input {
  width: 60%;
  height: 20px;
  background: white;
  display: flex;
  justify-content: center;
  margin: 20px auto;
  padding: 10px;
  border: 2px solid #06b6d4;
  outline: none;
  border-radius: 10px;
}
button {
  width: 60%;
  height: 40px;
  margin: 10px auto;
  display: block;
  justify-content: center;
  color: whitesmoke;
  background: #1d4ed8;
  font-size: 1em;
  font-weight: bold;
  margin-top: 20px;
  outline: none;
  border: 2px solid #06b6d4;
  border-radius: 10px;
  transition: 0.2s ease-in;
  cursor: pointer;
}
button:hover {
  background-color: #fff;
  color: #1d4ed8;
  box-shadow: 0px 0px 10px white;
}
.login {
  height: 460px;
  background: #4db5ff;
  border-radius: 60% /10%;
  transform: translateY(-180px);
  transition: 0.9s ease-in-out;
}
.login label {
  color:white;
  transform: scale(0.9);
}
#check:checked ~ .login {
  transform: translateY(-500px);
}
#check:checked ~ .login label {
  transform: scale(1);
}
#check:checked ~ .register label {
  transform: scale(0.6);
}
