@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(at top, hsl(214, 47%, 23%), hsl(237, 49%, 15%));
  height: 100vh;
  font-family: Barlow Semi Condensed;
}
.choices {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 35px;
  width: 100%;
  height: 70%;
  position: relative;
}
.choices_child {
  display: flex;
  justify-content: center;
  width: 300px;
  height: 278px;
  position: relative;
}
.tri {
  z-index: -1;
}
.cards {
  width: 170px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 20px solid;
  background-color: white;
  /* box-shadow: 1px 1px 10px 75px gray, 0 0 0 175px gray, 0 0 0 250px gray; */
  box-shadow: inset -4px 4px 10px 7px rgb(0 0 0 / 50%);
  padding: 10px;
  display: flex;
  top: 0;
  left: 0;
  position: absolute;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
@keyframes cards {
  100% {
    top: 45px;
    left: -120px;
  }
}
.cards.rock {
  top: 100px;
  left: 70px;
  border-color: red;
}
.cards.paper {
  top: -65px;
  left: -42px;
  border-color: blue;
}

.cards.scissors {
  top: -65px;
  left: 190px;
  border-color: goldenrod;
}

.info {
  line-height: 0.8;
  max-width: 80%;
  margin: 0 auto;
  padding: 8px 15px;
  margin-top: 25px;
  border: 3px solid hsl(217, 16%, 45%);
  border-radius: 20px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.info .score {
  background: #f9f9f9;
  color: hsl(229, 64%, 46%);
  letter-spacing: 0.5px;
  border-radius: 10px;
  width: 120px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}
.info .score span {
  display: block;
  font-size: 70px;
}
.background {
  z-index: -2;
  width: 130px;
  background: #0000003e;
  border: none;
  box-shadow: none;
  top: 45px;
  left: 285px;
}

.cards.picked {
  top: 33px;
  left: 285px;
}
.player,
.house {
  color: white;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.text {
  display: flex;
  font-size: 10px;
  font-weight: 400;
  gap: 244px;
  position: absolute;
  right: -164px;
  top: -31px;
  width: max-content;
}
.win {
  width: 75%;
  position: absolute;
  z-index: 1;
  height: 77%;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  left: 54px;
}
.win button {
  width: 85%;
  padding: 16px;
  border-radius: 10px;
  border: none;
  color: #ce3c59;
  text-transform: uppercase;
  align-self: center;
  left: 55px;
}
.win span {
  width: 85%;
  font-size: 48px;
  align-self: center;
  color: #fffefe;
}
@media (max-width: 991px) {
  .cards.rock {
    top: 130px;
    left: 80px;
  }
  .cards.paper {
    left: -10px;
  }
  .cards.scissors {
    left: 170px;
  }
  .cards {
    width: 150px;
    border-width: 15px;
  }
  .cards.picked,
  .background {
    left: 160px;
    top: 45px;
  }
  .win {
    bottom: -130px;
    left: auto;
  }

  .text {
    font-size: 7px;
    gap: 54px;
    right: -21px;
  }
  .choices {
    margin-top: 2px;
  }
  .info {
    max-width: fit-content;
  }
  @keyframes cards {
    100% {
      top: 45px;
      left: -10px;
    }
  }
}
