*{
    font-family: "Source Sans Pro", sans-serif;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    transition: .2s all;
    margin: 0;
}

body{
    text-align: center;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(assets/fcce6e6bbed7447fa7e19fc0942d6fee.jpg);
    height: 100vh;
}

body>div{
    width: 90%;
    background-color: rgb(255 255 255 / 0.6);
    border-radius: 10px;
    box-shadow: 0 3px 10px 0px rgba(0,0,0,0.3);
    padding: 2em;
    animation: fadein 1.5s;
    backdrop-filter: blur(10px);
}

@keyframes fadein{
    from{
        opacity: 0%;
    }
    to{
        opacity: 100%;
    }
}

h3{
    font-weight: 500;
    font-size: 20px;
    color: #333;
    line-height: 36px;
    margin-bottom: 1em;
}

form{
  width: auto
}

form.success input{
    color: #8CE62C;
    border-color: #8CE62C;
}

input{
    display: block;
    font-weight: 200;
    width: 80%;
    max-width: 6em;
    height: 50px;
    border: 1px solid #CCCCCC;
    border-radius: 10px;
    outline: 0;
    font-size: 28px;
    color: #ccc;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    /* transition: .2s all; */
    margin: 1em auto;
    background-color: rgba(255, 255, 255, 0.5);
}
  
input:last-child{
    margin-right: 0;
}

input:hover{
    border-color: #aaa;
}

input:focus{
    border-color: #333;
    color: #333;
    background-color: rgba(255, 255, 255, 1);

}

#warning{
    height: 0%;
    opacity: 0%;
    display: none;
}

#warning p{
    margin:0 auto 2em;
    padding: .8em 4em;
    background-color:rgba(255, 255, 255, 0.3);
    color: rgb(200, 50, 50);
    border: 1px solid rgb(200, 50, 50);
    border-radius: 10px;
    width: fit-content;
}

#hinweis1,#hinweis2,#hinweis3,#hinweis4,#hinweis5{
    display: none;
}

#correct{
    height: 0%;
    opacity: 0%;
    display: none;
}

#correct p{
    margin:0 auto 2em;
    padding: .8em 4em;
    background-color:rgba(255, 255, 255, 0.3);
    color: rgb(0, 124, 41);
    border: 1px solid rgb(0, 124, 41);
    border-radius: 10px;
    width: fit-content;
    font-size: 20px;
}

@keyframes grow{
    0%{
        height: 0%;
        opacity: 0%;
    }
    100%{
        height: 100%;
        opacity: 100%;
    }
}

button{
    width: 80%;
    max-width: 20em;
    height: 50px;
    padding: .7em 2em;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    color: white;
    background-color: #ea5150;
    cursor: pointer;
}

button:active, button:focus, button:hover{
    outline: none;
}

button:hover, button:focus{
    background-color: #b12e2c;
}

button:active{
    background-color: #f12e2c;
}

@media (max-width:780px){
    #correct p, #warning p{
        padding: 1em;
    }
}