.spinner-container { display: flex; justify-content: center; height: calc(100vh - 10.1rem); align-items: center; color: var(--mud-palette-primary); } .not-fullScreen { height: auto !important; padding: 2rem 0 !important; } .loader { width: 50px; aspect-ratio: 1; border-radius: 50%; border: 8px solid #0000; border-right-color: var(--mud-palette-secondary); position: relative; animation: l24 1s infinite linear; } .loader:before, .loader:after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: inherit; animation: inherit; animation-duration: 2s; } .loader:after { animation-duration: 4s; } @keyframes l24 { 100% { transform: rotate(1turn) } }