@font-face {
    font-family: 'Lemon';
    src: url(../font/Lemon-Regular.ttf);
}

@font-face {
    font-family: 'Lexend';
    src: url(../font/Lexend-VariableFont_wght.ttf);
}


html,
body {
    font-family: 'Lexend', sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    color: #000;
    line-height: 1.5;
}

#navigation ul{
  margin: 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;
}

#copyright {
    background-color: rgba(58, 58, 58, 0.85);
    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;
}


/* Logo */
#debba {
    width: 100%;
    height: auto;
    display: block;
}

/* 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;
}

/* 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;
}

/* Responsive menu toggle */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    #navigation ul {
        display: none;
        flex-direction: column;
        align-items: center;
    }

    #navigation ul.show {
        display: flex;
    }

    #navigation li {
        margin: 6px 0;
    }

    #colcx {
        max-width: 95vw;
        min-width: 93vw;
    }
}

/* Mappa */
#colcx {
    max-width: 90vw;
    min-width: 75vw;
    height: auto;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 5vh;

    text-align: center;
}

.map-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
    margin: 20px auto;
    max-width: 100%;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-link {
    text-align: center;
    margin: 20px 0 40px;
    font-size: 0.95em;
}

.map-link a {
    color: #007f96;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.map-link a:hover {
    color: #c00;
}

/* Footer copyright */
#copyright {
    background-color: rgba(58, 58, 58, 0.85);
    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;
}