/* Generale */
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fcf1e8;
    margin: 0;
    padding: 0;
    width:100%!important;
}

/* Header */
.header, .footer {
    text-align: center;
    padding: 20px 0;
}

.header-image {
    max-width: 600px;
    height: auto;
}

/* Contenitore principale */
.container {
    max-width: 900px;
    width: 90%;
    margin: 0px auto 80px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Titoli */
h1 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #000;
}

h2 {
    font-size: 26px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #444;
}

h3 {
    font-size: 20px;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #555;
}

/* Testo */
p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

/* Liste */
ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

/* Link */
a {
    color: #0077c0;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid #F3E1D0;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 14.4px;
}

.footer a, .footer a:visited {
    color: black;
}

.footer-col {
    flex-basis: 50%;
    text-align: left;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .footer-col {
        flex-basis: auto;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 16px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    .header-image {
    max-width: 400px;
    height: auto;
}
}

/* Rende il canvas del QR code responsive */
#qrcode canvas {
    max-width: 100%;
    height: auto;
}
