/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/css/pxiByp8kv8JHgFVrLEj6Z11lFc-K.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/css/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/css/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/css/pxiByp8kv8JHgFVrLCz7Z11lFc-K.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/css/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/css/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Stili base + GDPR */
.footer{background:#0f172a;color:#cbd5e1;padding:30px 0;}
.footer a{color:#cbd5e1;text-decoration:none;}
.footer a:hover{text-decoration:underline;}
/* GDPR Banner */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#111827;color:#e5e7eb;padding:16px;z-index:9999;}
.cookie-btn{border:0;border-radius:8px;padding:10px 14px;cursor:pointer;font-weight:600;}
.cookie-btn.primary{background:#1e88e5;color:#fff;}
.cookie-btn.secondary{background:#374151;color:#fff;}
.cookie-modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);display:none;place-items:center;z-index:10000;}
.cookie-modal{background:#fff;color:#111;border-radius:12px;padding:18px;width:min(640px,92vw);}
.cookie-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #eee;}
.cookie-switch{width:46px;height:26px;background:#d1d5db;border-radius:999px;position:relative;cursor:pointer;}
.cookie-switch::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;background:#fff;border-radius:50%;transition:.2s;}
.cookie-switch.on{background:#10b981;}
.cookie-switch.on::after{transform:translateX(20px);}
.yt-consent{position:relative;background:#0f172a;color:#e2e8f0;border-radius:12px;min-height:280px;display:grid;place-items:center;text-align:center;}
.yt-consent .yt-thumb{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.6;}
.yt-consent .yt-overlay{position:relative;z-index:1;padding:20px;}
.yt-cta{background:#1e88e5;color:#fff;padding:10px 14px;border-radius:8px;cursor:pointer;}


/* Stili base della barra */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0rem;
  background: white;
  color: black;
  width: 100%;

}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  color: black;
  text-decoration: none;
}
/* Sottolineatura su hover e focus */
.nav-links li a:hover,
.nav-links li a:focus {
  text-decoration: underline;
}

/* Nascondi il toggle su desktop */
#menu-toggle, .hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Responsive: quando lo schermo è sotto i 768px */
@media (max-width: 768px) {
  .hamburger {
    display: block; /* Mostra l'icona hamburger */
    margin-left: 90px;
  }

  .nav-links {
    display: none; /* Nasconde il menu */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: #ecf1e7;
    width: 200px;
    padding: 1rem;

  }

  /* Mostra il menu quando il checkbox è selezionato */
  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }
}
