/* Marc — a tree of games
   Most layout lives inline in index.html (it came from the design canvas).
   This file holds the page basics, the carousel helpers and the responsive switch. */
html{scroll-behavior:smooth}
body{margin:0;background:#dcebee}
a{color:#2a1c16}a:hover{color:#5b7a23}
.tw-car-btn:hover{background:#2a1c16 !important;color:#f7f1e6 !important}
/* tablets and phones: the tree becomes a vertical trunk with one branch per sign */
@media (max-width: 1099px){
  .tw-section{background:#dcebee !important}
  .tw-grass-wide,.tw-art{display:none !important}
  .tw-crown,.tw-mperch,.tw-mground{display:block !important}
  /* one column; crown, trunk tile, branch pieces and base all share the same trunk at 100% width */
  .tw-crown,.tw-layer,.tw-mground img{width:calc(100% - 32px) !important;max-width:560px !important;margin-left:auto !important;margin-right:auto !important}
  .tw-layer{position:relative !important;inset:auto !important;padding:0 !important;background:url(../assets/tree/trunk.svg) repeat-y center top / 100% auto}
  .tw-sign{position:relative !important;left:auto !important;top:auto !important;width:auto !important;margin:0 0 36px !important;font-size:16px !important}
  .tw-mground{background:linear-gradient(to bottom, #dcebee 33.4%, #7c9a3a 33.4%, #7c9a3a 34.8%, #5a3d2e 34.8%)}
  .tw-title{font-size:96px !important}
}
@media (max-width: 480px){
  .tw-title{font-size:76px !important}
}

.car-dots span{display:block;height:8px;border-radius:99px;transition:width .25s, background .25s}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}.car-track{transition:none !important}}
