@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    position: relative;
    background-image: url('../images/login-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

::selection {
    background: #1a75ff;
    color: #fff;
}

.wrapper {
    overflow: hidden;
    max-width: 390px;
    background: #fff;
    padding: 20px 85px;
    border-radius: 15px;
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
}

.wrapper .title-text {
    display: flex;
    width: 200%;
}

.wrapper .title {
    width: 50%;
    font-size: 35px;
    font-weight: 600;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .slide-controls {
    position: relative;
    display: flex;
    height: 50px;
    width: 100%;
    overflow: hidden;
    margin: 30px 0 10px 0;
    justify-content: space-between;
    border: 1px solid lightgrey;
    border-radius: 15px;
}




input[type="radio"] {
    display: none;
}



#login:checked~label.signup {
    color: #000;
}

#login:checked~label.login {
    cursor: default;
    user-select: none;
}

.wrapper .form-container {
    width: 100%;
    overflow: hidden;
}

.form-container .form-inner {
    display: flex;
    width: 200%;
}

.form-container .form-inner form {
    width: 50%;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-inner form .field {
    width: 100%;
    height: auto;
    margin-top: 12px;
}

.form-inner form .field input {
    width: 100%;
    outline: none;
    height: 42px;
    padding: 0px 15px;
    border-radius: 50px;
    color: #424247;
    border: 1px solid #d1d1d1;
    border-bottom-width: 2px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-inner form .field input:focus {
    border-color: #1a75ff;
    /* box-shadow: inset 0 0 3px #fb6aae; */
}

.form-inner form .field input::placeholder {
    color: #999;
    transition: all 0.3s ease;
}

form .field input:focus::placeholder {
    color: #1a75ff;
}

.form-inner form .pass-link {
    margin-top: 3px;
    margin-bottom: 20px;
    text-align: right;
    font-size: 15px;
}

.form-inner form .signup-link {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
}

.form-inner form .pass-link a {
    color: #1a75ff;
    text-decoration: none;
    font-size: 14px;
}

.form-inner form .signup-link a {
    color: #1a75ff;
    text-decoration: none;
    font-size: 16px;
}

.form-inner form .pass-link a:hover,
.form-inner form .signup-link a:hover {
    text-decoration: underline;
}

form .btn {
    width: 100%;
    height: 42px;
    border-radius: 50px;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
}

form .btn .btn-layer {
    width: 300%;
    height: 100%;
    position: absolute;
    left: -100%;
    background: -webkit-linear-gradient(right, #003366, #004080, #0059b3, #0073e6);
    border-radius: 15px;
    transition: all 0.4s ease;
}

form .btn:hover .btn-layer {
    left: 0;
}

form .btn input[type="submit"] {
    width: 100%;
    z-index: 1;
    position: relative;
    background: none;
    height: 42px;
    padding: 0px 15px;
    border: none;
    color: #fff;
    border-radius: 15px;
    cursor: pointer;
}

.wrapper .heading {
    font-size: 24px;
    color: #424247;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
    margin-top: 15px;
}

.wrapper .subTitle {
    font-weight: 500;
    text-align: center;
    font-size: 15px;
    color: #424247;
    margin-bottom: 20px;
}


/* Responsive CSS */

@media screen and (max-width: 390px) {
    .wrapper {
        max-width: 260px;
        padding: 15px;
    }

    .wrapper .title {
        font-size: 18px;
    }

    .wrapper .title img {
        width: 150px;
    }

    .slide-controls .slide {
        font-size: 15px;
    }

    .form-inner form .field input {
        font-size: 12px;
    }

    .form-inner form .signup-link {
        margin-top: 18px;
        font-size: 14px;
    }

    .form-inner form .signup-link a {
        font-size: 14px;
    }

    .form-inner form .pass-link a {
        font-size: 12px;
    }


    form .btn input[type="submit"] {
        line-height: 20px;
    }


    .wrapper .heading {
        font-size: 18px;
    }

    .wrapper .subTitle {
        font-size: 12px;
    }

    .form-inner form .field {
        margin-top: 10px;
        height: 40px;
    }

    .form-inner form .pass-link {
        margin-top: -5px;
        margin-bottom: 15px;
    }
}