diff --git a/style.css b/style.css index 917c350..4c15eb2 100644 --- a/style.css +++ b/style.css @@ -131,19 +131,23 @@ header { .info-panel { position: fixed; top: 0; - right: -320px; + right: 0; width: 320px; height: 100%; background: #fff; padding: 16px; box-shadow: -2px 0 6px rgba(0,0,0,0.25); - transition: right 0.3s ease; overflow-y: auto; z-index: 2000; + + /* 🔥 Nasconde completamente il pannello */ + transform: translateX(100%); + transition: transform 0.3s ease; } .info-panel.open { - right: 0; + /* 🔥 Mostra il pannello */ + transform: translateX(0); } .info-panel h3 {