/* Login */
main
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);;
}
/* Formular */
form
{
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    padding: 30px 30px;
    background: var(--white);
    box-shadow: 0 5px 10px var(--blackshadow);
    font-size: 1.3em;
    width: 500px;
    h2{
        margin-bottom: 10px;
    }
    .input{
        display: flex;
        justify-content: center;
        align-items: center;
        justify-content: start;
        position: relative;
        input{
            position: relative;
            font-size: .8em;
            padding: 10px;
            border: none;
            outline: none;
            width: 100%;
            border-bottom: 2px solid var(--blackshadow);
            margin: 10px 0;
            &:focus ~ label span,
            &:valid ~ label span,
            &.notempty ~ label span{
                transform: translateY(-25px);
                font-size: 0.6em;
                color: #389938;
            }
        }
        label
        {
            position: absolute;
            margin-left: 10px;
            span{
                position: relative;
                display: inline-flex;
                flex-direction: row-reverse;
                letter-spacing: -0.3em;
                font-size: .8em;
                transition: 0.2s ease-out;
            }
        }
    }

    /* Knöpfe */
    input[type="submit"]
    {
        margin-top: 10px;
        color: var(--white);
        background: var(--black);
        box-shadow: inset 0 5px 5px var(--whiteshadow);
        font-size: .8em;
        padding: 10px;
        cursor: pointer;
        border: none;
    }
    .buttons
    {
        display: flex;
        flex-direction: column;
        a
        {
            color: var(--green);
            font-size: .8em;
            text-decoration: none;
            margin-top: 5px;
        }
    }
}
@media(max-width: 1000px)
{
    form
    {
        width: 50vw;
    }
}
@media(max-width: 850px)
{
    form
    {
        width: 60vw;
    }
}
@media(max-width: 650px)
{
    form
    {
        width: 80vw;
    }
}
@media(max-width: 450px)
{
    form
    {
        width: 95vw;
    }
}