﻿* {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    background: linear-gradient(135deg, rgba(36, 46, 77, 0.9), rgba(137, 126, 121, 0.9));
    font-family: 'Roboto', helvetica, arial, sans-serif;
    font-size: 1.5em;
}

    body:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-image: url('images/school-3600324_1920.jpg');
        opacity: .6;
    }

.login-form {
    width: 100%;
    padding: 2em;
    position: relative;
    background: rgba(0, 0, 0, 0.15);
}

    .login-form:before {
        content: '';
        position: absolute;
        top: -2px;
        left: 0;
        height: 2px;
        width: 100%;
        background: #EB6864;
    }

@media screen and (min-width: 600px) {
    .login-form {
        width: 50vw;
        max-width: 15em;
    }
}

.flex-row {
    display: flex;
    margin-bottom: 1em;
}

.lf--label {
    width: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f6f8;
    cursor: pointer;
}

.lf--input {
    flex: 1;
    padding: 1em;
    border: 0;
    color: #8f8f8f;
    font-size: 1rem;
}

    .lf--input:focus {
        outline: none;
        transition: -webkit-transform .15s ease;
        transition: transform .15s ease;
        transition: transform .15s ease, -webkit-transform .15s ease;
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

.lf--submit {
    display: block;
    padding: 1em;
    width: 100%;
    background: #EB6864;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: .75em;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

    .lf--submit:focus {
        outline: none;
        transition: -webkit-transform .15s ease;
        transition: transform .15s ease;
        transition: transform .15s ease, -webkit-transform .15s ease;
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

.lf--forgot {
    margin-top: 1em;
    color: #00d6b7;
    font-size: .65em;
    text-align: center;
    position: relative;
}

::-webkit-input-placeholder {
    color: #8f8f8f;
}

:-ms-input-placeholder {
    color: #8f8f8f;
}

::-ms-input-placeholder {
    color: #8f8f8f;
}

::placeholder {
    color: #8f8f8f;
}
