/* ============================================================
   SOFIA 3-5 ANNI — CSS Completo
   Palette: giardino, perline, pastello caldo
   ============================================================ */

/* ---- RESET & VARIABLES ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --verde: #2A5C3F;
  --verde-chiaro: #3A9E72;
  --salvia: #7A8B6F;
  --arancione: #E8634A;
  --acqua: #2A9D8F;
  --azzurro: #7BC8E2;
  --giallo: #F4C542;
  --rosa: #D76BC2;
  --grigio: #333333;
  --crema: #FFFDF7;
  --bg-verde: #F0F7F2;
  --bg-arancione: #FFF3F0;
  --bianco: #FFFFFF;
  --font-title: 'Baloo 2', cursive;
  --font-body: 'Quicksand', sans-serif;
  --font-accent: 'Fredoka', sans-serif;
  --nav-height: 64px;
  --successo: #4CAF50;
  --errore: #E8634A;
  --stella: #F4C542;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--crema);
  color: var(--grigio);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.6;
}

/* ---- NAVIGATION ---- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,253,247,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122,139,111,0.12);
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(42,92,63,0.1); }

.nav-logo {
  font-family: var(--font-title);
  font-size: 1.3rem; color: var(--verde);
  text-decoration: none; display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo span { color: var(--arancione); }
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--verde); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-size: 1.1rem;
}

.nav-links {
  list-style: none; display: flex; gap: 1.5rem; align-items: center;
}
.nav-links a {
  text-decoration: none; color: var(--salvia);
  font-weight: 500; font-size: 0.9rem;
  transition: color 0.3s; font-family: var(--font-body);
}
.nav-links a:hover, .nav-links a.active { color: var(--arancione); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-hamburger span {
  width: 24px; height: 2px; background: var(--verde);
  transition: all 0.3s; border-radius: 2px;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -280px;
    width: 280px; height: 100vh;
    background: var(--crema); flex-direction: column;
    padding: 5rem 2rem 2rem; gap: 1.5rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-verde) 0%, var(--crema) 50%, var(--bg-arancione) 100%);
  padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -30%;
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(58,158,114,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  display: flex; align-items: center; gap: 4rem;
  max-width: 1100px; z-index: 1; width: 100%;
}
.hero-cover {
  flex-shrink: 0; width: 320px; height: 320px;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(42,92,63,0.2), 0 8px 20px rgba(0,0,0,0.1);
  transform: rotate(-3deg); transition: transform 0.5s;
}
.hero-cover:hover { transform: rotate(0deg) scale(1.03); }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; }

.hero-text h1 {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--verde);
  line-height: 1.1; margin-bottom: 0.5rem;
}
.hero-text h1 span { display: block; font-size: 0.6em; color: var(--salvia); }
.hero-text .collana {
  font-family: var(--font-accent);
  color: var(--arancione); font-size: 1rem;
  letter-spacing: 1px; margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.15rem; color: var(--salvia);
  max-width: 500px; line-height: 1.7; margin-bottom: 2rem;
}
.badge {
  display: inline-block;
  background: var(--arancione); color: white;
  padding: 0.4rem 1.2rem; border-radius: 20px;
  font-family: var(--font-accent); font-size: 0.9rem;
  margin-right: 0.5rem; margin-bottom: 0.5rem;
}
.badge.green { background: var(--verde-chiaro); }

.perline { display: flex; gap: 8px; margin: 1.5rem 0; }
.perline .p {
  width: 10px; height: 10px; border-radius: 50%;
  animation: float 3s ease-in-out infinite;
}
.perline .p:nth-child(1) { background: var(--arancione); animation-delay: 0s; }
.perline .p:nth-child(2) { background: var(--azzurro); animation-delay: 0.3s; }
.perline .p:nth-child(3) { background: var(--verde-chiaro); animation-delay: 0.6s; }
.perline .p:nth-child(4) { background: var(--giallo); animation-delay: 0.9s; }
.perline .p:nth-child(5) { background: var(--rosa); animation-delay: 1.2s; }
.perline .p:nth-child(6) { background: var(--arancione); animation-delay: 1.5s; }
.perline .p:nth-child(7) { background: var(--azzurro); animation-delay: 1.8s; }

@media (max-width: 768px) {
  .hero-content { flex-direction: column; text-align: center; gap: 2rem; }
  .hero-cover { width: 240px; height: 240px; }
  .perline { justify-content: center; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 2rem; border-radius: 30px;
  font-family: var(--font-accent); font-size: 1.1rem;
  text-decoration: none; color: white;
  background: var(--verde);
  box-shadow: 0 4px 15px rgba(42,92,63,0.3);
  transition: all 0.3s; cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(42,92,63,0.4); }
.btn-orange, .btn.orange { background: var(--arancione); box-shadow: 0 4px 15px rgba(232,99,74,0.3); }
.btn-orange:hover, .btn.orange:hover { box-shadow: 0 6px 20px rgba(232,99,74,0.4); }
.btn-primary { background: var(--verde); }
.btn-secondary { background: transparent; color: var(--verde); border: 2px solid var(--verde); box-shadow: none; }
.btn-secondary:hover { background: var(--verde); color: white; }

/* ---- SECTIONS ---- */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 2.5rem); color: var(--verde);
}
.section-title p { font-size: 1.1rem; color: var(--salvia); margin-top: 0.5rem; }

/* ---- PAGE HEADER (per giochi.php, giocoN.php) ---- */
.page-header {
  padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-verde) 0%, var(--crema) 100%);
}
.page-header h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 2.8rem); color: var(--verde);
  margin-bottom: 0.5rem;
}
.page-subtitle {
  font-size: 1.1rem; color: var(--salvia); max-width: 600px;
  margin: 0 auto; line-height: 1.6;
}

/* ---- FLIPBOOK ---- */
#sfoglia { background: var(--bg-verde); }
.flipbook-container { max-width: 1000px; margin: 0 auto; position: relative; }
.flipbook-wrapper { display: flex; justify-content: center; align-items: center; min-height: 450px; }
#stPageFlip {
  box-shadow: 0 15px 50px rgba(42,92,63,0.2), 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 6px;
}
#stPageFlip .page-content {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: white; overflow: hidden;
}
#stPageFlip .page-content img {
  width: 100%; height: 100%; object-fit: contain;
  user-select: none; -webkit-user-select: none; pointer-events: none;
}
.flipbook-controls {
  display: flex; justify-content: center; align-items: center;
  gap: 2rem; margin-top: 1.5rem;
}
.flip-btn {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--verde-chiaro); background: white;
  color: var(--verde); font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.flip-btn:hover { background: var(--verde); color: white; }
.page-indicator {
  font-family: var(--font-accent); color: var(--salvia);
  font-size: 1rem; min-width: 60px; text-align: center;
}
.swipe-hint { text-align: center; color: var(--salvia); font-size: 0.85rem; margin-top: 0.8rem; opacity: 0.6; }

/* ---- COLORING ---- */
#colora { background: var(--bg-arancione); }
.coloring-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.coloring-card {
  background: white; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06); cursor: pointer; transition: all 0.3s;
}
.coloring-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(232,99,74,0.15); }
.coloring-card img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 1rem; background: white; }
.coloring-card .card-label {
  padding: 0.8rem 1rem; font-family: var(--font-accent);
  color: var(--verde); font-size: 0.95rem; text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* ---- COLORING MODAL ---- */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7); z-index: 2000;
  justify-content: center; align-items: center; padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: white; border-radius: 20px;
  max-width: 700px; width: 100%; max-height: 95vh;
  overflow: hidden; display: flex; flex-direction: column;
}
.modal-header {
  padding: 1rem 1.5rem; display: flex; justify-content: space-between;
  align-items: center; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.modal-header h3 { font-family: var(--font-title); color: var(--verde); font-size: 1.3rem; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: var(--bg-arancione);
  color: var(--arancione); font-size: 1.2rem; cursor: pointer; transition: all 0.3s;
}
.modal-close:hover { background: var(--arancione); color: white; }
.canvas-container {
  flex: 1; display: flex; justify-content: center; align-items: center;
  padding: 0.5rem; background: white; touch-action: none; overflow: hidden; position: relative;
}
.canvas-wrapper { position: relative; display: inline-block; }
.canvas-wrapper .bg-img {
  display: block; max-width: 100%; max-height: 58vh;
  border-radius: 8px; user-select: none; pointer-events: none;
}
.canvas-wrapper canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 8px; touch-action: none; cursor: crosshair;
}
.color-toolbar {
  padding: 1rem 1.5rem; display: flex; flex-wrap: wrap;
  align-items: center; gap: 0.8rem;
  border-top: 1px solid rgba(0,0,0,0.06); background: var(--crema);
}
.color-swatch {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid transparent; cursor: pointer; transition: all 0.2s;
}
.color-swatch:hover, .color-swatch.active { border-color: var(--grigio); transform: scale(1.15); }
.toolbar-sep { width: 1px; height: 30px; background: rgba(0,0,0,0.1); }
.brush-size { display: flex; align-items: center; gap: 0.5rem; }
.brush-size input[type=range] { width: 80px; accent-color: var(--verde); }
.brush-size label { font-size: 0.8rem; color: var(--salvia); }
.toolbar-btn {
  padding: 0.5rem 1rem; border-radius: 20px;
  border: 1px solid var(--salvia); background: white;
  color: var(--salvia); font-family: var(--font-accent);
  font-size: 0.85rem; cursor: pointer; transition: all 0.3s;
}
.toolbar-btn:hover { background: var(--verde); color: white; border-color: var(--verde); }
.toolbar-btn.eraser { border-color: var(--arancione); color: var(--arancione); }
.toolbar-btn.eraser:hover { background: var(--arancione); color: white; }

/* ---- GAME CARDS ---- */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.game-card {
  background: var(--bianco); border-radius: 20px;
  overflow: hidden; border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(42,92,63,0.08);
  transition: all 0.4s; display: flex; flex-direction: column;
}
.game-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(42,92,63,0.15); }
.game-card-image {
  width: 100%; height: 200px; object-fit: cover;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.game-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.game-card-level {
  display: inline-block; padding: 0.3rem 1rem; border-radius: 15px;
  font-family: var(--font-accent); font-size: 0.8rem; color: white;
  margin-bottom: 0.8rem; width: fit-content;
}
.level-1 { background: var(--verde-chiaro); }
.level-2 { background: var(--azzurro); }
.level-3 { background: var(--arancione); }
.level-4 { background: var(--rosa); }
.level-5 { background: var(--giallo); color: var(--grigio); }

.game-card-body h3 {
  font-family: var(--font-title); font-size: 1.2rem;
  color: var(--verde); margin-bottom: 0.5rem;
}
.game-card-body p { font-size: 0.95rem; color: var(--salvia); line-height: 1.6; flex: 1; }
.game-badge-preview {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.8rem; font-size: 0.85rem; color: var(--salvia);
}
.badge-icon { font-size: 1.2rem; }
.game-action-area { margin-top: 1rem; }

.card-counter {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; color: var(--salvia); margin-top: 0.5rem;
  opacity: 0.7;
}

/* ---- PROGRESS MAP ---- */
.progress-map {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; flex-wrap: wrap; padding: 1.5rem; margin: 1rem auto;
  max-width: 600px;
}

/* ---- UPLOAD AREA ---- */
.upload-area {
  max-width: 600px; margin: 0 auto 2rem;
  padding: 1.5rem; border: 2px dashed rgba(42,92,63,0.2);
  border-radius: 16px; text-align: center;
  background: rgba(42,92,63,0.02);
}
.upload-area h3 { font-family: var(--font-title); color: var(--verde); font-size: 1.1rem; margin-bottom: 0.5rem; }
.upload-area p { font-size: 0.9rem; color: var(--salvia); margin-bottom: 1rem; }

/* ---- TEACHER CARDS ---- */
#insegnanti { background: white; }
.teacher-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem; max-width: 1100px; margin: 0 auto;
}
.teacher-card {
  background: var(--crema); border-radius: 16px; padding: 2rem;
  border-left: 4px solid var(--verde); transition: all 0.3s;
}
.teacher-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.teacher-card.orange { border-left-color: var(--arancione); }
.teacher-card.azzurro { border-left-color: var(--azzurro); }
.teacher-card.acqua { border-left-color: var(--acqua); }
.teacher-card h3 { font-family: var(--font-title); font-size: 1.2rem; color: var(--verde); margin-bottom: 0.5rem; }
.teacher-card.orange h3 { color: var(--arancione); }
.teacher-card.azzurro h3 { color: var(--azzurro); }
.teacher-card.acqua h3 { color: var(--acqua); }
.teacher-card p { font-size: 0.95rem; line-height: 1.7; color: var(--grigio); }
.teacher-card .tag {
  display: inline-block; padding: 0.2rem 0.7rem; border-radius: 12px;
  font-size: 0.75rem; font-family: var(--font-accent);
  background: var(--bg-verde); color: var(--verde); margin-top: 1rem;
}

.pedagogy-box {
  max-width: 800px; margin: 3rem auto 0;
  background: var(--bg-verde); border-radius: 20px; padding: 2.5rem; text-align: center;
}
.pedagogy-box blockquote { font-size: 1.2rem; color: var(--acqua); font-style: italic; line-height: 1.7; margin-bottom: 1rem; }
.pedagogy-box cite { font-size: 0.9rem; color: var(--salvia); font-style: normal; }

/* ---- TRILOGIA ---- */
#trilogia {
  background: linear-gradient(135deg, var(--verde) 0%, #1e4a30 100%);
  color: white;
}
#trilogia .section-title h2 { color: white; }
#trilogia .section-title p { color: rgba(255,255,255,0.7); }
.trilogy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; max-width: 900px; margin: 0 auto;
}
.trilogy-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px; padding: 2rem; text-align: center; transition: all 0.3s;
}
.trilogy-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-5px); }
.trilogy-card.active {
  background: rgba(255,255,255,0.15); border-color: var(--giallo);
  box-shadow: 0 0 30px rgba(244,197,66,0.15);
}
.trilogy-card .age {
  display: inline-block; padding: 0.3rem 1rem; border-radius: 15px;
  font-family: var(--font-accent); font-size: 0.85rem; margin-bottom: 1rem;
}
.trilogy-card.active .age { background: var(--arancione); }
.trilogy-card:not(.active) .age { background: rgba(255,255,255,0.15); }
.trilogy-card h3 { font-family: var(--font-title); font-size: 1.3rem; margin-bottom: 0.5rem; }
.trilogy-card p { font-size: 0.9rem; opacity: 0.8; line-height: 1.6; }
.trilogy-card a { color: inherit; text-decoration: none; }
.coming-soon {
  display: inline-block; margin-top: 0.8rem;
  padding: 0.2rem 0.8rem; border-radius: 10px;
  font-size: 0.75rem; font-family: var(--font-accent);
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
  .trilogy-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--grigio); color: rgba(255,255,255,0.6);
  padding: 2.5rem 2rem 1.5rem; position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--arancione), var(--giallo), var(--verde-chiaro), var(--azzurro), var(--rosa));
}
.footer-content {
  max-width: 1100px; margin: 0 auto; text-align: center;
}
.footer-content p { margin-bottom: 0.3rem; font-size: 0.85rem; }
.footer-content a { color: var(--giallo); text-decoration: none; }
.footer-content strong { color: white; }

.visit-counter {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 0 4px 0; margin-top: 16px;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
}
.visit-counter-text strong { color: rgba(255,255,255,0.65); font-weight: 700; }
.attestati-counter {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 4px 0; font-size: 0.82rem; color: rgba(255,255,255,0.45);
}
.attestati-counter strong { color: rgba(255,255,255,0.65); font-weight: 700; }

/* ---- ANIMATIONS ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes celebPulse {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: all 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- GAME SPECIFIC (giochi interattivi) ---- */
.game-container {
  max-width: 800px; margin: 0 auto; padding: 2rem;
}
.game-area {
  background: var(--bianco); border-radius: 20px;
  padding: 2rem; box-shadow: 0 4px 20px rgba(42,92,63,0.08);
}

/* ---- CHECK BUTTON ---- */
.check-btn {
  display: inline-block; padding: 0.7rem 2rem;
  border-radius: 30px; border: none;
  background: var(--verde); color: white;
  font-family: var(--font-accent); font-size: 1rem;
  cursor: pointer; transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(42,92,63,0.3);
}
.check-btn:hover { background: var(--verde-chiaro); transform: translateY(-2px); }

/* ---- HOW IT WORKS ---- */
.how-it-works {
  max-width: 700px; margin: 2rem auto 0;
  background: var(--bg-verde); border-radius: 20px; padding: 2rem;
}
.how-it-works h3 { font-family: var(--font-title); color: var(--verde); font-size: 1.2rem; margin-bottom: 1rem; text-align: center; }
.how-step {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1rem; font-size: 0.95rem; color: var(--grigio);
}
.how-step-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--verde); color: white; font-family: var(--font-accent);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}

/* ---- RESPONSIVE GAME CARDS ---- */
@media (max-width: 768px) {
  .game-card-image { height: 150px; }
  .game-container { padding: 1rem; }
  .game-area { padding: 1.5rem; }
  section { padding: 3rem 1rem; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--crema); }
::-webkit-scrollbar-thumb { background: var(--verde-chiaro); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--arancione); }
