/* import google font poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", "sans-serif";
}

/* Game Information Section */
.game-info {
  text-align: center;
  margin-bottom: 20px;
  color: #383819;
  width: 80%;
  max-width: 600px;
}

.game-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #161d08; /* Brighter title */
  margin-top: 150px;
  background: #bbc595;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.game-rules {
  padding: 15px;
  margin-bottom: 40px;
}

.game-rules h2,
.game-rules h3 {
  margin-top: 10px;
  color: #28290e;
}

.game-rules ul {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
}

body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9ee;
  margin-top: 160px;
  margin-bottom: 160px;
  flex-direction: column;
}

.container {
  padding: 2rem 7rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  justify-content: center;
  margin-bottom: 170px;
}

.result_images {
  display: flex;
  column-gap: 7rem;
}

.container.start .user_result {
  transform-origin: left;
  animation: userShake 0.7s ease infinite;
}
@keyframes userShake {
  50% {
    transform: rotate(10deg);
  }
}

.container.start .cpu_result {
  transform-origin: right;
  animation: cpuShake 0.7s ease infinite;
}
@keyframes cpuShake {
  50% {
    transform: rotate(-10deg);
  }
}

.result_images img {
  width: 100px;
}

.user_result img {
  /* transform: rotate(90deg); */
}

.cpu_result img {
  transform: rotate(-180deg) rotateX(180deg);
}

.result {
  text-align: center;
  font-size: 2rem;
  color: #000;
  margin-top: 1.5rem;
}

.option_image img {
  width: 50px;
  transform: rotate(-90deg);
}

.option_images {
  display: flex;
  align-items: center;
  margin-top: 2.5rem;
  justify-content: space-between;
}

.container.start .option_images {
  pointer-events: none;
}

.option_image {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.option_image:hover {
  opacity: 1;
}

.option_image img {
  pointer-events: none;
}

.option_image p {
  color: #000;
  font-size: 1.235rem;
  margin-top: 1rem;
  pointer-events: none;
}

.result_side {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.player_label {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #000;
}

.scoreboard {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 1.5rem;
  color: #000;
}

.player_score,
.ai_score {
  width: 45%;
  text-align: center;
}
