@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

html {
  font-size: 62.5%;
  overflow: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  background-color: #364fc7;
  overflow: hidden;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 5rem;
}

h1 {
  font-size: 4.2rem;
}

.hand-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100vw;
  height: 40rem;
}

.score-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 60vw;
  font-size: 2.4rem;
  font-weight: 600;
  text-transform: uppercase;
}

.points-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 3.6rem;
  font-weight: 600;
  text-transform: uppercase;
}

.option {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 50vw;
  margin-top: 8.4rem;
}

.btn {
  height: 5rem;
  width: 15rem;
  font-size: 1.8rem;
  text-transform: uppercase;
  color: #fff;
  background-color: #364fc7;
  border: 2px solid #fff;
  border-radius: 6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: royalblue;
  color: #fff;
}

.btn:active {
  background-color: rgb(42, 83, 206);
}

.move {
  animation: move 0.4s ease-in-out infinite; /* Increased duration for smoothness */
}

@keyframes move {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(20deg); /* Halfway rotation */
  }
  100% {
    transform: rotate(0deg); /* Back to start smoothly */
  }
}

.margin-b {
  margin-bottom: 2.4rem;
}
