@font-face {
    font-family: 'Lexend';
    src: url(../font/Lexend-VariableFont_wght.ttf);
}

body {
    font-family: 'Lexend', sans-serif;
    margin: 0;
    background-color: #f0f0f0;
    color: #000;
    line-height: 1.5;
}

#navigation ul {
    margin: 0;
}


#debba {
    width: 100%;
    height: auto;
    display: block;
}

/* Menu di navigazione */


/* Menu */
#navigation {
    background-color: #005f70;
}

#navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

#navigation li {
    margin: 8px;
}

#navigation a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.3s;
}

#navigation a:hover {
    background-color: #f0f0f0;
    color: #005f70;
}

#navigation li#activelink a {
    background-color: #ffffff;
    color: #603;
    border-bottom: 3px solid #fff;
}

/* Menu toggle (solo mobile) */
.menu-toggle {
    display: none;
    background-color: #007f96;
    color: white;
    padding: 12px 20px;
    text-align: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

/* Colonna centrale */
#colcx {
    margin-top: 20px;
}

/* Immagini contenuto (es: news.jpg) */
#colcx img {
    max-width: 100%;
    height: auto;
    display: block;

    margin: 0 auto;
}

#copyright {
    background-color: rgba(58, 58, 58, 0.8);
    color: white;
    font-size: small;
    text-align: center;
    width: fit-content;
    height: fit-content;
    padding: 15px;
    border-radius: 0 3vh 0 0;

    position: fixed;
    bottom: 0;
    left: 0;
}

#back_home {
    background-color: rgba(58, 58, 58, 0.8);
    color: white;
    font-size: medium;
    text-align: center;
    width: 4vh;
    height: 4vh;
    padding: 15px;
    border-radius: 0 0 0 3vh;
    position: fixed;
    top: 0;
    right: 0;
}



/* ------------------------------ */
/* Media Query per schermi piccoli */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    #navigation ul {
        display: none;
        flex-direction: column;
        align-items: center;
    }

    #navigation ul.show {
        display: flex;
    }
}