body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
}

.container {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 2rem;
  color: #2aabee;
}

button {
  font-size: 1rem;
  padding: 10px 20px;
  color: #fff;
  background-color: #2aabee;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #1a8bd9;
}

#game {
  text-align: center;
}

.dice {
  font-size: 50px;
  margin: 20px;
  display: inline-block;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.dice-number-container {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 500;
}

.dice-rolling {
  animation: roll 0.5s infinite;
}

@keyframes roll {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

button {
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  margin-top: 20px;
}

#result {
  margin-top: 20px;
  font-size: 24px;
  font-weight: bold;
}

.hidden {
  display: none !important;
}

#play-again-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

#game.blurred {
  filter: blur(2px);
}

#dice-container {
  display: flex;
}
