body { margin: 0; background: #2b1d12; font-family: Courier, monospace; } #board { position: relative; width: 100vw; height: 100vh; background: url("cork.jpg") repeat; } .piece { position: absolute; top: calc(10% + (var(--i) * 12%)); left: calc(10% + (var(--i) * 15%)); background: #f6f1e7; padding: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.4); } .piece img { max-width: 220px; display: block; margin-bottom: 6px; } .label { font-size: 12px; }