body {
  background-color: black;
  color: white;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 90vh;
  max-width: 100vw;
  overflow-x: hidden;
}
.hidden {
  display: none !important;
  visibility: hidden;
}
a {
  color: darkorange;
  font-size: 24px;
  margin-bottom: 50px;
}
.userscore, .compscore, .tiescore, b {
  animation: blink 3s infinite;
  color: darkorange;
  font-weight: 900;
  font-size: 34px;
}
@keyframes blink {
  50% {
      opacity: 0.1;
  }
}
.rule {
  position: absolute;
  width: 30%;
  height: 40%;
  top: 30%;
  left: 35%;
  padding: 1%;
  border: 3px solid darkorange;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  font-style: italic;
  font-weight: 900;
  opacity: 100;
  pointer-events: all !important;
}
.ok {
  text-align: center;
}
.time {
  color: white;
}
.dimm {
  opacity: 0.15;
  pointer-events: none;
}
.starter {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5% 4%;
  width: 33%;
  height: 60%;
  border: 3px solid darkorange;
  border-top-right-radius: 80px;
  border-bottom-left-radius: 80px;
}
.finishgame {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5% 4%;
  width: 33%;
  height: 60%;
  border: 3px solid darkorange;
  border-top-right-radius: 80px;
  border-bottom-left-radius: 80px;
}
.scoreUpdate {
  font-size: 24px;
  margin-bottom: 2%;
}
h2 {
  font-size: 3rem;
  margin-bottom: 60px;
  text-align: center;
}
.gameCont {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5%;
  width: 30%;
  height: 70%;
  border: 3px solid darkorange;
  border-radius: 20px;
}
h1 {
  margin-bottom: 50px;
}
.finishscore {
  font-size: 4rem;
}

.emoji {
  height: 40px;
  width: 40px;
  background-color: black;
  border-radius: 50%;
}
.bttn-img {
  padding: 30px;
  border-radius: 50%;
  background-color: black;
  border: 5px solid white;
  margin-right: 30px;
}
.reset-button, .okbtn, .restart-button, .playagain-button {
  padding: 6px 20px;
  background-color: white;
  color: black;
  font-size: 16px;
  font-weight: 800;
  border-radius: 10px;
}
.strtgame {
  padding: 20px 30px;
  background-color: white;
  color: black;
  font-size: 18px;
  font-weight: 800;
  border-radius: 10px;
}
.rules {
  font-size: 18px;
}
.click {
  font-size: 22px;
  color: darkorange !important;
  border: none !important;
  background: transparent !important;
  margin-bottom: 30px;
}
.playerhand {
  transform-origin: center;
  transform: rotateY(180deg) rotate(270deg);
  margin-left: 40px;
  width: 60px;
  height: 60px;
}
.playeranimate {
  animation: playeraction 2s ease;
}
.computeranimate {
  animation: computeraction 2s ease;
}
.computerhand {
  transform: rotate(270deg);
  width: 60px;
  height: 60px;
}
.score {
  font-size: 40px;
  margin-bottom: 10px;
}

.choices {
  font-size: 24px;
  text-align: center;
  margin-bottom: 50px;
}
.redText {
  color: darkred;
}
.yellowText {
  color: gold;
}
.greenText {
  color: green;
}

@keyframes playeraction {
  0% {
    transform: rotateY(180deg) rotate(270deg) translateX(0px);
  }
  15% {
    transform: rotateY(180deg) rotate(270deg) translateX(-50px);
  }
  30% {
    transform: rotateY(180deg) rotate(270deg) translateX(0px);
  }
  45% {
    transform: rotateY(180deg) rotate(270deg) translateX(-50px);
  }
  60% {
    transform: rotateY(180deg) rotate(270deg) translateX(0px);
  }
  75% {
    transform: rotateY(180deg) rotate(270deg) translateX(-50px);
  }
  90% {
    transform: rotateY(180deg) rotate(270deg) translateX(0px);
  }
  100% {
    transform: rotateY(180deg) rotate(270deg) translateX(-50px);
  }
}
@keyframes computeraction {
  0% {
    transform: rotate(270deg) translateX(0px);
  }
  15% {
    transform: rotate(270deg) translateX(-50px);
  }
  30% {
    transform: rotate(270deg) translateX(0px);
  }
  45% {
    transform: rotate(270deg) translateX(-50px);
  }
  60% {
    transform: rotate(270deg) translateX(0px);
  }
  75% {
    transform: rotate(270deg) translateX(-50px);
  }
  90% {
    transform: rotate(270deg) translateX(0px);
  }
  100% {
    transform: rotate(270deg) translateX(-50px);
  }
}
@media screen and (max-width: 600px) {
  .starter, .gameCont, .finishgame {
    width: 90%;
    height: 100%;
    border: none;
  }
  .rule {
    width: 80%;
    height: 40%;
    left: 10%;
  }
  .rules {
    padding: 10% 0px;
    text-align: center;
  }
  .strtgame {
    padding: 10px 15px;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .btns {
    display: flex;
    flex-direction: column;
    gap: 20px !important;
  }
  .finishbtns {
    display: flex;
    flex-direction: column;
    gap: 20px !important;
  }
  .score {
    font-size: 2rem;
  }
  .playerhand {
    margin-left: 2%;
    width: 40px;
    height: 40px;
  }
  .computerhand {
    width: 40px;
    height: 40px;
    margin-left: 2%;
  }
  .choices {
    font-size: 1.3rem;
    width: 90%;
  }
  .scoremarks {
    font-size: 22px;
  }
  .finishscore {
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 900px) and (min-width: 601px) {
  .starter, .gameCont, .finishgame {
    width: 100%;
    height: 100%;
    border: none;
  }
  .rule {
    width: 60%;
    height: 35%;
    left: 17%;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 3rem;
  }
  .rules {
    font-size: 22px;
  }
  .click {
    font-size: 26px !important;
  }
  .btns {
    display: flex;
    justify-content: space-around;
  }
  .score {
    font-size: 3rem;
  }
  .playerhand {
    margin-left: 2%;
    width: 50px;
    height: 50px;
  }
  .computerhand {
    width: 50px;
    height: 50px;
    margin-left: 2%;
  }
  .choices {
    font-size: 2rem;
    width: 100%;
  }
  .scoremarks {
    font-size: 2rem;
  }
  .finishscore {
    font-size: 3.5rem;
  }
}
@media screen and (max-width: 1000px) and (min-width: 901px) {
  
  .starter, .gameCont, .finishgame {
    width: 80%;
    height: 70%;
  }
  .rule {
    width: 60%;
    height: 35%;
    left: 17%;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 3rem;
  }
  .rules {
    font-size: 22px;
  }
  .click {
    font-size: 26px !important;
  }
  .btns {
    display: flex;
    justify-content: space-around;
  }
  .score {
    font-size: 3rem;
  }
  .playerhand {
    margin-left: 2%;
    width: 50px;
    height: 50px;
  }
  .computerhand {
    width: 50px;
    height: 50px;
    margin-left: 2%;
  }
  .choices {
    font-size: 2rem;
    width: 100%;
  }
  .scoremarks {
    font-size: 2rem;
  }
  .finishscore {
    font-size: 3.5rem;
  }
}
@media screen and (max-width: 1440px) and (min-width: 1001px) {
  
  .starter, .gameCont, .finishgame {
    width: 60%;
    height: 80%;
  }
  .rule {
    width: 60%;
    height: 35%;
    left: 17%;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 3rem;
  }
  .rules {
    font-size: 22px;
  }
  .click {
    font-size: 26px !important;
  }
  .btns {
    display: flex;
    justify-content: space-around;
  }
  .score {
    font-size: 3rem;
  }
  .scoremarks {
    font-size: 2rem;
  }
  .finishscore {
    font-size: 3.5rem;
  }
}