/* style.css */

* {
    box-sizing: border-box;
}

.modulare {
    font-style: italic;
    color: #555555; /* grigio scuro tenue */
    margin-top: 1em;
    margin-bottom: 1.5em;
}

.sottotitolo {
    font-size: 1rem;
    margin-top: 0.5em;
    font-weight: 400;
    font-style: italic;
    color: white;
}
    .sottotitolo a {
        color: white;
        text-decoration: underline;
    }


body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    background: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

header {
    background-color: #004080;
    color: #fff;
    padding: 15px 0;
}

    header h1 {
        margin: 0;
        font-size: 1.8rem;
    }

nav {
    margin-top: 10px;
}

    nav a {
        color: #cce0ff;
        margin-right: 20px;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s;
    }

        nav a:hover {
            color: #fff;
        }

.hero {
    /*background: #0073e6;*/
    color: #004080;
    padding: 50px 0;
    text-align: center;
}

    .hero h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

.btn {
    background-color: #003366;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

    .btn:hover {
        background-color: #001f4d;
    }

.intro, #funzioni, #vantaggi {
    background: white;
    margin: 30px 0;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

h2 {
    color: #004080;
    margin-top: 0;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

footer {
    background-color: #004080;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* Stili per il form contatti */

form {
    max-width: 500px;
    margin: 20px auto;
}

    form label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: #004080;
    }

    form input, form textarea {
        padding: 8px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-weight: normal;
        width: 400px; /* larghezza fissa */
        max-width: 100%; /* non supera mai il contenitore */
        display: block;
        margin: 0 auto 15px auto; /* centrati e margine sotto */
        resize: vertical; /* textarea ridimensionabile solo in verticale */
    }

    form button {
        background-color: #004080;
        color: white;
        border: none;
        padding: 12px 25px;
        font-weight: bold;
        border-radius: 5px;
        cursor: pointer;
        display: block;
        margin: 0 auto;
        transition: background-color 0.3s;
    }

        form button:hover {
            background-color: #002d66;
        }
