body{ background-color: #001a35; } .rouleau { width: 4.1vw; height: 3.4vw; position: absolute; top: 16.8vw; } .cube { width: 4.1vw; height: 3.4vw; position: relative; transform-style: preserve-3d; } .cube__face { position: absolute; width: 4.1vw; height: 3.4vw; border: 2px solid black; line-height: 3.4vw; font-size: 1.5vw; background-color: #e52800; box-sizing: border-box; font-weight: bold; color: white; text-align: center; } #rouleau_1{ left: 42.8%; } #rouleau_2{ left: 47.1%; } #rouleau_3{ left: 51.5%; } #tirage { display: flex; justify-content: space-around; margin: auto; position: relative; width: 42.4%; }