﻿.container {
    height: 100vh;
    overflow: hidden;
    font-size: 17px;
    background: #f5f5f5;
    color: black;
    opacity: 1;
    transition: opacity 0.3s;
}

    .container.fade {
        opacity: 0;
    }

.login-form {
    padding: 30px 90px 90px 90px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-logo {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    display: block;
    width: 70%;
}

.form-title {
    text-align: center;
    font-weight: bold;
}

.user-input,
.pass-input {
    box-shadow: inset 1px 1px 5px;
    font-weight: bold;
    text-align: center;
    font-size: 20px;
}

    .user-input:focus,
    .pass-input:focus {
        outline: 0;
        border-color: white;
    }

.input-validation-error {
    border-color: red;
}

    .input-validation-error:focus {
        border-color: white;
        box-shadow: none;
    }

.field-validation-error {
    color: red;
}

@media only screen and (min-width: 320px) {
    .container {
        font-size: 12px;
    }

    .login-form {
        padding: 100px 0;
        top: inherit;
        left: inherit;
        transform: none;
    }

    .form-title {
        text-align: center;
        font-weight: bold;
        font-size: 17px;
    }

    .user-input,
    .pass-input {
        box-shadow: inset 1px 1px 5px;
        text-align: left;
        font-weight: bold;
        font-size: 14px;
    }

        .user-input:focus,
        .pass-input:focus {
            outline: 0;
            border-color: white;
        }

    .form-group {
        margin-bottom: 3px;
    }
}

@media only screen and (min-width: 568px) {
    .container {
        font-size: 15px;
    }

    .login-form {
        padding: 70px 0;
        top: inherit;
        left: inherit;
        transform: none;
    }

    .form-title {
        text-align: center;
        font-weight: bold;
        font-size: 20px;
    }

    .user-input,
    .pass-input {
        box-shadow: inset 1px 1px 5px;
        text-align: left;
        font-weight: bold;
        font-size: 15px;
    }

        .user-input:focus,
        .pass-input:focus {
            outline: 0;
            border-color: white;
        }

    .form-group {
        margin-bottom: 3px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px){
    .container {
        height: 100vh;
        overflow: hidden;
        font-size: 17px;
        background: #f5f5f5;
        color: black;
        opacity: 1;
        transition: opacity 0.3s;
    }

        .container.fade {
            opacity: 0;
        }

    .login-form {
        padding: 90px 0;
        top: inherit;
        left: inherit;
        transform: none;
    }

    .login-logo {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
        display: block;
        width: 50%;
    }

    .form-title {
        text-align: center;
        font-weight: bold;
        font-size: 17px;
    }

    .user-input,
    .pass-input {
        box-shadow: inset 1px 1px 5px;
        font-weight: bold;
        text-align: center;
        font-size: 20px;
    }

        .user-input:focus,
        .pass-input:focus {
            outline: 0;
            border-color: white;
        }

    .input-validation-error {
        border-color: red;
    }

        .input-validation-error:focus {
            border-color: white;
            box-shadow: none;
        }

    .field-validation-error {
        color: red;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px){
    .container {
        height: 100vh;
        overflow: hidden;
        font-size: 17px;
        background: #f5f5f5;
        color: black;
        opacity: 1;
        transition: opacity 0.3s;
    }

        .container.fade {
            opacity: 0;
        }

    .login-form {
        padding: 30px 90px 90px 90px;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .login-logo {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
        display: block;
        width: 70%;
    }

    .form-title {
        text-align: center;
        font-weight: bold;
        font-size: 17px;
    }

    .user-input,
    .pass-input {
        box-shadow: inset 1px 1px 5px;
        font-weight: bold;
        text-align: center;
        font-size: 17px;
    }

        .user-input:focus,
        .pass-input:focus {
            outline: 0;
            border-color: white;
        }

    .input-validation-error {
        border-color: red;
    }

        .input-validation-error:focus {
            border-color: white;
            box-shadow: none;
        }

    .field-validation-error {
        color: red;
    }
}

@media only screen and (min-width: 1200px) {
    .container {
        height: 100vh;
        overflow: hidden;
        font-size: 17px;
        background: #f5f5f5;
        color: black;
        opacity: 1;
        transition: opacity 0.3s;
    }

        .container.fade {
            opacity: 0;
        }

    .login-form {
        padding: 30px 90px 90px 90px;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .login-logo {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
        display: block;
        width: 70%;
    }

    .form-title {
        text-align: center;
        font-weight: bold;
    }

    .user-input,
    .pass-input {
        box-shadow: inset 1px 1px 5px;
        font-weight: bold;
        text-align: center;
        font-size: 17px;
    }

        .user-input:focus,
        .pass-input:focus {
            outline: 0;
            border-color: white;
        }

    .input-validation-error {
        border-color: red;
    }

        .input-validation-error:focus {
            border-color: white;
            box-shadow: none;
        }

    .field-validation-error {
        color: red;
    }
}
