body { margin: 0; padding: 0; background-color: #121212; color: #ffffff; font-family: 'Courier New', monospace; overflow-x: hidden; height: 100vh; overflow: auto; } .matrix-container { display: flex; flex-direction: column; width: 100%; height: 100vh; padding: 0; margin: 0; overflow: hidden; position: relative; } .matrix-row { display: flex; justify-content: space-between; flex-wrap: wrap; width: 100%; margin-bottom: 15px; position: relative; padding: 0 10px; box-sizing: border-box; } /* Add dotted lines between rows */ .matrix-row::after { content: ''; position: absolute; bottom: -8px; left: 0; right: 0; border-bottom: 2px dotted rgba(255, 255, 255, 0.3); } .matrix-button { padding: 15px; margin: 5px; color: rgba(255, 255, 255, 0.9); cursor: pointer; border-radius: 0; text-align: center; font-size: 16px; letter-spacing: 2px; transition: transform 0.2s, background-color 0.2s, opacity 0.2s; flex-grow: 1; min-width: 100px; display: flex; align-items: center; justify-content: center; /* Reduced opacity to 50% */ opacity: 0.5; /* More translucent background */ background-color: rgba(50, 50, 50, 0.25) !important; /* Glass effect */ backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); /* Subtle border */ border: 1px solid rgba(255, 255, 255, 0.1); /* Ensure text is visible on translucent background */ text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); } .matrix-button:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); background-color: rgba(70, 70, 70, 0.4) !important; opacity: 0.8; /* Increase opacity slightly on hover for better feedback */ } /* Make the buttons more evenly distributed */ @media (max-width: 768px) { .matrix-button { min-width: 80px; } }