.animated-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: linear-gradient( to bottom right, rgba(10, 20, 30, 0.8), rgba(30, 40, 50, 0.8) ); overflow: hidden; } .animated-background::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: repeating-linear-gradient( 45deg, rgba(0, 255, 255, 0.05), rgba(0, 255, 255, 0.05) 5px, transparent 5px, transparent 20px ), repeating-linear-gradient( -45deg, rgba(128, 0, 128, 0.05), rgba(128, 0, 128, 0.05) 5px, transparent 5px, transparent 20px ); background-size: 40px 40px; animation: moveContours 60s linear infinite; } @keyframes moveContours { 0% { transform: translate(0, 0); } 100% { transform: translate(40px, 40px); } }