/* File: style.css */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600&display=swap');

body {
    font-family: 'Titillium Web', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e8f5e9;
    color: #2e7d32;
}

header {
    background: #1b5e20;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;
}

h1, h2 {
    color: white;
    text-align: center;
    font-weight: 600;
}

nav {
    background: #2e7d32;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    padding: 5px 15px;
    background: #1b5e20;
    border-radius: 5px;
    transition: background 0.3s ease;
}

nav ul li a:hover {
    background: #a5d6a7;
    color: #1b5e20;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    background: white;
    padding: 30px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
    margin-top: 30px;
    border-radius: 10px;
    font-weight: 400;
}

footer {
    text-align: center;
    padding: 15px;
    background: #1b5e20;
    color: white;
    margin-top: 30px;
    font-size: 1.1em;
}

/* Miglioramento generale della leggibilità */
p, ul {
    font-size: 1.2em;
    line-height: 1.6;
    text-align: center;
}

ul {
    padding: 0;
}

ul li {
    list-style-type: none;
    padding: 10px;
    background: #a5d6a7;
    margin: 5px 0;
    border-radius: 5px;
    text-align: center;
}

.container p, .container ul {
    text-align: left;
}