/* Stile generale per il corpo */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

/* Stile per l'header */
header {
    background-color: #007bff;
    color: white;
    padding: 20px;
    text-align: center;
}

header .header-content {
    max-width: 1200px;
    margin: 0 auto;
}

header h1.logo {
    font-size: 2.5em;
    margin: 0;
    font-weight: bold;
}

header p.tagline {
    font-size: 1.2em;
    margin-top: 5px;
}

/* Stile per il menu */
.top-right-menu ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.top-right-menu ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.top-right-menu ul li a:hover {
    background-color: #0056b3;
}

/* Stile per la barra di ricerca */
.search-bar {
    margin-top: 15px;
}

.search-bar input[type="text"] {
    padding: 10px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.search-bar button {
    padding: 10px 15px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #003f8a;
}

/* Stile per la sezione articoli */
.articles {
    margin: 20px auto;
    max-width: 800px;
}

.articles h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
}

.article {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.article h3 {
    color: #007bff;
    margin-bottom: 10px;
}

.article p {
    color: #555;
    line-height: 1.6;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Stile per la sidebar */
aside {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

aside h3 {
    color: #007bff;
    font-size: 1.2em;
    margin-bottom: 10px;
}

aside ul {
    list-style: none;
    padding: 0;
}

aside ul li {
    margin-bottom: 10px;
}

aside ul li a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

aside ul li a:hover {
    color: #0056b3;
}

/* Stile per il footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #007bff;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Stile per la pagina About */
.about {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.about h1 {
    color: #007bff;
    font-size: 2em;
    margin-bottom: 20px;
}

.about p {
    color: #555;
    line-height: 1.6;
    font-size: 1.1em;
    margin-bottom: 20px;
}
/* Stile per la pagina Contatti */
.contact {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact h1 {
    color: #007bff;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.contact p {
    color: #555;
    line-height: 1.6;
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
}

/* Stile per la sezione informazioni di contatto */
.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.contact-info ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333;
}

.contact-info ul li a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info ul li a:hover {
    color: #0056b3;
}

/* Stile per il modulo di contatto */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    font-size: 1.1em;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
}

.contact-form button {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0056b3;
}