:root {
  --dice-width: 60px;
  --dice-height: 60px;
  --dice-drop-width: 70px;
  --dice-drop-height: 70px;
  box-sizing: border-box; /* default content-box */
}

.wrapper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  font-family: system-ui;
  font-size: 1.1rem;
  text-align: center;
}

table {
  border-collapse: collapse;
  border: 2px solid rgb(140 140 140);
  font-family: sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  grid-column: 1;
  grid-row: 1 / span 3;
}

caption {
  caption-side: bottom;
  padding: 10px;
  font-weight: bold;
}

thead,
tfoot {
  background-color: rgb(228 240 245);
}

th,
td {
  border: 1px solid rgb(160 160 160);
  padding: 8px 10px;
  text-align: right;
}

td:last-of-type {
  text-align: center;
}

tbody > tr:nth-of-type(even) {
  background-color: rgb(237 238 242);
}

tfoot th {
  text-align: right;
}

tfoot td {
  font-weight: bold;
}

.dice {
  height: var(--dice-height);
  width: var(--dice-width);
}

.diceDrop {
  height: var(--dice-drop-height);
  width: var(--dice-drop-width);
}

.dice1 {
  grid-column: 2;
  grid-row: 1;
}

.dice2 {
  grid-column: 3;
  grid-row: 1;
}

.dice3 {
  grid-column: 4;
  grid-row: 1;
}

.dice4 {
  grid-column: 5;
  grid-row: 1;
}

.dice5 {
  grid-column: 6;
  grid-row: 1;
}

.combination1 {
  grid-column: 2 / span 2;
  grid-row: 2;
}

.combination2 {
  grid-column: 3 / span 2;
  grid-row: 2;
}

.reject {
  grid-column: 4 / span 2;
  grid-row: 2;
}

.message {
  grid-column: 1 / span 5;
  grid-row: 3;
}

button {
  grid-column: 6;
  grid-row: 3;
  height: 3rem
}
