.sphere-wrapper{ text-align: center; } sphere{ margin: 1.5vw; height: 10vw; width: 10vw; background-color: #bbb; border-radius: 50%; display: inline-block; }