:root {
    --black: #000000;
    --almost-black: #263238;
    --white: #ffffff;
    --almost-white: #FBFBFB;
    --grey-light: #CFD8DC;
    --grey: #B0BEC5;
    --grey-medium: #78909C;
    --grey-dark: #455A64;
    --primary: #1E88E5;
    --primary-dark: #1976D2;
    --secondary: #CFD8DC;
    --secondary-dark: #B0BEC5;
    --red: #EF4836;
}

body {
    margin: 0 !important;
    height: 100vh !important;
    font-size: 16px !important;
    overflow: hidden !important;
    font-family: sans-serif !important;
    background: var(--grey-light) !important;
}

.log-in-h1 {
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
    margin: 0.5em 0 1em;
    color: var(--almost-black);
}

.log-in-img {
    height: 0.8em;
}

.log-in-label {
    display: block;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 1px;
    color: var(--grey-medium);
}

#log-in-p {
    margin: 4px 0;
    display: none;
    font-size: 14px;
    line-height: 26px;
    color: var(--red);
    text-align: center;
}

.log-in-field {
    width: 100%;
    font-size: 14px;
    margin: 0 0 24px;
    line-height: 26px;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 0.6rem 0.8rem;
    color: var(--almost-black);
    border: 1px solid grey;
    background: var(--almost-white);
    transition: border-color .15s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.log-in-field:focus {
    outline: none;
    border-color: var(--grey-medium);
}

.log-in-button {
    border: none;
    display: block;
    color: white;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    line-height: 24px;
    margin: 1rem auto;
    border-radius: 4px;
    letter-spacing: 1px;
    padding: 0.4rem;
    text-transform: uppercase;
    background: var(--primary);
    transition: color .15s ease, background-color .15s ease;
}

.log-in-button:hover {
    background: var(--primary-dark);
}

.card-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.card {
    width: 50vw;
    max-width: 400px;
    padding: 20px 40px;
    border-radius: 5px;
    background: white;
    box-shadow: 0 8px 26px -4px rgba(0,0,0,0.15);
}

.see-password {
    cursor: pointer;
    margin-left: -30px;
}

@media screen and (max-width: 600px) {
    .log-in-h1 {
        font-size: 16px;
    }
    .log-in-label {
        font-size: 10px;
        line-height: 18px;
    }
    .log-in-field {
        font-size: 10px;
        line-height: 20px;
    }
    #log-in-p {
        font-size: 10px;
        line-height: 18px;
    }
}