* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Barlow', sans-serif;
    background: url('bld_sito_2024.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    position: relative;
}

header {
    position: fixed;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1;
}

header .logo {
    max-width: 490px; /* Increased by 30% from the original 300px */
}

.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

main {
    max-width: 800px;
    text-align: left;
    margin-left: 20px;
    padding-bottom: 20px; /* Add padding to avoid overlap */
    margin-top: 200px;
}

h1 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

p {
    font-size: 1.2em;
    line-height: 1.5;
}

footer {
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8); /* Optional: to make text more readable */
    padding: 10px 0;
}

.footer-title {
    font-size: 1.5em;
    font-weight: bold;
}

.footer-line {
    width: 60%; /* Adjust as needed */
    margin: 5px auto;
    border: 0;
    border-top: 2px solid black;
}

.footer-address {
    display: flex;
    align-items: center; /* Center vertically the icon and text */
    justify-content: center; /* Center horizontally the icon and text */
}

.footer-icon {
    width: 20px; /* Adjust as needed */
    margin-right: 10px; /* Space between icon and text */
}

.footer-address p {
    font-size: 1em;
    margin: 0; /* Remove default margin */
}

@media (max-width: 768px) {
    header .logo {
        max-width: 260px; /* Adjusted by 30% from original 200px */
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.2em;
    }

    p {
        font-size: 0.9em;
    }

    .footer-title {
        font-size: 1.2em;
    }

    .footer-address p {
        font-size: 0.9em;
    }

    .footer-line {
        width: 80%;
    }

    .footer-icon {
        width: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    main {
        margin-left: 10px;
    }

    h1 {
        font-size: 1.2em;
    }

    h2 {
        font-size: 1em;
    }

    p {
        font-size: 0.8em;
    }

    header .logo {
        max-width: 195px; /* Adjusted by 30% from original 150px */
    }

    .footer-title {
        font-size: 1em;
    }

    .footer-address p {
        font-size: 0.8em;
    }

    .footer-line {
        width: 90%;
    }

    .footer-icon {
        width: 10px;
    }
}

