#login {
    background-size: cover;
    background-position: center;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-image: url("../images/login.jpg");
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
}

.login h1 a {
    background-image: url("../images/logo-black.png");
    background-size: contain;
    width: 300px;
    height: 90px;
    margin-bottom: 10px;
    pointer-events: none;
}

#login form {
    background: #232323;
    padding: 51px 15px;
    width: 86%;
    box-sizing: border-box;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    border: none;
}

#login label {
    color: #F9F9F9;
    font-weight: 500;
    font-size: 12px;
}

#login input[type=text],
input[type=password],
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    background: #343434 !important;
    border: 1px solid #383838;
    border-radius: 3px;
    height: 40px;
    padding-left: 15px !important;
    -webkit-box-shadow: 0 0 0 30px #343434 inset;
    border: none;
    font-size: 18px;
    color: #F9F9F9;
}

#login input:-webkit-autofill {
    -webkit-text-fill-color: #F9F9F9;
    padding-left: 15px !important;
    font-size: 18px;
}


#login input[type=submit] {
    appearance: none;
    border: none;
    border-radius: 0;
    background: #000000;
    padding: 7px 24px;
    color: #F9F9F9;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    margin-top: 50px;
    width: 100%;
}

#login form input[type=checkbox] {
    background: #343434;
    border: none;
    border-radius: 2px;
}

#login .forgetmenot label {
    color: #B6B6B6;
    font-weight: 400;
}

#backtoblog {
    display: none;
}

@media screen and (min-width: 600px) {
    #login form {
        padding: 51px 45px;
        width: 400px;
    }
}