@import url("https://fonts.googleapis.com/css2?family=Varela+Round&display=swap");
:root {
  font-family: 'Varela Round', sans-serif;
  font-size: 16px;
}

*, *::after, *::before {
  margin: 0;
  padding: 0;
  color: #fff;
}

body {
  background: #234;
}

header {
  background: #f99;
  padding: 1.5em;
  -webkit-box-shadow: 0 0 10px #000, inset 0 0 2px black;
          box-shadow: 0 0 10px #000, inset 0 0 2px black;
}

header h1 {
  text-align: center;
}

header h1 a {
  text-decoration: none;
  color: #234;
}

main {
  margin: .5em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

main .score-board {
  border: solid #fff;
  border-radius: 10px;
  font-size: 2.5rem;
  padding: .2em;
  width: 3.5em;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

main .score-board .badge {
  font-size: 1rem;
  background: red;
  position: absolute;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0 0.2em;
}

main .score-board #user-label {
  left: 0;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
}

main .score-board #comp-label {
  right: 0;
  -webkit-transform: translate(60%);
          transform: translate(60%);
}

main .result {
  font-size: 1.5rem;
  text-shadow: 5px 5px 10px #f56060;
  text-transform: capitalize;
  margin-top: 1rem;
  height: 2em;
}

main .result sub {
  font-size: .7rem;
}

main .choices {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

main .choices .choice {
  margin: 1rem;
  border-radius: 50%;
  border: solid #fff;
  cursor: pointer;
  height: 100px;
  width: 100px;
}

main .choices #scissors {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

main #instruction {
  -webkit-animation: animateTextColor 3s infinite;
          animation: animateTextColor 3s infinite;
}

@-webkit-keyframes animateTextColor {
  50% {
    color: red;
  }
}

@keyframes animateTextColor {
  50% {
    color: red;
  }
}

.win {
  -webkit-animation: animateWin .4s;
          animation: animateWin .4s;
}

@-webkit-keyframes animateWin {
  50% {
    background: #0cf00c;
    -webkit-box-shadow: 0 0 30px #ecec82;
            box-shadow: 0 0 30px #ecec82;
    border-color: #0cf00c;
  }
}

@keyframes animateWin {
  50% {
    background: #0cf00c;
    -webkit-box-shadow: 0 0 30px #ecec82;
            box-shadow: 0 0 30px #ecec82;
    border-color: #0cf00c;
  }
}

.lose {
  -webkit-animation: animateLose .4s;
          animation: animateLose .4s;
}

@-webkit-keyframes animateLose {
  50% {
    background: #cc0505;
    -webkit-box-shadow: 0 0 30px black, inset 0 0 10px black;
            box-shadow: 0 0 30px black, inset 0 0 10px black;
    border-color: #cc0505;
  }
}

@keyframes animateLose {
  50% {
    background: #cc0505;
    -webkit-box-shadow: 0 0 30px black, inset 0 0 10px black;
            box-shadow: 0 0 30px black, inset 0 0 10px black;
    border-color: #cc0505;
  }
}

.draw {
  -webkit-animation: animateDraw .4s;
          animation: animateDraw .4s;
}

@-webkit-keyframes animateDraw {
  50% {
    background: #b14f4f;
    border-color: #b14f4f;
  }
}

@keyframes animateDraw {
  50% {
    background: #b14f4f;
    border-color: #b14f4f;
  }
}

@media screen and (max-width: 600px) {
  :root {
    font-size: 11px !important;
  }
  .choice {
    scale: .8;
  }
  #instruction {
    font-size: 1.5rem;
  }
}

@media (max-width: 385px) {
  .choice {
    height: 50px !important;
    width: 50px !important;
    margin: .5rem !important;
  }
  .choice img {
    height: 50px !important;
    width: 50px !important;
  }
}
/*# sourceMappingURL=style.css.map */