body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: sans-serif;
    background-color: rgb(40, 32, 75);
}

.main {
    width: 350px;
    height: 480px;
    background: rgb(231, 200, 22);
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 5px 30px 50px black;
}

#chk {
    display: none;
}

.signup {
    position: relative;
    width: 100%;
    height: 100%;
}

label {
    color: rgb(7, 7, 6);
    font-size: 35px;
    justify-content: center;
    display: flex;
    margin: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: .5s ease-in-out;
    margin-bottom: 10px;
}

input {
    width: 60%;
    height: 20px;
    background: rgb(217, 218, 202);
    justify-content: center;
    display: flex;
    margin: 18px auto;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 50px;
}

button {
    width: 60%;
    height: 40px;
    margin: 10px auto;
    justify-content: center;
    display: block;
    color: rgb(0, 0, 0);
    background: rgb(81, 120, 228);
    font-size: 20px;
    font-weight: bold;
    margin-top: 18px;
    outline: none;
    border: none;
    border-radius: 10px;
    transition: .3s ease-in;
    cursor: pointer;
    box-shadow: 5px 20px 40px black;
}

button:hover {
    background: rgb(20, 57, 105);
}

.login {
    height: 460px;
    background: #b61d1d;
    border-radius: 60% / 20%;
    transform: translateY(-180px);
    transition: .8s ease-in-out;
}

.login label {
    color: #573b8a;
    transform: scale(.6);
}

.login p {
    text-align: center;
    padding: 20px;
}

#chk:checked ~ .login {
    transform: translateY(-500px);
}

#chk:checked ~ .login label {
    transform: scale(.8);
}

#chk:checked ~ .signup label {
    transform: scale(.3);
}























