| <!DOCTYPE html> |
| <html lang="it"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>DAC M.INC. Interface</title> |
| <style> |
| :root { |
| --bg-dark: #000000; |
| --bg-sidebar: rgba(15, 15, 15, 0.95); |
| --bg-glass: rgba(255, 255, 255, 0.04); |
| |
| --primary-rainbow: linear-gradient(90deg, #4285f4, #9b72cb, #d96570, #f4b400, #4285f4); |
| --text-main: #f0f0f0; |
| --text-muted: #808080; |
| --border-glass: rgba(255, 255, 255, 0.08); |
| --shadow-premium: 0 20px 40px rgba(0,0,0,0.6); |
| --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1); |
| } |
| |
| * { margin: 0; padding: 0; box-sizing: border-box; } |
| |
| body { |
| font-family: 'Segoe UI', Roboto, sans-serif; |
| background-color: var(--bg-dark); |
| color: var(--text-main); |
| height: 100vh; |
| display: flex; |
| overflow: hidden; |
| } |
| |
| |
| .header { |
| position: fixed; |
| top: 0; left: 0; right: 0; |
| height: 60px; |
| padding: 0 20px; |
| display: flex; |
| align-items: center; |
| z-index: 1000; |
| } |
| |
| .menu-btn { |
| width: 44px; height: 44px; |
| display: flex; flex-direction: column; |
| justify-content: center; align-items: center; |
| cursor: pointer; |
| background: var(--bg-glass); |
| border-radius: 12px; |
| border: 1px solid var(--border-glass); |
| transition: var(--transition); |
| backdrop-filter: blur(5px); |
| } |
| |
| .menu-btn-line { |
| width: 22px; height: 2px; |
| background-color: var(--text-main); |
| margin: 3px 0; |
| transition: var(--transition); |
| } |
| |
| .menu-btn.active .menu-btn-line:nth-child(1) { transform: translateY(8px) rotate(45deg); } |
| .menu-btn.active .menu-btn-line:nth-child(2) { opacity: 0; } |
| .menu-btn.active .menu-btn-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } |
| |
| |
| .sidebar { |
| width: 300px; |
| background: var(--bg-sidebar); |
| backdrop-filter: blur(30px); |
| height: 100vh; |
| position: fixed; |
| left: -300px; |
| top: 0; |
| z-index: 900; |
| transition: var(--transition); |
| display: flex; |
| flex-direction: column; |
| padding: 80px 20px 20px; |
| border-right: 1px solid var(--border-glass); |
| } |
| |
| .sidebar.open { transform: translateX(300px); } |
| |
| .history-title { |
| font-size: 11px; |
| text-transform: uppercase; |
| color: var(--text-muted); |
| letter-spacing: 2px; |
| margin-bottom: 25px; |
| font-weight: 600; |
| } |
| |
| .chat-list { flex: 1; overflow-y: auto; color: var(--text-muted); font-size: 14px; } |
| |
| .profile-section { |
| padding: 12px 15px; |
| background: var(--bg-glass); |
| border-radius: 18px; |
| display: flex; |
| align-items: center; |
| gap: 15px; |
| cursor: pointer; |
| transition: var(--transition); |
| border: 1px solid var(--border-glass); |
| } |
| |
| .avatar { |
| width: 38px; height: 38px; |
| border-radius: 50%; |
| background: #222; |
| color: #fff; |
| font-family: 'Georgia', serif; |
| font-size: 20px; |
| font-weight: bold; |
| display: flex; align-items: center; justify-content: center; |
| border: 1px solid rgba(255,255,255,0.1); |
| } |
| |
| |
| .main-content { |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: center; |
| position: relative; |
| } |
| |
| .logo-container { |
| position: relative; |
| text-align: center; |
| z-index: 10; |
| } |
| |
| .logo-aura { |
| position: absolute; |
| top: 50%; left: 50%; |
| transform: translate(-50%, -50%); |
| width: 200px; height: 200px; |
| background: var(--primary-rainbow); |
| background-size: 300% 300%; |
| filter: blur(70px); |
| opacity: 0.25; |
| border-radius: 50%; |
| animation: flowColors 8s infinite linear; |
| } |
| |
| .logo-text { |
| font-family: "Arial Black", "Arial Bold", Arial, sans-serif; |
| font-weight: 900; |
| font-size: 5rem; |
| letter-spacing: -3px; |
| |
| background: var(--primary-rainbow); |
| background-size: 300% 300%; |
| -webkit-background-clip: text; |
| -webkit-text-fill-color: transparent; |
| position: relative; |
| animation: flowColors 8s infinite linear; |
| } |
| |
| |
| .sub-text { |
| color: var(--text-muted); |
| font-size: 13px; |
| letter-spacing: 5px; |
| margin-top: 5px; |
| font-weight: 700; |
| text-transform: uppercase; |
| } |
| |
| @keyframes flowColors { |
| 0% { background-position: 0% 50%; } |
| 50% { background-position: 100% 50%; } |
| 100% { background-position: 0% 50%; } |
| } |
| |
| |
| .input-container { |
| position: fixed; |
| bottom: 35px; |
| width: 100%; |
| max-width: 780px; |
| padding: 0 20px; |
| } |
| |
| .input-box { |
| background: var(--bg-sidebar); |
| border: 1px solid var(--border-glass); |
| border-radius: 28px; |
| padding: 10px 10px 10px 25px; |
| display: flex; |
| align-items: center; |
| backdrop-filter: blur(20px); |
| box-shadow: var(--shadow-premium); |
| } |
| |
| textarea { |
| flex: 1; |
| background: transparent; |
| border: none; |
| outline: none; |
| color: var(--text-main); |
| font-size: 16px; |
| padding: 12px 0; |
| resize: none; |
| max-height: 150px; |
| font-family: Arial, sans-serif; |
| } |
| |
| .send-btn { |
| width: 46px; height: 46px; |
| background: var(--text-main); |
| border-radius: 50%; |
| border: none; |
| cursor: pointer; |
| margin-left: 15px; |
| display: flex; align-items: center; justify-content: center; |
| transition: var(--transition); |
| } |
| |
| .send-btn:hover { transform: scale(1.05); background: #ffffff; } |
| |
| </style> |
| </head> |
| <body> |
|
|
| <div class="header"> |
| <div class="menu-btn" id="hamburger"> |
| <div class="menu-btn-line"></div> |
| <div class="menu-btn-line"></div> |
| <div class="menu-btn-line"></div> |
| </div> |
| </div> |
|
|
| <aside class="sidebar" id="sidebar"> |
| <div class="history-title">Cronologia</div> |
| <div class="chat-list"> |
| <div style="padding: 15px 0; text-align: center; opacity: 0.4; font-style: italic;">Nessuna attività recente</div> |
| </div> |
|
|
| <div class="profile-section" id="profileBtn"> |
| <div class="avatar">M</div> |
| <div style="flex: 1;"> |
| <div style="font-size: 14px; font-weight: 600;">Utente Locale</div> |
| <div style="font-size: 11px; color: var(--text-muted);">Settings</div> |
| </div> |
| <span style="font-size: 16px; opacity: 0.6;">⚙️</span> |
| </div> |
| </aside> |
|
|
| <main class="main-content"> |
| <div class="logo-container"> |
| <div class="logo-aura"></div> |
| <h1 class="logo-text">DAC</h1> |
| <p class="sub-text">M.INC.</p> |
| </div> |
|
|
| <div class="input-container"> |
| <div class="input-box"> |
| <textarea id="chatInput" placeholder="Chiedi a DAC..." rows="1"></textarea> |
| <button class="send-btn"> |
| <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon></svg> |
| </button> |
| </div> |
| </div> |
| </main> |
|
|
| <script> |
| const hamburger = document.getElementById('hamburger'); |
| const sidebar = document.getElementById('sidebar'); |
| const chatInput = document.getElementById('chatInput'); |
| |
| hamburger.addEventListener('click', () => { |
| hamburger.classList.toggle('active'); |
| sidebar.classList.toggle('open'); |
| }); |
| |
| document.querySelector('.main-content').addEventListener('click', () => { |
| sidebar.classList.remove('open'); |
| hamburger.classList.remove('active'); |
| }); |
| |
| chatInput.addEventListener('input', function() { |
| this.style.height = 'auto'; |
| this.style.height = (this.scrollHeight) + 'px'; |
| }); |
| </script> |
| </body> |
| </html> |