body {
    margin: 0;
    padding: 0;
    color: #222;
    font-family: 'Segoe UI', sans-serif;
}

/* Stile per l'homepage */
body.homepage {
    background: linear-gradient(to right, #e0eafc, #cfdef3);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Stile per le pagine con contenuto lungo */
body.policy {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to right, #e0eafc, #cfdef3);
    margin: 0;
    padding: 2em;
    color: #222;
    overflow-y: auto;
}

.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 40px;
    padding: 40px;
}

.icon {
    width: 120px;
    height: auto;
}

.text-block {
    text-align: center;
    max-width: 600px;
}

h1 {
    font-size: 3em;
    margin-bottom: 0.3em;
    color: #0a3d62;
}

p {
    font-size: 1.2em;
    margin: 0.2em 0;
}

footer {
    margin-top: 2em;
    font-size: 0.9em;
    color: #444;
}

.footer-link {
    color: #444;
    text-decoration: none;
    margin: 0 10px;
}

.policy-container {
    max-width: 800px;
    margin: auto;
    background-color: #fff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #0d3a71;
    text-align: center;
}

.policy-container h2 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #0d3a71;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
}

.policy-container ul {
    margin-left: 20px;
    list-style-type: disc;
}

.policy-container li {
    margin-bottom: 10px;
}

.policy-container a {
    color: #0066cc;
    text-decoration: none;
}

.policy-container a:hover {
    text-decoration: underline;
}

.policy-container p:last-child {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 600px) {
    .container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .icon {
        width: 80px;
    }

    .text-block {
        max-width: 90%;
    }
}
