﻿@import url('https://fonts.googleapis.com/css?family=Raleway&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
}

.login-form {
    width: 90%;
    margin: auto;
    margin-top: 20px;
    border-radius: 24px;
    padding: 15px;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


@media only screen and (max-width: 767px) {
    input[type=checkbox] {
        width: 20px;
        height: 20px;
    }
    .login-form.createUser {
        margin-bottom: 15px;
    }
}

@media only screen and (min-width: 768px) {


    .login-form {
        width: 400px;
    }

        .login-form.createUser {
            max-height: inherit;
            margin-top: 20px;
        }

        .login-form h1 {
            text-align: center;
            margin-top: 35px;
        }

        .login-form input[type = "text"] {
            margin-top: 30px;
        }

        .login-form.createUser input[type = "text"] {
            margin-top: 5px;
            margin-bottom: 5px;
        }

        .login-form input[type = "password"] {
            margin-top: 10px;
        }

        .login-form.createUser input[type = "password"] {
            margin-top: 5px;
            margin-bottom: 5px;
        }
}

input {
    outline: none;
}

.links {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.createUser .links {
    margin-top: 45px;
}

.reset .links {
    margin-top: 145px;
}

.links > a:first-of-type {
    margin-right: 5px;
}

.links > a {
    background-color: #E0E0E0;
    border-radius: 24px;
    font-weight: 400;
    color: black;
    line-height: 12px;
    flex: 1;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    font-family: 'Raleway';
    transition: 0.25s;
}

    .links > a:hover {
        opacity: 0.6;
    }

.login-form input[type = "submit"] {
    background-color: #E0E0E0;
    background-image: linear-gradient(19deg, #21D4FD 0%, #B721FF 100%);
    background-image: linear-gradient(19deg, #4b664c 0%, #4b664c 100%);
    width: 100%;
    color: white;
    border: none;
    margin-top: 15px;
    cursor: pointer;
    padding: 10px;
    font-family: 'Raleway', sans-seriff;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 24px;
    transition: 0.25s;
}

.reset .login-form input[type = "submit"] {
    margin-top: 20px;
}

.login-form input[type = "submit"]:hover {
    opacity: 0.8;
}

.login-form input[type = "text"]:focus, .login-form input[type = "password"]:focus {
    /*border: 2px #21D4FD solid;*/
}

.login-form input[type = "text"], .login-form input[type = "password"] {
    width: 100%;
    border: none;
    border-radius: 24px;
    font-size: 1.5rem;
    font-family: 'Raleway', sans-seriff;
    background-color: gainsboro;
    padding: 15px;
}


.margin-b {
    margin-bottom: 10px;
}

.login a {
    display: block;
    margin-top: 20px;
}

.error {
    text-align: center;
    margin-top: 10px;
    height: 20px;
}
