/* Tutti gli stili prefissati con la classe .contact-form per evitare sovrapposizioni */

body {
    background-color: #f5f7fa;
    justify-content: center;
    align-items: center;
color: #000000;
 padding-top: 30px;

}
form.contact-form {
    margin-top: 40px !important;
}

form.contact-form label {
    color: #000000 !important;
}

form.contact-form * {
    color: #000000 !important;
}
.contact-form {
    background-color: #f5f7fa;
    padding: 30px;
    border: 2px solid #0f0;
    border-radius: 10px;
    width: 350px;
color: #000000;
  margin: 20px auto;

}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #f5f7fa;
    color: #000000;
    border: 2px solid #0f0;
    border-radius: 5px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form label {
    display: block;
    margin-top: 10px;
    color: #ffffff !important;
}

.contact-form .checkbox-container {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.contact-form .checkbox-container input {
    margin-right: 10px;
    accent-color: #0f0; /* colore del checkbox */
}

.contact-form button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background-color: #f5f7fa;
    color: #fff;
    border: 2px solid #0f0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.contact-form button:hover {
    background-color: #0f0;
color: #ffffff;
}