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, #0f0c29, #302b63, #24243e);
}
.main{
	width: 470px;
	height: 500px;
	background: #2b265a;
	overflow: hidden;
	/*background: url("https://doc-08-2c-docs.googleusercontent.com/docs/securesc/68c90smiglihng9534mvqmq1946dmis5/fo0picsp1nhiucmc0l25s29respgpr4j/1631524275000/03522360960922298374/03522360960922298374/1Sx0jhdpEpnNIydS4rnN4kHSJtU1EyWka?e=view&authuser=0&nonce=gcrocepgbb17m&user=03522360960922298374&hash=tfhgbs86ka6divo3llbvp93mg4csvb38") no-repeat center/ cover;*/
	border-radius: 10px;
	box-shadow: 5px 20px 50px #000;
}
#chk{
	display: none;
}
.login{
	position: relative;
	width:100%;
	height: 100%;
}
label{
	color: #fff;
	font-size: 2.3em;
	justify-content: center;
	display: flex;
	margin: 30px;
	font-weight: bold;
	cursor: pointer;
	transition: .5s ease-in-out;
}
input{
	width: 60%;
	height: 20px;
	background: #e0dede;
	justify-content: center;
	display: flex;
	margin: 10px 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: #573b8a;
	font-size: 1em;
	font-weight: bold;
	margin-top: 20px;
    margin-bottom: 20px;
	outline: none;
	border: none;
	border-radius: 5px;
	transition: .2s ease-in;
	cursor: pointer;
}
button:hover{
	background: #6d44b8;
}
.signup{
    overflow-y: auto; /* Tambahkan overflow-y untuk scroll vertikal */
    height: 530px;
	background: #eee;
	border-radius: 60% / 10%;
	transform: translateY(-120px);
	transition: .8s ease-in-out;
}
.signup label{
	color: #573b8a;
	transform: scale(.6);
}

#chk:checked ~ .signup{
	transform: translateY(-550px);
}

#chk:checked ~ .signup label{
	transform: scale(1);
}
#chk:checked ~ .login label{
	transform: scale(.6);
}
.forget-password {
    text-align: center;
    margin-top: 10px;
}

.forget-password a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forget-password a:hover {
    background-image: linear-gradient(to right, #FF4500, #00CED1); /* Gradien horizontal dari merah oranye ke cyan tua */
    -webkit-background-clip: text; /* Menerapkan gradien sebagai latar belakang teks */
    background-clip: text;
    color: transparent; /* Membuat warna teks transparan */
}
.input-field {
    width: calc(100% - 50px); /* Lebar input akan mengambil sisa ruang di sebelah kanan setelah lebar label dikurangkan */
    margin-bottom: 4px; /* Jarak antara setiap pasangan label-input */
}
.lab {
    font-size: 0.8em;
    display: inline-block; /* Mengubah label menjadi inline-block */
    width: 100px;
    text-align: right;
    margin-right: 10px;
    margin-bottom: 10px;
}

.signup form > * {
    display: flex;
    align-items: center;
}
