.flex-container { display: flex; height: 100vh; background-color: #1e6d04; flex-direction: column; justify-content: center; align-items: center; color: #fff; } .dice-box { padding: 10px; } .second-row { flex-direction: row; justify-content: space-around; } .face, .second-row { display: flex; } .face { margin: 5px; padding: 4px; background-color: #fff; width: 108px; height: 108px; object-fit: contain; border-radius: 10%; box-shadow: inset 0 5px #fff, inset 0 -5px #bbb, inset 5px 0 #d7d7d7, inset -5px 0 #d7d7d7; } .pip { display: block; width: 24px; height: 24px; border-radius: 50%; margin: 4px; background-color: #333; box-shadow: inset 0 3px #111, inset 0 -3px #555; } .first { justify-content: center; align-items: center; } .second { justify-content: space-between; } .second .pip:last-child { align-self: flex-end; } .third { justify-content: space-between; } .third .pip.third-item-center { align-self: center; } .third .pip:last-child { align-self: flex-end; } .fourth, .fourth .column { justify-content: space-between; } .fourth .column { display: flex; flex-direction: column; } .fifth, .fifth .column { justify-content: space-between; } .fifth .column { display: flex; flex-direction: column; } .fifth .column.fifth-column-center { justify-content: center; } .sixth, .sixth .column { justify-content: space-between; } .sixth .column { display: flex; flex-direction: column; } .button-box { padding-top: 100px; width: 80%; } .btnc { background-color: #902116 !important; }