body {
    background: #e9e9e9;
    color: #666666;
    font-family: 'Sarabun', 'Roboto', sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */

.container-login {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* Card */

.card-login {
    position: relative;
    background: #ffffff;
    border-radius: 5px;
    padding: 60px 0 40px 0;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    -webkit-transition: .3s ease;
    transition: .3s ease;
    /* Title */
    /* Inputs */
    /* Button */
    /* Footer */
    /* Alt Card */
}

.card-login:first-child {
    background: #fafafa;
    height: 10px;
    border-radius: 5px 5px 0 0;
    margin: 0 10px;
    padding: 0;
}

.card-login .title {
    position: relative;
    z-index: 1;
    border-left: 5px solid #1eb2a6;
    margin: 0 0 35px;
    padding: 10px 0 10px 50px;
    color: #1eb2a6;
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
}

.card-login .input-container {
    position: relative;
    margin: 0 60px 50px;
}

.card-login .input-container-fixed {
    position: relative;
    margin: 0 50px 50px;
}

.card-login .input-container input {
    outline: none;
    z-index: 1;
    position: relative;
    background: none;
    width: 100%;
    height: 60px;
    border: 0;
    color: #212121;
    font-size: 24px;
    font-weight: 400;
}

.card-login .input-container input:focus~label {
    color: #9d9d9d;
    -webkit-transform: translate(-12%, -50%) scale(0.75);
    transform: translate(-12%, -50%) scale(0.75);
}

.card-login .input-container input:focus~.bar:before, .card .input-container input:focus~.bar:after {
    width: 50%;
}

.card-login .input-container input:valid~label {
    color: #9d9d9d;
    -webkit-transform: translate(-12%, -50%) scale(0.75);
    transform: translate(-12%, -50%) scale(0.75);
}

.card-login .input-container label {
    position: absolute;
    top: 0;
    left: 0;
    color: #757575;
    font-size: 20px;
    font-weight: 300;
    line-height: 60px;
    -webkit-transition: 0.2s ease;
    transition: 0.2s ease;
}

.card-login .input-container .bar {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #757575;
    width: 100%;
    height: 1px;
}

.card-login .input-container .bar:before, .card .input-container .bar:after {
    content: '';
    position: absolute;
    background: #1eb2a6;
    width: 0;
    height: 2px;
    -webkit-transition: .2s ease;
    transition: .2s ease;
}

.card-login .input-container .bar:before {
    left: 50%;
}

.card-login .input-container .bar:after {
    right: 50%;
}

.card-login .button-container {
    margin: 0 60px;
    text-align: center;
}

.card-login .button-container button {
    outline: 0;
    cursor: pointer;
    position: relative;
    display: inline-block;
    background: 0;
    width: 240px;
    border: 2px solid #e3e3e3;
    padding: 20px 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    overflow: hidden;
    -webkit-transition: .3s ease;
    transition: .3s ease;
}

.card-login .button-container button span {
    position: relative;
    z-index: 1;
    color: #ddd;
    -webkit-transition: .3s ease;
    transition: .3s ease;
}

.card-login .button-container button:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    background: #1eb2a6;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    margin: -15px 0 0 -15px;
    opacity: 0;
    -webkit-transition: .3s ease;
    transition: .3s ease;
}

.card-login .button-container button:hover, .card .button-container button:active, .card .button-container button:focus {
    border-color: #1eb2a6;
}

.card-login .button-container button:hover span, .card .button-container button:active span, .card .button-container button:focus span {
    color: #1eb2a6;
}

.card-login .button-container button:active span, .card .button-container button:focus span {
    color: #ffffff;
}

.card-login .button-container button:active:before, .card .button-container button:focus:before {
    opacity: 1;
    -webkit-transform: scale(10);
    transform: scale(10);
}

.card-login .footer {
    margin: 40px 0 0;
    color: #d3d3d3;
    font-size: 24px;
    font-weight: 300;
    text-align: center;
}

.card-login .footer a {
    color: inherit;
    text-decoration: none;
    -webkit-transition: .3s ease;
    transition: .3s ease;
}

.card-login .footer a:hover {
    color: #bababa;
}

.card-login.alt {
    position: absolute;
    top: 40px;
    right: -70px;
    z-index: 10;
    width: 140px;
    height: 140px;
    background: none;
    border-radius: 100%;
    box-shadow: none;
    padding: 0;
    -webkit-transition: .3s ease;
    transition: .3s ease;
    /* Toggle */
    /* Title */
    /* Input */
    /* Button */
}

.card-login.alt .toggle {
    position: relative;
    background: #1eb2a6;
    width: 140px;
    height: 140px;
    border-radius: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    color: #ffffff;
    font-size: 58px;
    line-height: 140px;
    text-align: center;
}

/* Keyframes */

@-webkit-keyframes buttonFadeInUp {
    0% {
        bottom: 30px;
        opacity: 0;
    }
}

@keyframes buttonFadeInUp {
    0% {
        bottom: 30px;
        opacity: 0;
    }
}

/* Media */

@media screen and (max-width: 768px) {
    .card-login.alt {
        display: none;
    }
}