body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    background: #0d0d0d;
    color: #f1f5f9;
}

.main {
    width: 400px;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    background: #1a1a1a;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

#backHome {
    position: relative;
    margin-top: 30px;
    text-decoration: none;
    color: #94a3b8;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.4);
    transition: .3s ease-in-out;
}

#backHome:hover {
    transform: scale(1.05);
    color: #f1f5f9;
}

#chk {
    display: none;
}

.signup {
    position: relative;
    width: 100%;
    height: 100%;
}

#labellogin {
    padding-top: 10px;
}

label {
    color: #f1f5f9;
    font-weight: 700;
    font-size: 2.3em;
    justify-content: center;
    display: flex;
    margin: 50px;
    cursor: pointer;
    transition: .5s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input {
    width: 60%;
    background: #333;
    justify-content: center;
    display: flex;
    margin: 20px auto;
    padding: 12px;
    border: none;
    outline: none;
    border-radius: 6px;
    color: #f1f5f9;
    font-size: 0.95em;
}

input::placeholder {
    color: #94a3b8;
}

button {
    width: 60%;
    height: 42px;
    margin: 10px auto;
    justify-content: center;
    display: block;
    color: #f1f5f9;
    background: #111;
    font-size: 1em;
    font-weight: 500;
    outline: none;
    border: none;
    border-radius: 6px;
    transition: .4s ease;
    cursor: pointer;
}

button:hover {
    background: #222;
    box-shadow: 0px 0px 12px rgba(0,0,0,0.4);
}

.login {
    height: 460px;
    background: #141414;
    border-radius: 60% / 10%;
    transform: translateY(-180px);
    transition: .8s ease-in-out;
}

.login label {
    color: #94a3b8;
    transform: scale(.6);
}

#chk:checked ~ .login {
    transform: translateY(-500px);
}

#chk:checked ~ .login label {
    transform: scale(1);
    color: #f1f5f9;
}

#chk:checked ~ .signup label {
    transform: scale(.6);
    color: #94a3b8;
}
