/* basics: */

*,
*::before,
*::after {
    margin: 0; /* remove default margins everywhere */
    box-sizing: border-box; /* do not add padding & border to width & height */
}

html {
    font-size: 100%;
    padding: 0;
}

body {
    color: #666;
    font-family: sans-serif;
    font-size: 1em;
    line-height: 1.5;
    padding: 0;
    background-color: #fff;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    /* headings usually have less line spacing
       than the body text */
}

a {
    color: #095fd1;
}

form {
    background-color: white;
    border: 2px solid lightgray;
    border-radius: 5px;
    display: inline-block;
    margin: auto;
    text-align: left;
    width: 20%;
}

.form-header, .form-footer {
    background-color: rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 5%;
}

.form-header > h4 {
    font-size: 1.5rem;
    font-weight: normal;
}

.form-body{
    list-style-type: none;
    padding-left: 0;
}

.form-body li{
    padding: 0.5rem 1rem;
}

.form-body li:last-child{
    padding-bottom: 0rem;
}

input[type="email"], textarea {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 0.8rem;
    position: relative;
    border-radius: 3px;
    border-width: 1px;
    width: 100%;
    padding: 2%;
    border-color: lightgrey;
    border-style: solid;
    z-index: 2;
}

input[type="email"]:placeholder-shown, textarea:placeholder-shown{
    z-index: 0;
}

.form-field-icon i {
    position: absolute;
    top: 16px;
    left: 18px;
    z-index: 1;
}

button{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 0.8rem;
    border-radius: 3px;
    border-width: 1px;
    color:#fff;
    background-color: #095fd1;
    border-color: #004bb8;
}

.form-field-icon {
    position: relative;
}

.form-field-icon i {
    position: absolute;
    top: 15px;
}

form .form-header i{
    background-color: white;
    border: 4px double lightgray;
    border-radius: 10rem;
    position: absolute;
    top: 4rem;
    left: 47.5%;
    padding: 2rem 0rem;
    font-size: 2rem;
    text-align: center;
    width: 5%;
}

.space {
    height: 8rem;
}