body {
    background-image: linear-gradient(to bottom, rgba(216,203,253,0.3), #eb1510), url(/bilder/background.jpg);
    background-size: cover;

    min-height: 100vh;
}

main {
    margin-top: 2%;

    display: flex;
    justify-content: center;
    
}

main img {
    height: 30vh;
    margin-bottom: 10px;
}

#login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;

    width: 40%;
    padding: 20px 4px;

    background-color: rgba(247, 245, 245, 0.658);

    border: solid var(--primary-color) 1px;
    border-radius: 10px;
}

#login form {
    width: 70%;    
}

input {
    height: 35px;
    width: 100%;
    margin: 8px 0;
    padding: 5px;

    font-size: 15px;

    background-color: rgba(255, 255, 255, 0.596);
    
    border-radius: 8px;
    box-sizing: border-box;
    border: 1px solid red;
}

.aktiviert {
    cursor: pointer;
    color: white;
    transition: color 500ms;
    background: var(--primary-color);
    transition:background 500ms;
}

.aktiviert:hover {
    box-shadow: 3px 2px 2px rgba(46, 46, 46, 0.199);
}

input:focus {
    outline: solid red 2px;
    border: red;
} 

.deaktiviert {
    cursor: not-allowed;
    color: rgb(180, 180, 180);
}

.deaktiviert:focus {
    outline: 0px;
    border: red solid 1px;
}

footer {
    position: absolute;
    bottom: 0;
    background-image: none;
    background-color: rgba(255, 0, 0, 0);
}

@media(max-width: 800px){
    main img {
        height: 23vh;
    }
}

@media(max-width: 550px){
    #login {
        width: 80%;
    }
}

@media(max-height: 570px) {
    footer {
        margin-top: 20px;
        position: revert;
        bottom: revert;
    }
}