#hand {
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-46%, -50%);
}

.buttons img, .buttons input {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
  border: 2px solid rgb(230, 230, 230);
  border-radius: 10px;
}

.buttons img {
  height: 100px;
}

.buttons input {
  margin-bottom: 20px;
  background-color: transparent;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 100;
  font-size: 20px;
  padding-left: 20px;
  padding-right: 20px;
  border: 2px solid #E6E6E6;
}

.buttons {
  text-align: center;
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* Ensure the buttons are on top */
  border-radius: 10px; /* Optional: Add rounded corners */
}

.enlarged {
  z-index: 100; /* Ensures the enlarged image is on top */
  transition: all 0.3s ease-in-out; /* Smooth transition */
  max-width: 200px; /* Set maximum width for enlarged image */
  max-height: 200px; /* Set maximum height for enlarged image */
}

/*animation*/
@keyframes popOutMove {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.cardContainer {
  animation: popOutMove 1s ease-in-out;
  position: absolute;
  z-index: 10; /* Start with a base z-index */
}
