@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;
  margin: 0;
  background-color: #f0f0f0;
  color: #000;
}

#navigation ul {
  margin: 0;
}

.layout{
  align-items: center;
  justify-content: center;
}

#debba {
  width: 100%;
  display: block;
}

.menu-toggle {
  display: none;
  background: #007f96;
  color: #fff;
  text-align: center;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
}
.menu-toggle:hover {
  background: #005f73;
}

#navigation {
  background: #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;
}

/* Layout generale per due colonne */
.layout {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;
}

/* Colonna sinistra con il menu */
#colsx {
  flex: 1 1 45%;
  max-width: 800px;
  padding: 3vh;
  font-family: Lemon, sans-serif;
  font-size: large;
  height: fit-content;
}

/* Colonna destra con l'immagine */
#coldx {
  flex: 1 1 45%;
  max-width: 500px;
}

/* Immagine responsive */
.responsive-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

/* Titolo del menu */
#colsx h1 {
  font-family: 'Lemon', sans-serif;
  color: #0a0a4b;
  margin-bottom: 15px;
}


.menu1 {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.menu1 li {
  margin: 15px 0;
}

.menu1 a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: linear-gradient(135deg, #007f96, #005f70);
  color: white;
  text-decoration: none;
  font-size: 1.1em;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.4s;
}

.menu1 a:hover {
  background: linear-gradient(135deg, #00a4b3, #00687e);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


/* Icone in basso */
.icons {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}

.icons img {
  max-width: 30%;
  border-radius: 8px;
}

#footer {
  background: #e06c2f;
  padding: 10px 0;
  text-align: center;
}

.footer-text {
  color: #fff;
}

#copyright {
  position: fixed;
  bottom: 0;
  left: 0;
  background: rgba(58,58,58,0.85);
  color: #fff;
  padding: 15px;
  border-radius: 0 3vh 0 0;
  font-size: small;
  text-align: center;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #navigation ul {
    display: none;
    flex-direction: column;
    align-items: center;
  }

  #navigation ul.show {
    display: flex;
  }

  .layout {
    flex-direction: column;
    align-items: center;
  }

  #colsx, #coldx {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .menu1 a {
    font-size: 1em;
    padding: 12px 16px;
    border-radius: 10px;
  }
}
