
@font-face{font-family:'vazir';src:url('../fonts/Vazir-Bold.ttf') format('truetype'), url('../fonts/Vazir-Bold.woff') format('woff');}
@font-face{font-family:'iransans';src:url('../fonts/IRANSansWeb.ttf') format('truetype'), url('../fonts/IRANSansWeb.woff') format('woff');}

body {
    margin: 0;
    padding: 0;
    text-align: right;
    display: flex;
    direction:rtl;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: "iransans";
    background: linear-gradient(to bottom, #bb9b74, #83533b);
}
.main {
    width: 350px;
    height: 560px;
    background: red;
    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;
}
.signup {
    position: relative;
    width: 100%;
    height: 570px;
}
label {
    color: #fff;
    font-size: 2.3em;
    justify-content: center;
    display: flex;
    margin: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.5s ease-in-out;
    font-family: "iransans";

}
input {
    width: 60%;
    height: 20px;
    background: #e0dede;
    justify-content: center;
    display: flex;
    margin: 20px auto;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 5px;
    font-family: "iransans";

}
button {
    width: 60%;
    height: 40px;
    margin: 10px auto;
    justify-content: center;
    display: block;
    color: #fff;
    background: #83533b;
    font-size: 1em;
    font-weight: bold;
    margin-top: 20px;
    outline: none;
    border: none;
    border-radius: 5px;
    transition: 0.2s ease-in;
    cursor: pointer;
    font-family: "iransans";

}
button:hover {
    background: #83533b;
}
.login {
    height: 460px;
    background: #eee;
    border-radius: 60% / 10%;
    transform: translateY(-180px);
    transition: 0.8s ease-in-out;
}
.login label {
    color: #83533b;
    transform: scale(0.6);
}

#chk:checked ~ .login {
    transform: translateY(-560px);
}
#chk:checked ~ .login label {
    transform: scale(1);
}
#chk:checked ~ .signup label {
    transform: scale(0.6);
}

.check{
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}
input[type=checkbox]{
    display: inline-block;
    width: 19px;
    margin: auto;
    margin-right: 60px;
}
