#contato {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-left: 40px;
}

#contato h2 {
    font-size: 40px;
    margin-bottom: 80px;
    text-align:center;
    line-height: 1.2;
    margin-right: -600px;
}

.form {
    width: 100%;
    max-width: 30rem;
    font-size: 1.125rem;
}

.form label,
.form input,
.form textarea,
.form button {
    display: block;
    width: 100%;
}

.form label {
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}
input{
    background-color: rgb(231, 224, 224);
    margin-top: 30px;
}

textarea {
    background-color: rgb(231, 224, 224);
    margin-top: 30px;
}

.form input,
.form textarea {
    font: inherit;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border-style:solid;
    border-width: 1px;
    border-color: white;
    border-radius: 8px;
    transition: boder-color, box-shadow 0.2s;
}

.form textarea {
    min-height: 8rem;
    resize: vertical;
}

.form input :hover,
.form input :focus,
.form textarea :hover,
.form textarea :focus {
    outline: none;
    border-color: #09d;
    box-shadow: 0 0 0 3px #4dc8ff;
}

.form button {
    display: block;
    padding: 0.8rem;
    background: #178FE6;
    color: #fff;
    font: inherit;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    width: auto;
    margin: auto;
    margin-bottom: 80px;
    
}

.form button :hover,
.form button :focus {
    outline: none;
    background: #09d;
}

@media(max-width: 999px) {
    #contato {
        align-items: center;
        margin: auto;
    } 

    #contato h2 {
        margin: auto;
    }

    .form button {
        width: auto;
        margin: auto;
        margin-bottom: 80px;

    }

}



  




