/* Start Global-Rules */
* {
    box-sizing: border-box
}
body {
    margin: 0;
    height: 100vh;
    font-family: Tahoma, Arial;
    background: linear-gradient(#7B7B7B, #5CCAB5) no-repeat;
    display: flex;
    justify-content: center;
    align-items: center
}
/* End Global-Rules */

/* Start App-Style */
#app {
    width: 500px;
    padding: 50px 40px 30px;
    background-color: #2C5046;
    border-radius: 5px;
}
#app h2 {
    margin: 0 0 40px;
    color: #EEE;
    text-align: center;
    font-size: 28px;
}
#app form {
    margin-bottom: 30px;
}
#app form input[type='text'] {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    padding: 10px;
    background-color: white;
    font-size: 16px;
    border-radius: 3px;
    border: none;
    outline: none;
    z-index: 5;
}
#app form input[type='text']:nth-of-type(2) {
    margin-top: 10px;
}
#app form .err {
    position: relative;
    top: -30px;
    display: block;
    width: 100%;
    padding: 5px 0;
    text-align: center;
    background-color: rgb(255, 0, 166);
    color: white;
    font-size: 16px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 2;
    transition: 0.3s;
}
#app form .err.active {
    top: -1px;
}
#app form input[type='submit'] {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    padding: 10px 15px;
    background-color: #111;
    color: white;
    font-size: 16px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
}
#app .data ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#app .data ul li {
    width: 100%;
    padding: 20px 0;
    color: #BBB;
    font-size: 18px;
    letter-spacing: 1.5px;
}
#app .data ul li:not(:last-of-type) {
    border-bottom: 1px solid #EEE;
}
#app .data ul li.error {
    text-align: center;
}
#app .data ul li span {
    color: white;
    text-transform: capitalize;
}
/* End App-Style */