/*-----------INIZIO HERO----------------*/

.hero-contatti{
    width: 100%;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;

}

.hero-contatti .hero-contatti_dati{
    margin: 0px 0px 50px 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-contatti .hero-contatti_dati .hero-contatti_titolo{
    font-size: 3.5rem;
    text-align: center;
    color: white;
}

.hero-contatti .hero-contatti_dati .hero-contatti_paragrafo{
    font-size: 2rem;
    text-align: center;
    color: white;
}

/*-----------FINE HERO----------------*/

/* Container principale */
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Allineamento dei testi sopra gli input */
.wpcf7-form label {
    display: block;
    text-align: center; /* Centra il testo sopra l'input */
    color: #ffffff;    /* Testo bianco */
    font-weight: bold;
    margin-bottom: 20px; /* Spazio tra un blocco e l'altro */
}

/* Rendi ogni input una riga intera e ben spaziata */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    display: block;
    width: 100%;       /* Prende tutta la riga */
    margin: 10px auto 0 auto; /* Spazio sopra e centrato */
    padding: 12px;
    border: none;
    border-radius: 4px;
    box-sizing: border-box; /* Impedisce al padding di allargare il campo */
}

/* Centrare il tasto Invia */
.wpcf7-submit {
    display: block !important;
    margin: 30px auto 0 auto !important; /* Il segreto per centrare il tasto */
    padding: 12px 60px !important;
    background-color: #ffffff !important;
    color: #a38b75 !important; /* Colore fango del tuo sfondo */
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.wpcf7-submit:hover {
    background-color: #e0e0e0 !important;
}

@media screen and (max-width: 1024px) {
    .hero-contatti{
        height:auto;
    }
}