/*
    Código sacado de: https://codepen.io/leenalavanya/pen/mPWdPZ
*/
.formulario {
    width: 90%;
    max-width: 800px;
    height: fit-content;
    background: #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 0 40px -10px #000;
    margin: 20vh auto;
    padding: 2em;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: auto;
}

h2 {
    margin: 1em 0;
    padding-bottom: 1em;
    width: 50%;
    color: #78788c;
    border-bottom: 3px solid #78788c;
}

input {
    width: 100%;
    padding: 1em;
    box-sizing: border-box;
    background: none;
    outline: none;
    resize: none;
    border: 0;
    font-family: 'Montserrat', sans-serif;
    transition: all .3s;
    border-bottom: 2px solid #bebed2;
}

input:focus {
    border-bottom: 2px solid #78788c;
}

p:before {
    content: attr(type);
    display: block;
    margin: 2em 0 0;
    font-size: 14px;
    color: #5a5a5a;
}

button {
    float: right;
    padding: 0.5em 1em;
    margin: 1em 0 0;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid #78788c;
    background: 0;
    color: #5a5a6e;
    cursor: pointer;
    transition: all .3s;
}

button:hover {
    background: #78788c;
    color: #fff;
}