@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700&display=swap");
html {
  font-size: 100%;
  box-sizing: border-box;
  height: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  line-height: 1.3;
  margin: auto;
  padding: 0;
  background-image: linear-gradient(to bottom, #1f3756, #141539);
  background-repeat: no-repeat;
  width: 100%;
}

.container {
  margin: auto;
}
.container .score-container {
  margin: 50px 30px;
  display: flex;
  border: 3px solid #606e85;
  padding: 10px 20px;
  border-radius: 10px;
  align-items: flex-start;
  justify-content: space-between;
}
.container .score-container .container {
  margin: 0px;
  text-align: center;
  align-self: flex-end;
  font-family: "Barlow Semi Condensed";
  background-color: #ffffff;
  border-radius: 10px;
  padding: 5px 20px;
}
.container .score-container .container h4 {
  margin: 0;
  color: #2a46c0;
}
.container .score-container .container h1 {
  margin: 0;
}
.container .score-container img {
  width: 100px;
}
.container .versus-container {
  height: 300px;
}
.container .versus-container .game-start {
  display: none;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  margin: 0px 30px;
}
.container .versus-container .game-start .player {
  margin: auto;
  width: 110px;
  height: 110px;
  background-color: #141539;
  border-radius: 50%;
  cursor: pointer;
}
.container .versus-container .game-start .player h4 {
  position: relative;
  top: 100px;
  text-align: center;
  font-family: "Barlow Semi Condensed";
  color: #ffffff;
}
.container .versus-container .game-start .player .paper {
  width: 110px;
  height: 110px;
  padding: 15px;
  border-radius: 50%;
  box-shadow: inset -2px -10px 2px 2px rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(to bottom, #4865f4, #5671f5);
}
.container .versus-container .game-start .player .paper span {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  padding: 20px;
  text-align: center;
  box-shadow: inset 0 5px 2px 2px rgba(0, 0, 0, 0.25);
}
.container .versus-container .game-start .player .paper span img {
  width: 35px;
}
.container .versus-container .game-start .player .scissors {
  box-shadow: inset -2px -10px 2px 2px rgba(0, 0, 0, 0.25);
  width: 110px;
  height: 110px;
  padding: 15px;
  border-radius: 50%;
  background-image: linear-gradient(to bottom, #ec9e0e, #eca922);
}
.container .versus-container .game-start .player .scissors span {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  padding: 20px;
  text-align: center;
  box-shadow: inset 0 5px 2px 2px rgba(0, 0, 0, 0.25);
}
.container .versus-container .game-start .player .scissors span img {
  width: 35px;
}
.container .versus-container .game-start .player .rock {
  width: 110px;
  height: 110px;
  padding: 15px;
  box-shadow: inset -2px -10px 2px 2px rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  background-image: linear-gradient(to bottom, #dc2e4e, #dd405d);
}
.container .versus-container .game-start .player .rock span {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  padding: 20px;
  text-align: center;
  box-shadow: inset 0 5px 2px 2px rgba(0, 0, 0, 0.25);
}
.container .versus-container .game-start .player .rock span img {
  width: 35px;
}
.container .versus-container .game-start .computer {
  margin: auto;
  width: 110px;
  height: 110px;
  background-color: #141539;
  border-radius: 50%;
  cursor: pointer;
}
.container .versus-container .game-start .computer h4 {
  position: relative;
  top: 100px;
  text-align: center;
  font-family: "Barlow Semi Condensed";
  color: #ffffff;
}
.container .versus-container .game-start .computer .paper {
  width: 110px;
  height: 110px;
  padding: 15px;
  animation: rotation 1s backwards;
  border-radius: 50%;
  box-shadow: inset -2px -10px 2px 2px rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(to bottom, #4865f4, #5671f5);
}
.container .versus-container .game-start .computer .paper span {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: rotation 1s backwards;
  padding: 20px;
  text-align: center;
  box-shadow: inset 0 5px 2px 2px rgba(0, 0, 0, 0.25);
}
.container .versus-container .game-start .computer .paper span img {
  width: 35px;
}
.container .versus-container .game-start .computer .scissors {
  box-shadow: inset -2px -10px 2px 2px rgba(0, 0, 0, 0.25);
  width: 110px;
  animation: rotation 1s backwards;
  height: 110px;
  padding: 15px;
  border-radius: 50%;
  background-image: linear-gradient(to bottom, #ec9e0e, #eca922);
}
.container .versus-container .game-start .computer .scissors span {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  padding: 20px;
  text-align: center;
  box-shadow: inset 0 5px 2px 2px rgba(0, 0, 0, 0.25);
}
.container .versus-container .game-start .computer .scissors span img {
  width: 35px;
}
.container .versus-container .game-start .computer .rock {
  width: 110px;
  height: 110px;
  padding: 15px;
  animation: rotation 1s backwards;
  box-shadow: inset -2px -10px 2px 2px rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  background-image: linear-gradient(to bottom, #dc2e4e, #dd405d);
}
.container .versus-container .game-start .computer .rock span {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  padding: 20px;
  text-align: center;
  box-shadow: inset 0 5px 2px 2px rgba(0, 0, 0, 0.25);
}
.container .versus-container .game-start .computer .rock span img {
  width: 35px;
}
@keyframes rotation {
  from {
    transform: rotateX(0);
  }
  to {
    transform: rotateX(359deg);
  }
}
.container .versus-container .weapon {
  min-height: 400px;
  background-image: url("../images/bg-triangle.svg");
  background-repeat: no-repeat;
  background-size: 300px;
  background-position: center;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  transition: all 0.3s;
  min-height: 400px;
  cursor: pointer;
}
.container .versus-container .weapon .paper {
  margin-top: 50px;
  grid-column-start: 2;
  grid-column-end: 2;
  width: 110px;
  height: 110px;
  padding: 15px;
  border-radius: 50%;
  box-shadow: inset -2px -10px 2px 2px rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(to bottom, #4865f4, #5671f5);
}
.container .versus-container .weapon .paper span {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  padding: 20px;
  text-align: center;
  box-shadow: inset 0 5px 2px 2px rgba(0, 0, 0, 0.25);
}
.container .versus-container .weapon .paper span img {
  width: 35px;
}
.container .versus-container .weapon .scissors {
  margin-top: 50px;
  box-shadow: inset -2px -10px 2px 2px rgba(0, 0, 0, 0.25);
  grid-column-start: 4;
  grid-column-end: 4;
  width: 110px;
  height: 110px;
  padding: 15px;
  border-radius: 50%;
  background-image: linear-gradient(to bottom, #ec9e0e, #eca922);
}
.container .versus-container .weapon .scissors span {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  padding: 20px;
  text-align: center;
  box-shadow: inset 0 5px 2px 2px rgba(0, 0, 0, 0.25);
}
.container .versus-container .weapon .scissors span img {
  width: 35px;
}
.container .versus-container .weapon .rock {
  grid-column-start: 3;
  grid-column-end: 3;
  margin-top: 30px;
  width: 110px;
  height: 110px;
  padding: 15px;
  box-shadow: inset -2px -10px 2px 2px rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  background-image: linear-gradient(to bottom, #dc2e4e, #dd405d);
}
.container .versus-container .weapon .rock span {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  padding: 20px;
  text-align: center;
  box-shadow: inset 0 5px 2px 2px rgba(0, 0, 0, 0.25);
}
.container .versus-container .weapon .rock span img {
  width: 35px;
}
.container .result-container {
  font-family: "Barlow Semi Condensed";
  margin: 0px 100px;
  display: none;
}
.container .result-container h1 {
  color: #ffffff;
  font-size: 25px;
  text-align: center;
  margin: 10px;
}
.container .result-container .play-again {
  background-color: #ffffffff;
  font-size: 20px;
  margin: auto;
  width: 150px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
}
.container .result-container .play-again h6 {
  padding: 10px;
}
.container .rules-container {
  font-family: "Barlow Semi Condensed";
  display: flex;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  color: #ffffffff;
  font-size: 20px;
  border: 3px solid #606e85;
  margin: 100px auto;
  width: 150px;
  padding: 13px 30px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 50px;
}
.container .rules {
  display: flex;
  justify-content: center;
  align-items: center;
}
.container .rules .show-rules {
  position: fixed;
  height: 400px;
  background: #ffffff;
  padding: 20px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  padding-top: 50px;
  margin: 100px 30px auto;
  transition: opacity 0.1s ease;
  text-align: center;
  border-radius: 10px;
}
.container .rules .active {
  opacity: 3;
  pointer-events: all;
}
.container .rules .active .fa-times {
  padding-top: 20px;
  font-size: 30px;
  color: #ccc;
  display: block;
}

@media all and (min-width: 640px) {
  .container .score-container {
    padding: 15px 30px;
    max-width: 700px;
    margin: 30px auto;
    margin-bottom: 0px;
  }
  .container .score-container .container {
    padding: 20px 30px;
  }
  .container .score-container h4 {
    font-size: 20px;
  }
  .container .score-container h1 {
    font-size: 40px;
  }
  .container .score-container img {
    width: 180px;
  }
  .container .versus-container {
    margin: auto;
  }
  .container .versus-container .game-start {
    padding-top: 50px;
  }
  .container .versus-container .game-start .player {
    width: 180px;
    height: 180px;
  }
  .container .versus-container .game-start .player h4 {
    position: relative;
    top: 160px;
    font-size: 20px;
    text-align: center;
    font-family: "Barlow Semi Condensed";
    color: #ffffff;
  }
  .container .versus-container .game-start .player .paper {
    width: 180px;
    height: 180px;
  }
  .container .versus-container .game-start .player .paper span {
    width: 150px;
    height: 150px;
    padding-top: 40px;
  }
  .container .versus-container .game-start .player .paper span img {
    width: 80px;
    height: 80px;
  }
  .container .versus-container .game-start .player .scissors {
    width: 180px;
    height: 180px;
  }
  .container .versus-container .game-start .player .scissors span {
    width: 150px;
    height: 150px;
    padding-top: 40px;
  }
  .container .versus-container .game-start .player .scissors span img {
    width: 80px;
    height: 80px;
  }
  .container .versus-container .game-start .player .rock {
    width: 180px;
    height: 180px;
  }
  .container .versus-container .game-start .player .rock span {
    width: 150px;
    height: 150px;
    padding-top: 40px;
  }
  .container .versus-container .game-start .player .rock span img {
    width: 80px;
    height: 80px;
  }
  .container .versus-container .game-start .computer {
    width: 180px;
    height: 180px;
  }
  .container .versus-container .game-start .computer h4 {
    position: relative;
    top: 160px;
    font-size: 19px;
    text-align: center;
    font-family: "Barlow Semi Condensed";
    color: #ffffff;
  }
  .container .versus-container .game-start .computer .paper {
    width: 180px;
    height: 180px;
  }
  .container .versus-container .game-start .computer .paper span {
    width: 150px;
    height: 150px;
    padding-top: 40px;
  }
  .container .versus-container .game-start .computer .paper span img {
    width: 80px;
    height: 80px;
  }
  .container .versus-container .game-start .computer .scissors {
    width: 180px;
    height: 180px;
  }
  .container .versus-container .game-start .computer .scissors span {
    width: 150px;
    height: 150px;
    padding-top: 40px;
  }
  .container .versus-container .game-start .computer .scissors span img {
    width: 80px;
    height: 80px;
  }
  .container .versus-container .game-start .computer .rock {
    width: 180px;
    height: 180px;
  }
  .container .versus-container .game-start .computer .rock span {
    width: 150px;
    height: 150px;
    padding-top: 40px;
  }
  .container .versus-container .game-start .computer .rock span img {
    width: 80px;
    height: 80px;
  }
  .container .versus-container .weapon {
    margin-top: 20px;
    background-size: 400px;
    margin-bottom: 400px;
  }
  .container .versus-container .weapon .paper {
    margin-top: 0;
    margin-right: 0px;
    margin-bottom: 50px;
    width: 180px;
    height: 180px;
  }
  .container .versus-container .weapon .paper span {
    width: 150px;
    height: 150px;
    padding-top: 40px;
  }
  .container .versus-container .weapon .paper span img {
    width: 80px;
    height: 80px;
  }
  .container .versus-container .weapon .scissors {
    margin-top: 0;
    margin-bottom: 50px;
    width: 180px;
    height: 180px;
  }
  .container .versus-container .weapon .scissors span {
    width: 150px;
    height: 150px;
    padding-top: 40px;
  }
  .container .versus-container .weapon .scissors span img {
    width: 80px;
    height: 80px;
  }
  .container .versus-container .weapon .rock {
    margin-top: 50px;
    width: 180px;
    height: 180px;
  }
  .container .versus-container .weapon .rock span {
    width: 150px;
    height: 150px;
    padding-top: 40px;
  }
  .container .versus-container .weapon .rock span img {
    width: 80px;
    height: 80px;
  }
  .container .result-container h1 {
    font-size: 80px;
    margin-bottom: 0px;
  }
  .container .result-container .play-again {
    margin-top: 0px;
    font-size: 35px;
    width: 250px;
    position: relative;
    bottom: 30px;
  }
  .container .rules-container {
    float: right;
    text-align: center;
    margin: 0px;
    margin-right: 50px;
    margin-top: 100px;
  }
}
@media all and (min-width: 1100px) {
  .container .versus-container .game-start {
    margin: 0px 200px;
  }
  .container .versus-container .weapon .paper {
    margin-left: 100px;
  }
  .container .versus-container .weapon .scissors {
    margin-right: 100px;
  }
  .container .versus-container .weapon .rock {
    margin-left: 30px;
  }
}