#container {
  width: 90%;
  height: 300px;
  display: flex;
  margin: auto;
}

#choice-modal {
  width: 90%;
  height: 80%;
  background-color: dodgerblue;
  position: absolute;
  left: 5%;
  top: 20px;
  border-radius: 8px;
  border: 1px solid grey;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: -10;
  visibility: hidden;
}

.dobbelsteen {
  position: relative;
  transform: rotateX(90deg) rotateY(90deg) rotateZ(-90deg);
  transform-style: preserve-3d;
}

.side {
  position: absolute;
  display: grid;
  grid-template-columns: auto auto auto;
}

.big {
  width: 150px;
  height: 150px;
}

.vak-big {
  width: 50px;
  height: 50px;
}

.dot-big {
  width: 20px;
  height: 20px;
}

.small {
  width: 75px;
  height: 75px;
}

.vak-small {
  width: 25px;
  height: 25px;
}

.dot-small {
  width: 10px;
  height: 10px;
}

.side:nth-child(4) {
  transform: translateX(0em) translateY(0em) translateZ(4.7em);
}

.side:nth-child(6) {
  transform: rotateY(90deg) translateX(0em) translateY(0em) translateZ(4.7em);
}

.side:nth-child(1) {
  transform: rotateY(-90deg) translateX(0em) translateY(0em) translateZ(4.7em);
}

.side:nth-child(3) {
  transform: rotateX(90deg) translateX(0em) translateY(0em) translateZ(4.7em);
}

.side:nth-child(5) {
  transform: rotateX(-90deg) translateX(0em) translateY(0em) translateZ(4.7em);
}

.side:nth-child(2) {
  transform: rotateY(180deg) translateX(0em) translateY(0em) translateZ(4.7em);
}

.vak {
  background-color: #ff3385;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dot {
  border-radius: 50%;
  background-color: white;
  box-shadow: inset 2px 2px lightgrey;
}

.show-1 {
  animation: show-1 2000ms;
  animation-fill-mode: forwards;
}

.show-2 {
  animation: show-2 2000ms;
  animation-fill-mode: forwards;
}

.show-3 {
  animation: show-3 2000ms;
  animation-fill-mode: forwards;
}

.show-4 {
  animation: show-4 2000ms;
  animation-fill-mode: forwards;
}

.show-5 {
  animation: show-5 2000ms;
  animation-fill-mode: forwards;
}

.show-6 {
  animation: show-6 2000ms;
  animation-fill-mode: forwards;
}

@keyframes show-4 {
  from {
    transform: rotateY(0deg) rotateZ(0deg);
  }

  to {
    transform: rotateX(720deg) rotateZ(-720deg);
  }
}

@keyframes show-2 {
  from {
    transform: rotateY(0deg) rotateZ(0deg);
  }

  to {
    transform: rotateX(-900deg) rotateZ(1080deg);
  }
}

@keyframes show-1 {
  from {
    transform: rotateY(0deg) rotateZ(0deg);
  }

  to {
    transform: rotateY(810deg) rotateZ(720deg);
  }
}

@keyframes show-3 {
  from {
    transform: rotateY(0deg) rotateZ(0deg);
  }

  to {
    transform: rotateX(-810deg) rotateZ(-1080deg);
  }
}

@keyframes show-5 {
  from {
    transform: rotateY(0deg) rotateZ(0deg);
  }

  to {
    transform: rotateX(450deg) rotateZ(-720deg);
  }
}

@keyframes show-6 {
  from {
    transform: rotateY(0deg) rotateZ(0deg);
  }

  to {
    transform: rotateY(-450deg) rotateZ(-1440deg);
  }
}

#roll {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

#roll button {
  background-color: #ffd700;
  border: none;
  border-radius: 50%;
  border: 2px solid black;
  padding-top: 4px;
  cursor: pointer;
}

.small-die-container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.small-die {
  display: grid;
  grid-template-columns: auto auto auto;
  width: 30px;
  height: 30px;
  border: 2px solid black;
  border-radius: 2px;
}

.small-die-vak {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10px;
  height: 10px;
}

.small-die-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: black;
}

.selected {
  border: 5px solid dodgerblue;
  z-index: 100;
}

#menu {
  position: absolute;
  width: 80%;
  left: 10%;
  bottom: 40px;
  display: flex;
  justify-content: space-evenly;
  padding-top: 20px;
}

#volume {
  display: block;
}

#no_volume {
  display: none;
}

.help-div {
  display: flex;
  flex-direction: row;
  width: 80%;
  justify-content: center;
  margin-bottom: 20px;
}
