body { margin: 0; display: flex; height: 100svh; place-items: center; background: repeating-conic-gradient( from 45deg, #7FB196 0% 25%, #3C425A 0% 50% ); background-size: max(10vw, 10svh) max(10vw, 10svh); font-family: 'Roboto', sans-serif; align-self: center; justify-content: center; flex-direction: row; gap: 1rem; } .container { display: flex; flex-direction: row; } .tetris { width: 300px; height: 600px; padding: 10px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); background: #4E4F4D; } .first { width: 150px; } .last { width: 150px; } .main-menu { height: 100%; display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: center; } .load-menu { height: 100%; display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: center; color: white; } .loader { width: 48px; height: 48px; border: 5px solid #FFF; border-radius: 50%; display: inline-block; box-sizing: border-box; position: relative; animation: pulse 1s linear infinite; } .loader:after { content: ''; position: absolute; width: 48px; height: 48px; border: 5px solid #FFF; border-radius: 50%; display: inline-block; box-sizing: border-box; left: 50%; top: 50%; transform: translate(-50%, -50%); animation: scaleUp 1s linear infinite; } @keyframes scaleUp { 0% { transform: translate(-50%, -50%) scale(0) } 60% , 100% { transform: translate(-50%, -50%) scale(1)} } @keyframes pulse { 0% , 60% , 100%{ transform: scale(1) } 80% { transform: scale(1.2)} } .hidden { display: none; }