* {
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    background: #F1F3F4;
    align-content: center;
}

section {
    display: flex;
    padding: 100px 0;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.wrapper {
    width: 720px;
    background: #F1F3F4;
    border-radius: 5px;
}

.wrapper header {
    font-size: 22px;
    font-weight: 700;
    padding: 20px 30px;
    border-bottom: 1px solid;
    border: none;
    background: #3A4149;
    color: #fff;
}

.wrapper form {
    margin: 35px 30px;
}

form .dbl-field {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    justify-content: space-between;
}

.dbl-field .field {
    height: 50px;
    position: relative;
    width: calc(100%/ 2 - 13px);
}

form .field input,
form .message textarea {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    outline: none;
    padding: 0 18px 0 48px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #bfbfbf;
}

form .field input::placeholder,
form .message textarea::placeholder {
    color: #bfbfbf;
}

form .field input:focus,
form .message textarea:focus {
    border: 2px solid #3A4149;
}

.wrapper form i {
    position: absolute;
    left: 18px;
    top: 50%;
    color: #bfbfbf;
    font-size: 17px;
    pointer-events: none;
    transform: translateY(-50%);
}

form .field input:focus~i,
.message textarea:focus~i {
    color: #3A4149;
}

form .message {
    position: relative;
}

form .message i {
    top: 28px;
    font-size: 20px;
}

form .message textarea {
    min-width: 100%;
    max-width: 100%;
    min-height: 120px;
    max-height: 300px;
    padding: 15px 20px 0 48px;
}

form .button-area {
    margin: 25px 0;
    display: flex;
    align-items: center;
}

.button-area button {
    font-size: 18px;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    background: #3A4149;
    padding: 13px 25px;
}

.button-area span {
    font-size: 17px;
    margin-left: 30px;
    display: none;
}

@media (max-width: 600px) {
    .wrapper header {
        text-align: center;
    }
    .wrapper form {
        margin: 35px 20px;
    }
    form .dbl-field {
        flex-direction: column;
        margin-bottom: 0px;
    }
    form .dbl-field .field {
        width: 100%;
        height: 45px;
        margin-bottom: 20px;
    }
    form .message textarea {
        resize: none;
    }
    form .button-area {
        margin-top: 20px;
        flex-direction: column;
    }
    .button-area button {
        width: 100%;
        padding: 11px 0;
        font-size: 16px;
    }
    .button-area span {
        margin: 20px 0 0;
        text-align: center;
    }
}