* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "arial", sans-serif;
}


body {
    background-image: url('https://storage.googleapis.com/img_meltemi/SITI/micrositi/prezzobravo/background.jpeg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}


/*FORM*/

.form h1,
h2,
h3,
h4 {
    display: inline-flex;
    margin-top: 5px;
}


.form h2 {
    line-height: 1;
    font-size: 30px;
    margin-bottom: 20px;
}


.form {
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background-color: white !important;
    border: 5px solid #9D2493;
    border-radius: 10px;
    max-width: 600px;
    margin: 60px auto 100px auto;
    box-shadow: 0 0 5px lightgrey;
}

.form .inputs {
    padding: 20px;
    border: 1px solid #ededed;
}


.form label {
    text-align: center;
    color: #9D2493;
}

.form input,
.form textarea {
    width: 100%;
    border-radius: 5px;
    padding: 10px;
    border: solid 1px black;
}

.form input[type="submit"] {
    background-color: #9D2493;
    box-shadow: none;
    border: solid 1px #9D2493;
    color: white;
}

.form input[type="submit"]:hover {
    background-color: white;
    color: #9D2493;
    font-size: 1.2;
}

.campo {
    margin: 15px auto;
}

/*footer*/
.footer {
    background-color: #166082;
    color: white;
    text-align: center;
    padding: 30px;
    text-align: center;
    margin: 0 -1000px;
}

.footer a:hover {
    font-size: 16px;
}

.footer a,
p {
    color: white;
    font-size: 15px;
    margin: 0 auto;
    max-width: 400px;
}

@media screen and (max-width: 600px) {

    .form {
        max-width: 400px;
    }

    .form h1 {
        font-size: 30px;
        word-break: break-all;
    }

    .form h2 {
        font-size: 15px;
    }

    .footer {
        margin: 0;
        font-size: 10px;
    }

}
