* {
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
}

.ludo-image {
  width: 700px;
  min-width: 700px;
}

.ludo-image img {
  width: 100%;
}

.ludo-game {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
  width: 850px;
  margin: 0 auto;
}

.all-dices {
  padding-right: 50px;
}

.dice-roll {
  width: 100px;
  position: relative;
}

.dice-roll img {
  width: 100%;
  cursor: pointer;
}

.blocker {
  position: absolute;
  background-color: #fdfdfd85;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: none;
}

.displayClass {
  display: none;
}

.player-dice {
  position: absolute;
  width: 50px;
  height: 50px;
  bottom: 12px;
  left: 0;
}

.player-dice img {
  width: 100%;
  height: 100%;
}

.player-dice::after {
  content: "";
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 85%;
  height: 85%;
  z-index: 999;
  background-color: #015c01;
  transform: translate(-50%, -50%);
}

.endGame {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #000000eb;
  left: 0;
  top: 0;
  z-index: 999;
}

.endGameContent {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.endGameContent h2 {
  font-size: 62px;
  padding: 0 50px;
  text-align: center;
}

.endGameContent button {
  font-size: 25px;
  border-radius: 25px;
  margin-top: 25px;
  padding: 10px 100px;
  background-color: gold;
  border: 2px solid gold;
  cursor: pointer;
  transition: ease-in-out 0.3s;
}

.endGameContent button:hover {
  background-color: #fff;
  border: 2px solid gold;
}

.startPage {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #000000e8;
  left: 0;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.startButton {
  background-color: green;
  color: #fff;
  border-radius: 6px;
  padding: 8px 25px;
  margin-top: 20px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: ease-in-out 0.3s;
}

.startButton:hover {
  background-color: seagreen;
}
