html {
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    height: 100%;
    overflow: auto;
    margin: 0px;
}

.login{
    display: grid;
    max-width: 540px;
    grid-template-columns: 50% 50%;
    grid-template-rows: 10% 20% 10% 10% 10% 10% 10% 10%;
    grid-template-areas: 
    "header header"
    "img img"
    ". ."
    ". ."
    ". ."
    ". ."
    ". ."
    ". ."
    ". ."
    "err err"
    "submit submit"
    "datenschutz impressum";
    

    max-height: 800px;
    min-height: 600px;
    
}

body#login{
    display: flex;
    align-content: center;
    justify-content: center;
}

.login>h1{
    grid-area: header;
    align-self: center;
    justify-self: center;
    margin: 0;
}


.login > #datensch {
    grid-area: datenschutz;
    text-align: center;
}

.login > #imp {
    grid-area: impressum;
    text-align: center;
}

.login>label{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
    justify-self: left;
    align-self: center;
}

.login>img{
    grid-area: img;
    justify-self: center;
    align-self: center;
}

.login>input, .login>select{
    width: 100%;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size:1.5em;
    text-align: center;
}

.login>button[type=submit]{
    grid-area: submit;
    background-color: #4CAF50;
    border: 1px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    height: 3em;
}

p.err{
    grid-area: err;
    color: red;
}

#sp {
    width: 15vw;
}

#sh {
    visibility: collapse;
    display: table-column;
}