body { background-color: #202020; color: #ffffff; font-family: 'Segoe UI', 'Roboto', sans-serif; display: flex; justify-content: center; align-items: center; margin: 0; min-height: 100vh; background-image: linear-gradient(45deg, #1a1a1a 0%, #2d2d2d 100%); } #Main { background: rgba(32, 32, 32, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); padding: 2rem; width: 90%; max-width: 800px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } #Main:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2); } .input { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: #ffffff; padding: 12px; font-size: 16px; transition: all 0.3s ease; width: 100%; box-sizing: border-box; } .input:focus { border-color: #0078d4; outline: none; background: rgba(255, 255, 255, 0.08); } .button, .button2 { background: rgba(255, 255, 255, 0.08); border: none; border-radius: 8px; color: #ffffff; padding: 12px 24px; font-size: 16px; cursor: pointer; transition: all 0.3s ease; margin: 8px 0; backdrop-filter: blur(4px); } .button:hover, .button2:hover { background: #0078d4; transform: translateY(-2px); } .button:active, .button2:active { transform: translateY(0); background: #006cbd; } .Message { padding: 12px; margin: 8px 0; border-radius: 8px; background: rgba(255, 255, 255, 0.05); animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } #Title { font-size: 2.5rem; margin-bottom: 1rem; text-align: center; background: linear-gradient(45deg, #0078d4, #00b4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: titleGlow 2s ease-in-out infinite alternate; } @keyframes titleGlow { from { filter: drop-shadow(0 0 2px rgba(0, 120, 212, 0.3)); } to { filter: drop-shadow(0 0 10px rgba(0, 120, 212, 0.6)); } } #Logo { display: block; margin: 0 auto; height: 80px; animation: float 3s ease-in-out infinite; } @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } } .error-popup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(32, 32, 32, 0.95); backdrop-filter: blur(20px); justify-content: center; align-items: center; z-index: 1000; } .error-popup-content { background: #202020; border: 1px solid rgba(255, 255, 255, 0.1); color: #ffffff; border-radius: 12px; padding: 20px; text-align: center; max-width: 300px; } @media (max-width: 900px) { body { background: #202020; } #Main { width: 100%; padding: 1rem; background: transparent; border: none; backdrop-filter: none; box-shadow: none; } #Main:hover { transform: none; box-shadow: none; } #SendMessage, #LeaveRoomButton, #ConnectButton { display: block; width: 100%; max-width: 300px; margin: 8px auto; } } @media (max-width: 650px) { #Title { font-size: 2rem; } } #Chat { display: none; }