@import url('https://fonts.googleapis.com/icon?family=Poppins');


body{
    display: flex;
    padding: 0 10px;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: #0d6efd;
}
.wrapper{
    width: 720px;
    background: #fff;
    border-radius: 5px;
}
.wrapper header{
    font-size: 22px;
    font-weight: 600;
    padding: 20px 30px;
    border-bottom: 1px solid #bfbfbf;
}

.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{
    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;
}

.wrapper .field i{
    position: absolute;
    left: 20px;
    top: 40%;
    color: #bfbfbf;
    font-size: 17px;
    pointer-events: none;
    transform: translate(-50%);
}

form .message{position: relative;}

form .message i{
    position: absolute;
    left: 20px;
    top: 13%;
    color: #bfbfbf;
    font-size: 30px;
    pointer-events: none;
    transform: translate(-50%);
}

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: #0d6efd;
    padding: 13px 25px;
}

.button-area span{
    color: #0d6efd;
    margin-left: 30px;
}

@media(max-width: 600px){
    .wrapper header{
        text-align: center;
    }
    form .dbl-field{
        margin-bottom: 0;
        flex-direction: column;
    }
    .dbl-field .field{
        width: 100%;
        margin-bottom: 20px;
    }
    form .message textarea{
        resize: none;
    }
    form .button-area{
        flex-direction: column;
    }
    .button-area buttom{
        width: 100%;
    }
    .button-area span{
        text-align: center;
        margin: 20px 0;
    }
}