    html, body {
      height: 100%;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }
    .background-carousel {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: -1;
    }
    .background-carousel img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 2s ease-in-out;
    }
    .background-carousel img.active {
      opacity: 1;
    }
    option,select {
    background-color: white;
    }

.fixed-logo {
  position: absolute;
  top: 40px; 
  left: 20px; 
  z-index: 999; 
}

.hero {
  padding-top: 100px;
  background-size: cover;
  color: white;
  padding: 6em 0;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

.ui.container.segment {
  background-color: rgba(0, 0, 0, 0.3) !important; /* nero con trasparenza */
  color: white !important; /* per migliorare leggibilità */
  border: none;
  box-shadow: none;
}

.ui.fixed.menu {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Centrare voci del menu top fisso */
.ui.fixed.menu .centered.menu {
  margin: 0 auto;
  flex-grow: 1;
  justify-content: center;
}

/* Ingrandire le voci del menu */
.ui.fixed.menu .item {
  font-size: 1.2rem;
  font-weight: bold;
}

.ui.fixed.menu .item {
  color: white !important;
  font-weight: bold !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}


.ui.fixed.menu .dropdown .item {
  color: white !important;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
    .toc.item {
      display: none;
    }
    @media only screen and (max-width: 700px) {
      .ui.fixed.menu {
        display: none;
      }
      .toc.item {
        display: block;
      }
    }

.toc.item i.sidebar.icon {
  font-size: 2em;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.ui.fixed.menu {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

main.content-overlay {
  margin-top: 0 !important;
  border: 0px;
}

.distance {
  height: 90px;
}
