.contact h3 {
    text-align: center;
}

.contact .table {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around
}

.contact .table div * {
    display: block;
    text-align: center;
}

.contact form {
    border: 1px solid #aaa;
    padding: 10px;
    border-radius: 10px;
    text-align: right;
}

.contact textarea,
.contact input[type="text"] {
    width: 100%;
    border: none;
    padding: 5px 10px;
    color: inherit;
    border-radius: 10px;
    resize: none;
}

.contact textarea:focus,
.contact input[type="text"]:focus {
    outline: 0;
}

.contact input[type="submit"] {
    border: none;
    background-color: transparent;
    color: inherit;
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid inherit;
    cursor: pointer;
    -webkit-transition: background-color .1s, color .1s;
    -o-transition: background-color .1s, color .1s;
    transition: background-color .1s, color .1s;
}

.contact input[type="submit"]:hover {
    color: #333;
    background-color: #0f0
}

.contact fieldset {
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #aaa;
    color: inherit;
    text-align: left;
}

.contact fieldset span {
    color: #f00;
    font-style: italic;
}

@media(max-width: 767px) {
    .contact {
        text-align: center;
    }

    .contact .col:last-of-type {
        margin-top: 32px;
    }
}