body {
    font-family: Verdana, sans-serif;
    background-image: url("assets/montage.png");
}

header {
    color: maroon;
    background-color: white;
    text-align: center;
}

section[id="formulari"] {
    background-color: white;
}

h1 {
    font-family: Georgia, serif;
    font-size: 50px;
    margin-bottom: 0px;
    letter-spacing: 5px;
}

nav a {
    color: #829170;
    font-size: 20px;
    text-decoration: none;
    padding-right: 20px;
}

nav a:hover {
    text-decoration: underline;
}

section>p {
    line-height: 2;
}

input,
select,
textarea {
    border: 1.5px;
    border-style: solid;
    border-color: black;
    border-radius: 4px;
    padding: 8px;
}

/*Hi ha d'haver alguna manera més senzilla. Pendent de mirar:
https://stackoverflow.com/questions/34771974/associating-multiple-selectors-with-a-pseudo-class
https://stackoverflow.com/questions/46551879/multiple-selector-with-the-same-pseudo-class
*/
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus {
    background-color: #d7dbd2e0;
}

input[type="submit"] {
    padding: 10px;
    background-color: #d7dbd2e0;
    cursor: pointer;
    font-weight: bold;
}

section {
    text-align: center;
}
