/*
.grid-container {
    background: linear-gradient(-26deg, #e66465, #9198e5);
}
*/

.grid-container {
    background: gainsboro;
}

.login {
    grid-area: fill;
    width: 250px;
    margin: 50px auto;
    background: white;
    border-left: 6px solid #0890ff;
    padding: 40px 40px 30px 40px;
    text-align: center;
    box-shadow: 2px 2px 4px gray;
    height: -moz-min-content;
    height: -webkit-min-content;
}

.loginHeader p {
    font-size: 35px;
    color: cornflowerblue;
    font-weight: bold;
    margin: 0 0 30px 0;
}

.login input {
    -webkit-appearance: none;
    display: block;
    margin: 20px auto;
    width: 100%;
    box-sizing: border-box;
    font-weight: bold;
    color: gray;
    font-size: 17px;
    font-family: 'Roboto', sans-serif;
}

.inputfield {
    padding: 12px 20px;
    border: none;
    border-bottom: 4px solid gray;
    transition: border-bottom-color 0.5s;
    outline: none;
}

.login input[type="submit"] {
    padding: 0 0 8px 0;
    border-radius: 30px;
    border: 3px solid mediumspringgreen;
    background-color: mediumspringgreen;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;

    line-height: 0.6;
    width: 60px;
    transition: all 1s;
}

.mail, .password {
    position: relative;
    margin-bottom: 50px;
}

.mail p, .password p {
    margin: 0;
    position: absolute;
    top: 0;
    transform: translate(7px, 16px);
    font-size: 17px;
    font-weight: bold;
    color: gray;
    pointer-events: none;
    transition: all 0.5s;
}

.inputfield:focus + p {
    transform: translate(7px, -60%);
    font-size: 15px;
    color: gray;
}

.inputfield:valid + p {
    transform: translate(7px, -60%);
    font-size: 15px;
    color: cornflowerblue;
}

.inputfield:valid {
    border-bottom: 4px solid cornflowerblue;
}

.inputfield:invalid {
    box-shadow: none;
}

.login form:valid input[type="submit"] {
    width: 100%;
    padding: 0 0 8px 0;
}

#hint {
    color: darkred;
    font-size: 13px;
    font-weight: bold;
    margin-top: -25px;
}