* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  background-image: linear-gradient(#1f3756, #141539);
  font-family: "Barlow Semi Condensed", sans-serif;
}

.container {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.score__container {
  margin: 0 1.5rem;
  height: 90px;
  width: 80%;
  padding: 0.7rem;
  border: 3px solid hsl(217, 16%, 45%);
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
}
.score__container .logo {
  height: 70%;
  margin: auto 0;
}
.score__container .score__card {
  height: 4rem;
  width: 4rem;
  border-radius: 5px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
.score__container .score__card .score__label {
  letter-spacing: 1px;
  color: hsl(229, 64%, 46%);
  font-size: 13px;
  font-weight: 700;
}
.score__container .score__card .score {
  color: hsl(229, 25%, 31%);
  font-size: 30px;
  font-weight: 700;
}

.section__choosing {
  height: 38%;
  position: relative;
}
.section__choosing .bg__triangle {
  width: 100%;
  height: 90%;
  display: block;
  margin: 2rem auto;
}
.section__choosing .paper {
  position: absolute;
  height: 8rem;
  width: 8rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: none;
  background-image: linear-gradient(to bottom, hsl(230, 89%, 65%), #183cf2);
  border-radius: 50%;
  filter: drop-shadow(0 5px 0 #0c2cca);
  transition: all 0.3s;
  top: 0;
  transform: translateX(-20%);
}
.section__choosing .paper:hover {
  opacity: 0.8;
}
.section__choosing .paper:active {
  opacity: 0.5;
}
.section__choosing .paper .btn__paper {
  height: 6rem;
  width: 6rem;
  border: none;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: inset 0 5px 0 0 #cccccc;
  cursor: pointer;
}
.section__choosing .scissors {
  position: absolute;
  height: 8rem;
  width: 8rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: none;
  background-image: linear-gradient(to bottom, hsl(40, 84%, 53%), #bc7e0b);
  border-radius: 50%;
  filter: drop-shadow(0 5px 0 #8c5e08);
  transition: all 0.3s;
  top: 0;
  right: 0;
  transform: translateX(20%);
}
.section__choosing .scissors:hover {
  opacity: 0.8;
}
.section__choosing .scissors:active {
  opacity: 0.5;
}
.section__choosing .scissors .btn__scissors {
  height: 6rem;
  width: 6rem;
  border: none;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: inset 0 5px 0 0 #cccccc;
  cursor: pointer;
}
.section__choosing .rock {
  position: absolute;
  height: 8rem;
  width: 8rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: none;
  background-image: linear-gradient(to bottom, hsl(349, 70%, 56%), #b71f3b);
  border-radius: 50%;
  filter: drop-shadow(0 5px 0 #8c182d);
  transition: all 0.3s;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.section__choosing .rock:hover {
  opacity: 0.8;
}
.section__choosing .rock:active {
  opacity: 0.5;
}
.section__choosing .rock .btn__rock {
  height: 6rem;
  width: 6rem;
  border: none;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: inset 0 5px 0 0 #cccccc;
  cursor: pointer;
}

.btn__rules {
  height: 2rem;
  width: 5rem;
  align-self: center;
  letter-spacing: 2px;
  padding: 0 0.7rem;
  text-transform: uppercase;
  border-radius: 5px;
  border: 2px solid white;
  background-color: rgba(0, 0, 0, 0);
  color: #fff;
  cursor: pointer;
}

.rules {
  position: absolute;
  height: 100vh;
  width: 100%;
  inset: 0;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  color: hsl(229, 25%, 31%);
  font-size: 30px;
  font-weight: 900;
  z-index: 20;
  transition: all 2s;
}
.rules .btn__close {
  border: none;
  background-color: #fff;
}
.rules .btn__close:active {
  opacity: 0.5;
}

.section__playing {
  height: 40%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(5, 4rem);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.section__playing .player {
  grid-column: 1/3;
  grid-row: 1/3;
  justify-self: center;
  position: relative;
  height: 10rem;
  width: 10rem;
}
.section__playing .player .rock {
  height: 8rem;
  width: 8rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: none;
  background-image: linear-gradient(to bottom, hsl(349, 70%, 56%), #b71f3b);
  border-radius: 50%;
  filter: drop-shadow(0 5px 0 #8c182d);
  transition: all 0.3s;
  height: 10rem;
  width: 10rem;
}
.section__playing .player .rock .btn__rock {
  height: 6rem;
  width: 6rem;
  border: none;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: inset 0 5px 0 0 #cccccc;
  height: 7.5rem;
  width: 7.5rem;
}
.section__playing .player .paper {
  height: 8rem;
  width: 8rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: none;
  background-image: linear-gradient(to bottom, hsl(230, 89%, 65%), #183cf2);
  border-radius: 50%;
  filter: drop-shadow(0 5px 0 #0c2cca);
  transition: all 0.3s;
  height: 10rem;
  width: 10rem;
}
.section__playing .player .paper .btn__paper {
  height: 6rem;
  width: 6rem;
  border: none;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: inset 0 5px 0 0 #cccccc;
  height: 7.5rem;
  width: 7.5rem;
}
.section__playing .player .scissors {
  height: 8rem;
  width: 8rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: none;
  background-image: linear-gradient(to bottom, hsl(40, 84%, 53%), #bc7e0b);
  border-radius: 50%;
  filter: drop-shadow(0 5px 0 #8c5e08);
  transition: all 0.3s;
  height: 10rem;
  width: 10rem;
}
.section__playing .player .scissors .btn__scissors {
  height: 6rem;
  width: 6rem;
  border: none;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: inset 0 5px 0 0 #cccccc;
  height: 7.5rem;
  width: 7.5rem;
}
.section__playing .player__effect::after {
  position: absolute;
  content: "";
  inset: 0;
  height: 20rem;
  width: 20rem;
  border-radius: 50%;
  background: radial-gradient(#2c3b5a 38%, #293857 38% 50%, #233455 50% 100%);
  z-index: -3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.section__playing .player__choice__label {
  grid-column: 1/3;
  margin-top: 3rem;
  text-align: center;
}
.section__playing .computer {
  grid-column: 5/7;
  grid-row: 1/3;
  justify-self: center;
  position: relative;
  height: 10rem;
  width: 10rem;
  perspective: 300px;
}
.section__playing .computer .computer__card {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  position: relative;
  transition: transform 2s;
  transform-style: preserve-3d;
}
.section__playing .computer .computer__card__flipping {
  transform: rotateY(-180deg);
}
.section__playing .computer .front__card,
.section__playing .computer .back__card {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
  backface-visibility: hidden;
  position: absolute;
}
.section__playing .computer .front__card {
  background-color: hsl(229, 25%, 31%);
}
.section__playing .computer .back__card {
  transform: rotateY(-180deg);
}
.section__playing .computer .rock {
  height: 8rem;
  width: 8rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: none;
  background-image: linear-gradient(to bottom, hsl(349, 70%, 56%), #b71f3b);
  border-radius: 50%;
  filter: drop-shadow(0 5px 0 #8c182d);
  transition: all 0.3s;
  height: 10rem;
  width: 10rem;
}
.section__playing .computer .rock .btn__rock {
  height: 6rem;
  width: 6rem;
  border: none;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: inset 0 5px 0 0 #cccccc;
  height: 7.5rem;
  width: 7.5rem;
}
.section__playing .computer .paper {
  height: 8rem;
  width: 8rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: none;
  background-image: linear-gradient(to bottom, hsl(230, 89%, 65%), #183cf2);
  border-radius: 50%;
  filter: drop-shadow(0 5px 0 #0c2cca);
  transition: all 0.3s;
  height: 10rem;
  width: 10rem;
}
.section__playing .computer .paper .btn__paper {
  height: 6rem;
  width: 6rem;
  border: none;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: inset 0 5px 0 0 #cccccc;
  height: 7.5rem;
  width: 7.5rem;
}
.section__playing .computer .scissors {
  height: 8rem;
  width: 8rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: none;
  background-image: linear-gradient(to bottom, hsl(40, 84%, 53%), #bc7e0b);
  border-radius: 50%;
  filter: drop-shadow(0 5px 0 #8c5e08);
  transition: all 0.3s;
  height: 10rem;
  width: 10rem;
}
.section__playing .computer .scissors .btn__scissors {
  height: 6rem;
  width: 6rem;
  border: none;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: inset 0 5px 0 0 #cccccc;
  height: 7.5rem;
  width: 7.5rem;
}
.section__playing .computer__effect::after {
  position: absolute;
  content: "";
  inset: 0;
  height: 20rem;
  width: 20rem;
  border-radius: 50%;
  background: radial-gradient(#2c3b5a 38%, #293857 38% 50%, #233455 50% 100%);
  z-index: -3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.section__playing .comp__choice__label {
  grid-column: 5/7;
  margin-top: 3rem;
  z-index: 5;
  text-align: center;
}
.section__playing .result {
  grid-column: 1/7;
  margin-top: 3rem;
  text-align: center;
  text-transform: uppercase;
}
.section__playing .result .result__label {
  margin: 1rem;
  font-size: 40px;
  font-weight: 700;
}
.section__playing .result .new__game {
  border-radius: 5px;
  border: none;
  height: 2.5rem;
  width: 8rem;
  font-size: 16px;
  font-weight: 700;
  color: hsl(229, 25%, 31%);
  cursor: pointer;
}

.hidden {
  display: none;
}

.overlay {
  height: 100vh;
  width: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  inset: 0;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  z-index: 10;
}

.attribution {
  font-size: 11px;
  text-align: center;
  background: linear-gradient(#1f3756, #141539);
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

@media (min-width: 1000px) {
  .score__container {
    height: 120px;
    width: 50%;
    padding: 1rem;
  }
  .score__container .logo {
    height: 80%;
  }
  .score__container .score__card {
    height: 5rem;
    width: 6rem;
  }
  .score__container .score__card .score__label {
    font-size: 16px;
  }
  .score__container .score__card .score {
    font-size: 40px;
  }
  .btn__rules {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
  }
  .rules {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 350px;
    width: 350px;
    border-radius: 10px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
  }
  .rules .rules__label {
    position: absolute;
    font-size: 30px;
    top: 1rem;
    left: 1rem;
  }
  .rules .btn__close {
    position: absolute;
    top: 1.5rem;
    right: 1rem;
  }
  .rules .rules__img {
    position: absolute;
    height: 225px;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
  }
  .section__choosing {
    height: 55%;
    width: 400px;
  }
  .section__playing {
    height: 55%;
    transition: all 3s;
  }
  .section__playing .player__choice__label {
    grid-column: 1/3;
    text-align: center;
  }
  .section__playing .comp__choice__label {
    grid-column: 5/7;
    grid-row: 1/2;
  }
  .section__playing .player {
    grid-column: 1/3;
    grid-row: 2/5;
    margin-top: 2rem;
    margin-right: 1rem;
  }
  .section__playing .computer {
    margin-top: 2rem;
    grid-column: 5/7;
    grid-row: 2/5;
  }
  .section__playing .result {
    grid-column: 3/5;
    grid-row: 2/4;
    margin: 0 3rem;
    transition: all 0.5s;
  }
}/*# sourceMappingURL=style.css.map */