.contact {
    width: 50%;
    margin: auto;
    margin-top: 2rem;
    min-height: 950px;
}

.form h1 {
    font-weight: 100;
    font-size: 5em;
    margin: 0;
}

.form p {
    margin-top: 30px;
}

.form form {
    margin-top: 4rem;
}

.form h2 {
    font-weight: 100;
    font-size: 4rem;
    margin: 0;
}


input[type='text'],
[type='email'],
select,
textarea {
    background: none;
    border: 0;
    -webkit-appearance: none;
    -webkit-border-radius:0;
    border-bottom: solid 2px #474544;
    color: #474544;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0em 0 1.875em 0;
    padding: 0 0 0.875em 0;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

input[type='text']:focus,
[type='email']:focus,
textarea:focus {
    outline: none;
    padding: 0 0 0.875em 0;
}

.message {
    float: none;
}

.name {
    float: left;
    width: 100%;
}

select {
    background: url('https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-ios7-arrow-down-32.png') no-repeat right;
    outline: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

select::-ms-expand {
    display: none;
}

.subject,
.email,
.compagny {
    width: 100%;
}


textarea {
    line-height: 150%;
    height: 100px;
    resize: none;
    width: 100%;
}

::-webkit-input-placeholder {
    color: #474544;
}

:-moz-placeholder {
    color: #474544;
    opacity: 1;
}

::-moz-placeholder {
    color: #474544;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #474544;
}


@media only screen and (hover: none) and (pointer: coarse),
screen and (max-width: 700px) {

    .contact {
        width: 90%;
    }

    .contact h2 {
        margin-bottom: 6rem;
    }

    .form {
        text-align: center;
    }

    .name,
    .subject,
    .email,
    .compagny,
    textarea {
        width: 100%;
    }

    input[type='text'],
    [type='email'],
    select,
    textarea {
        font-size: 2rem;
    }

}

.contact-button {
    width: 300px;
}