

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Jost', sans-serif;
    /*background: url(../img/loginImage.jpg) center right;*/
    background: #E5002B;
    /*background-size: cover;*/
}

.main {
    width: 350px;
    height: 470px;
    background: red;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    box-shadow: 5px 20px 50px #000;
}

.align-center{
    text-align: center;
}

.main .logo{
    /*height: 100px;*/
    width: 65%;
}

#chk {
    display: none;
}

.signup {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 100%;
}

.signup form{
    width: 100%;
}

label {
    color: #fff;
    color: #212529;;
    font-size: 1.5em;
    justify-content: center;
    display: flex;
    font-weight: bold;
    cursor: pointer;
    transition: .5s ease-in-out;
    padding-bottom: 5%;
}

input {
    width: 280px;
    height: 20px;
    background: #F2F2F2;
    display: flex;
    justify-content: center;
    margin: 20px auto;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 5px;
}

.login-btn {
    width: 300px;
    height: 40px;
    margin: 10px auto;
    justify-content: center;
    display: block;
    color: #FFFFFF;
    background: #E5002B;
    font-size: 1em;
    font-weight: bold;
    margin-top: 20px;
    outline: none;
    border: none;
    border-radius: 5px;
    transition: .2s ease-in;
    cursor: pointer;
    padding: 10px;
    font-family: Helvetica, Arial, "Lucida Grande", sans-serif;
}

.login-btn:hover {
    background: #000;
    color: #fff;
}

.register-show{
    padding-top: 10px;
}

.register-show .login-btn:hover {
    background: #ECCFA3;;
    color: #000;
}

.login {
    height: 400px;
    background: #F2F2F2;
    border-radius: 60% / 10%;
    transform: translateY(-165px);
    transition: .8s ease-in-out;
    position: relative;
    bottom: 30px;
}

.login label {
    color: #2C70AE;
    color: #212529;
    transform: scale(.6);
   
}

#chk:checked~.login {
    transform: translateY(-400px);
}

#chk:checked~.login label {
    transform: scale(1);
    padding-top: 6%;
}

#chk:checked~.signup label {
    transform: scale(.6);
}

.register-info-box {
    padding: 0 50px;
    top: 10%;
    right: 0;
}

.alignText {
    text-align: center;
    padding: 30px 0 20px;
}

.invalid-feedback{
    font-size: 15px;
    font-weight: 100;
    display: flex;
    justify-content: center;
    color: #000;
    letter-spacing: 1px;
    padding-left: 5px;
    padding-right: 5px;
}

@media (max-width: 525px){
    .main{
        width: 95%;
    }

    input{
        width: 250px !important;
    }

    .login-btn{
        width: 270px !important;
    }

    .register-show .login-btn{

    }
}

.login input[type=text] {
    background: #fff;
}
