    @font-face {
      font-family: 'Michroma';
      src: url('michroma-400-normal.woff2') format('woff2');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    body {
      background: url('bkg.jpg') no-repeat center center fixed;
      background-size: cover;
      font-family: 'Michroma';
      color: #fff;
      margin: 0;
      padding: 0;
      text-align: center;
      position: relative;
    }
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(35,137,205,0.6) 100%);
      pointer-events: none;
      z-index: 0;
    }
@media screen and (max-width: 768px) {
  html, body {
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  body {
    background-color: #000;
    background-image: url('bkg-mobile.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll; /* avoids issues on iOS */
    background-size: cover;
    min-height: 100vh;
    width: 100vw;
  }
}
    header, main, section, footer {
      position: relative;
      z-index: 1;
	  
    }
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
	  background-color: rgba(0, 0, 0, 0.3);
    }
    nav a {
      margin: 0 1rem;
      text-decoration: none;
      color: #ccc;
      font-size: 1.3rem;
    }
	  nav a:hover {
      color: #fff;
	  filter: drop-shadow(0 0 6px #1991eb);
    }
	
	
	
	
	  a {
      text-decoration: none;
      color: #ccc;
      
    }
	
	  a:hover {
      color: #fff;
	  filter: drop-shadow(0 0 6px #1991eb);
    }
	
    .logo {
      font-size: 2.5rem;
      font-weight: bold;
    }
    .social-icons a {
      margin: 0 0.3rem;
      cursor: pointer;
      display: inline-block;
      vertical-align: middle;
    }
	
	.social-icons a:hover svg path,
    .social-icons a:hover svg {
      fill: #fff;
	  filter: drop-shadow(0 0 6px #1991eb);
    }
	
    .hero {
      padding: 6rem 1rem 3rem;
    }
    .hero h1 {
      font-size: 5vw;
      margin: 0.2em 0;
    }
    .hero h2 {
      font-size: 8vw;
      margin: 0.2em 0;
    }
    .hero p {
      color: #aaa;
      font-size: 1.2rem;
      max-width: 700px;
      margin: 1rem auto 2rem;
    }
    .btn {
      padding: 1rem 2rem;
      font-size: 1rem;
      background: #1991eb;
      color: white;
      border: none;
      border-radius: 10px;
      cursor: pointer;
    }
    .btn:hover {
      background: #0d6ecf;
    }
	
	.page-btn {
      padding: 0.7rem 1rem;
      font-size: 1rem;
      background: #1991eb;
      color: white;
      border: none;
      border-radius: 20px;
      cursor: pointer;
    }
    .page-btn:hover {
      background: #0d6ecf;
    }
	.page-btn.active {
  background: orange;
  color: white;
}
    svg {
      fill: #fff;
      width: 24px;
      height: 24px;
    }
    .section {
      background-color: rgba(17, 24, 39, 0.95);
      border-radius: 2rem;
      margin: 3rem auto;
      padding: 2rem;
      max-width: 1000px;
      text-align: left;
    }
    .section h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
    }
    .section p {
      color: #aaa;
      line-height: 1.6;
    }
    .section .highlight {
      color: #1991eb;
    }
    .section .btn {
      margin-top: 1rem;
    }
    .two-col {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
    }
    .two-col .col {
      flex: 1 1 45%;
    }
    footer {
      background: #0f172a;
      padding: 3rem 1rem;
      font-size: 0.85rem;
    }
    footer .footer-top {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      max-width: 1200px;
      margin: auto;
      padding-bottom: 2rem;
      border-bottom: 1px solid #333;
    }
    footer .footer-col {
      flex: 1 1 200px;
      margin: 1rem;
    }
    footer .footer-bottom {
      text-align: center;
      margin-top: 1rem;
      color: #999;
    }
	
	.reflected-img {
      position: relative;
      display: inline-block;
    }
    .reflected-img::after {
      content: "";
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      height: 100%;
      background: inherit;
      transform: scaleY(-1);
      opacity: 0.2;
      filter: blur(2px);
      background-repeat: no-repeat;
      background-size: cover;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
      -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    }
.select-contenuti {
  width: 100%;
  padding: 1rem;
  background-color: rgba(17, 24, 39, 0.95);
  border: 1px solid #1991eb;
  border-radius: 1rem;
  color: #fff;
  font-family: 'Michroma', sans-serif;
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" viewBox=\"0 0 4 5\"><path fill=\"white\" d=\"M2 0L0 2h4z\"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.65em auto;
}


.select-contenuti optgroup {
  background: rgba(0, 0, 0, 0.5);
  font-weight: bold;
  color: #1991eb;
  padding: 0.5rem;
}

.select-contenuti option {
  background: rgba(17, 24, 39, 1);
  color: #ccc;
  padding: 0.5rem;
}

.select-contenuti option:hover {
  background: #1991eb;
  color: white;
}


@media screen and (max-width: 768px) {
  .select-contenuti optgroup {
    color: #1991eb; /* Blu acceso solo su mobile */
    font-weight: bold;
    font-size: 1.2rem;
    background-color: rgba(17, 24, 39, 0.8); /* Sfondo scuro su mobile */
    padding: 0.5rem;
  }

  .select-contenuti optgroup[label] {
    border-top: 2px solid #1991eb;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
  }
}

#contenuto-caricato img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1rem;
}
