#basic-stats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: var(--big-gap); >div { flex: 1 0 200px; } > :is(.attributes, .characteristics) { display: flex; flex-wrap: wrap; gap: var(--half-gap); margin: 0; justify-content: center; .stat-container { box-sizing: border-box; } } h2 { width: 100%; box-sizing: border-box; column-span: all; font-size: 1rem; } [aria-level="3"] { font-size: .8rem; } .stat-container { box-sizing: border-box; } .armor-movement { display: flex; flex-wrap: wrap; gap: var(--half-gap); align-items: center; justify-content: center; } .armor-details { width: 100%; span { font-size: 0.75rem; text-transform: capitalize; } } } .characteristics { flex-grow: 2; >.stat-container { width: 55px; } } .attributes { .stat-container { width: 70px; } } .armor-movement { >.stat-container { width: 70px; } .armor { position: relative; isolation: isolate; &:before { border-radius:inherit; overflow:hidden; z-index: -1; filter: var(--imgInvert); content: ''; position: absolute; inset: 0; background: { image: var(--armor); position: center; size: contain; repeat: no-repeat; } } } .movement { position: relative; isolation: isolate; &:before { border-radius:inherit; overflow:hidden; z-index: -1; filter: var(--imgInvert); content: ''; position: absolute; inset: 0; background: { image: var(--boot); position: center; size: contain; repeat: no-repeat; } } } .sprint { position: relative; isolation: isolate; &:before { border-radius:inherit; overflow:hidden; z-index: -1; filter: var(--imgInvert); content: ''; position: absolute; inset: 0; background: { image: var(--bolt); position: center; size: contain; repeat: no-repeat; } } } }