/* reset */
* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: rgb(71, 71, 145);
}

h1,
h2, 
h3, 
h4, 
h5{
    color: #333;
}

p,
label {
    color: #444;
}

input {
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="file"],
textarea {
    width: 50vh;
}

textarea {
    padding: 10px 5px;
}
/* cabeçario */

.header {
    height: 160px;
    padding: 20px;
    background-image: url(../img/post_thumbnail-9cc533c0e725c8cd219edbebe3d483ec.jpeg);
    background-size: cover;
    background-position: center;
}

.header h2 {
    color: #fff;
    margin-top: 0;
}

/* form conteiner */

.form-conteiner {
    background-color: #fdfdfd;
    width: 60%;
    margin: 0 auto;
    position: relative;
    margin-top: -62px;
}

/* form header */


.form-header {
    border-bottom: 1px solid #fdfdfd;
    height: 45px;
}

.form-header p {
    color: #673ab7;
    border-bottom: 2px solid #673ab7;
    width: 100px;
    text-align: center;
    margin: 0 auto;
    text-transform: uppercase;
    height: 45px;
    line-height: 45px;
}

/* form body */

.form-body {
    padding: 30px;
}

.form-title {
    margin-bottom: 15px;
}

.form-body p {
    margin-bottom: 20px;
}

.required-field {
    color: #d80835;
}

.box-input {
    margin-bottom: 35px;
}

.block {
    display: block;
}

.optional-box {
    display: inline-block;
    margin: 0 30px 30px 0
}

.optional-list {
    list-style: none;
    margin-bottom: 5px;
}

.box-input p {
    margin-bottom: 15px;
}

.btn-submit {
    background-color: #673ab7;
    color: #fff;
    border: 2px solid transparent;
    width: 150px;
    height: 50px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.5s;
}

.btn-submit:hover {
    background-color: #fff;
    border-color: #673ab7;
    color: #673ab7;
}

@media screen and (max-width: 740px) {
    input[type="text"],
    input[type="number"],
    input[type="date"],
    input[type="file"],
    textarea {
        width: 30vh;
}
}
@media screen and (max-width: 480px) {
    input[type="text"],
    input[type="number"],
    input[type="date"],
    input[type="file"],
    textarea {
        width: 20vh;
        font-size: 10px;
}
}