﻿* {
    box-sizing: border-box;
}

body {
    font-family: Helvetica;
    background: #eee;
    -webkit-font-smoothing: antialiased;
}

.group {
    position: relative;
    margin-bottom: 25px;
}

hgroup {
    text-align: center;
    margin-top: 3em;
}

form {
    width: 400px;
    margin: 2em auto;
    padding: 10px 20px 10px 20px;
    background: #fff;
    border: 1px solid #ebebeb;
    box-shadow: rgba(0,0,0,0.14902) 0px 1px 1px 0px, rgba(0,0,0,0.09804) 0px 1px 2px 0px;
}


    form input {
        font-family: inherit;
        width: 100%;
        outline: none;
        background-color: #fff;
        border: none;
        display: block;
        padding: 0.9rem 0.7rem;
        border-bottom: 1px solid #757575;
        font-size: 17px;
        color: #4A4A4A;
        text-indent: 40px;
    }

        form input:focus {
            border-bottom: 2px solid #37517E;
        }


        form .form-field::before {
            font-size: 20px;
            position: absolute;
            left: 15px;
            top: 17px;
            color: #888888;
            content: " ";
            display: block;
            background-size: cover;
            background-repeat: no-repeat;
        }
        form .form-field:nth-child(1)::before {
            background-image: url(user-icon.png);
            width: 20px;
            height: 20px;
            top: 15px;
        }

    form .form-field:nth-child(2)::before {
        background-image: url(lock-icon.png);
        top: 10px;
        width: 20px;
        height: 20px;
    }

    form .form-field {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin-bottom: 1rem;
        position: relative;
    }

    form .btn {
        outline: none;
        border: none;
        cursor: pointer;
        display: inline-block;
        margin: 0 auto;
        padding: 0.9rem 2.5rem;
        text-align: center;
        background-color: #37517E;
        color: #fff;
        border-radius: 4px;
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
        font-size: 17px;
        width: 100%;
        margin-top: 10px;
    }
        form .btn:hover {
            background: #657DA8;
        }



footer {
    text-align: center;
}

    footer p {
        color: #888;
        font-size: 13px;
        letter-spacing: .4px;
    }

    footer a {
        color: #37517E;
        text-decoration: none;
        transition: all .2s ease;
    }

        footer a:hover {
            color: #666;
            text-decoration: underline;
        }

    footer img {
        width: 80px;
        transition: all .2s ease;
    }

        footer img:hover {
            opacity: .83;
        }

        footer img:focus, footer a:focus {
            outline: none;
        }
