:root {
  --Scissors-Gradient: hsl(39, 89%, 49%);
  --Paper-Gradient: hsl(230, 89%, 62%);
  --Rock-Gradient: hsl(349, 71%, 52%);
  --Lizard-Gradient: hsl(261, 73%, 60%);
  --Cyan: hsl(189, 59%, 53%) to hsl(189, 58%, 57%);

  --Dark-Text: hsl(229, 25%, 31%);
  --Score-Text: hsl(229, 64%, 46%);
  --Header-Outline: hsl(217, 16%, 45%);
  --Radial-Gradient: hsl(214, 47%, 23%) to hsl(237, 49%, 15%);
  --outline1widthP: 0px;
  --outline2widthP: 0px;
  --outline1widthB: 0px;
  --outline2widthB: 0px;
}

body {
  font-family: "Barlow Semi Condensed", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: radial-gradient(
    at top,
    hsl(214, 47%, 23%),
    hsl(237, 49%, 15%)
  );
  overflow: hidden;
}
.wrapper {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  align-items: center;
}
.content {
  display: flex;
  width: 80dvw;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.header {
  display: flex;
  width: 65%;
  outline: 3px var(--Header-Outline) solid;
  border-radius: 20px;
  margin-top: 30px;
}
.head-text {
  margin-left: 30px;
  text-transform: uppercase;
  color: white;
}

.score {
  border-radius: 20px;
  margin: 20px;
  height: 120px;
  width: 180px;
  background-color: white;
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.score h2 {
  font-weight: 300;
  color: var(--Score-Text);
  margin-top: 6px;
}
#score {
  color: var(--Dark-Text);
  font-size: 30px;
}

#symbolSelect {
  width: 400px;
  height: 400px;
  min-width: 400px;
  background-image: url(images/bg-triangle.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 300px;
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.symbolTop {
  display: flex;
  justify-content: space-between;
}
#paper {
  cursor: pointer;
  background-color: white;
  height: 120px;
  width: 120px;
  border-radius: 50%;
  background-image: url(images/icon-paper.svg);
  background-size: 60px;
  background-repeat: no-repeat;
  background-position: center;
  outline: 10px var(--Paper-Gradient) solid;
  align-self: flex-start;
  justify-self: flex-start;
}
#rock {
  cursor: pointer;
  background-color: white;
  height: 120px;
  width: 120px;
  border-radius: 50%;
  background-image: url(images/icon-rock.svg);
  background-size: 60px;
  background-repeat: no-repeat;
  background-position: center;
  outline: 10px var(--Rock-Gradient) solid;
  justify-self: center;
  align-self: center;
}
#scissor {
  cursor: pointer;
  background-color: white;
  height: 120px;
  width: 120px;
  border-radius: 50%;
  background-image: url(images/icon-scissors.svg);
  background-size: 60px;
  background-repeat: no-repeat;
  background-position: center;
  outline: 10px var(--Scissors-Gradient) solid;
  justify-self: flex-end;
  align-self: flex-start;
}
#paper:hover {
  outline: 10px hsl(230, 94%, 51%) solid;
}
#rock:hover {
  outline: 10px hsl(0, 84%, 25%) solid;
}
#scissor:hover {
  outline: 10px hsl(40, 55%, 38%) solid;
}

#symbolSelected {
  margin-top: 30px;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  width: 80%;
  display: none;
}
.left {
  display: flex;
  flex-direction: column;
  color: white;
  font-size: 25px;
  display: flex;
  align-items: center;
}
#middle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  display: none;
}
#resultText {
  color: white;
  text-align: center;
  font-size: 50px;
}
#again {
  cursor: pointer;
  background-color: white;
  border-radius: 10px;
  padding: 10px;
  margin-top: 30px;
  text-align: center;
  margin-left: 20px;
  margin-right: 20px;
}
#again:hover {
  outline: 2px rgb(255, 0, 0) solid;
}
.right {
  align-items: center;

  display: flex;
  flex-direction: column;
  color: white;
  font-size: 25px;
  display: flex;
  justify-content: space-around;
}
#userSelect {
  margin-top: 50px;
  background-color: white;
  height: 180px;
  width: 180px;
  border-radius: 50%;
  background-size: 90px;
  background-repeat: no-repeat;
  background-position: center;
  outline: 10px var(--Scissors-Gradient) solid;
}
#userSelect::before {
  content: "";
  position: absolute;
  height: 180px;
  width: 180px;
  z-index: -1;
  border-radius: 50%;
  outline: var(--outline1widthP) rgba(255, 255, 255, 0.151) solid;
}
#userSelect::after {
  content: "";
  position: absolute;
  height: 180px;
  width: 180px;
  z-index: -2;
  border-radius: 50%;
  outline: var(--outline2widthP) rgba(255, 255, 255, 0.151) solid;
}
#botSelect {
  margin-top: 50px;
  background-color: rgba(0, 0, 0, 0.226);
  height: 180px;
  width: 180px;
  border-radius: 50%;
  background-size: 90px;
  background-repeat: no-repeat;
  background-position: center;
}
#botSelect::before {
  content: "";
  position: absolute;
  height: 180px;
  width: 180px;
  z-index: -1;
  border-radius: 50%;
  outline: var(--outline1widthB) rgba(255, 255, 255, 0.151) solid;
}
#botSelect::after {
  content: "";
  position: absolute;
  height: 180px;
  width: 180px;
  z-index: -2;
  border-radius: 50%;
  outline: var(--outline2widthB) rgba(255, 255, 255, 0.151) solid;
}
.footer {
  font-weight: 300;
  color: white;
  margin-top: auto;
  align-self: flex-end;
  justify-self: flex-end;
}
#rules {
  cursor: pointer;
  margin-bottom: 30px;
  margin-right: 30px;
  outline: 1px rgba(255, 255, 255, 0.404) solid;
  padding: 7px;
  border-radius: 10px;
}

#rulesOverlay {
  position: fixed;
  z-index: 1;
  width: 0;
  background-color: rgba(0, 0, 0, 0.336);
  overflow-x: hidden;
  height: 200vmax;
  display: flex;
  justify-content: center;
  align-items: center;
}
.overlayBox {
  width: 30%;
  height: 500px;
  min-width: 500px;
  background-color: white;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.rulesTop {
  display: flex;
}
.rulesText {
  color: var(--Dark-Text);
  margin-left: 14px;
  margin-top: 3px;
  font-size: 45px;
  text-transform: uppercase;
}
.rulesImg {
  margin-top: 50px;
}
.rulesImg img {
  height: 340px;
}
#close {
  cursor: pointer;
  margin-left: auto;
}
#close img {
  width: 30px;
  margin-top: 14px;
  margin-right: 10px;
}

@media only screen and (max-width: 668px) {
  .header {
    width: fit-content;
    outline: 3px var(--Header-Outline) solid;
    border-radius: 10px;
    margin-top: 30px;
  }
  .head-text {
    margin-left: 30px;
  }

  .score {
    justify-self: flex-end;
    align-self: flex-end;
    border-radius: 10px;
    margin: 20px;
    height: 120px;
    width: 120px;
  }
  .score h2 {
    font-weight: 300;
    margin-top: 6px;
  }
  #score {
    font-size: 30px;
  }

  #symbolSelect {
    width: 300px;
    height: 300px;
    min-width: 200px;
    background-size: 200px;
    margin-top: 100px;
  }
  .symbolTop {
    display: flex;
    justify-content: space-between;
  }
  #paper {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    background-size: 50px;
    outline: 10px var(--Paper-Gradient) solid;
  }
  #rock {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    background-size: 50px;
    outline: 10px var(--Rock-Gradient) solid;
  }
  #scissor {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    background-size: 50px;
    outline: 10px var(--Scissors-Gradient) solid;
  }
  #rulesOverlay {
    position: fixed;
    z-index: 1;
    width: 0;
    background-color: rgba(0, 0, 0, 0.336);
    overflow-x: hidden;
    height: 200vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .overlayBox {
    width: 30%;
    height: 400px;
    min-width: 300px;
    border-radius: 20px;
  }
  .rulesTop {
    display: flex;
  }
  .rulesText {
    margin-left: 14px;
    margin-top: 3px;
    font-size: 45px;
  }
  .rulesImg {
    margin-top: 50px;
  }
  .rulesImg img {
    height: 240px;
  }
  #close {
    margin-left: auto;
  }
  #close img {
    width: 30px;
    margin-top: 14px;
    margin-right: 10px;
  }
  #symbolSelected {
    margin-top: 30px;
    display: flex;
    width: 400px;
    display: none;
  }
  .left {
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 25px;
    display: flex;
    align-items: center;
  }
  #middle {
    display: flex;
    flex-direction: column;
    display: none;
  }
  #resultText {
    color: white;
    text-align: center;
    font-size: 20px;
  }
  #again {
    cursor: pointer;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    margin-top: 30px;
    text-align: center;
  }
  #again:hover {
    outline: 2px rgb(255, 0, 0) solid;
  }
  .right {
    align-items: center;

    display: flex;
    flex-direction: column;
    color: white;
    font-size: 25px;
    display: flex;
    justify-content: space-around;
  }
  #userSelect {
    margin-top: 20px;
    background-color: white;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: center;
    outline: 10px var(--Scissors-Gradient) solid;
  }
  #userSelect::before {
    content: "";
    position: absolute;
    height: 100px;
    width: 100px;
    z-index: -1;
    border-radius: 50%;
    outline: var(--outline1widthP) rgba(255, 255, 255, 0.151) solid;
  }
  #userSelect::after {
    content: "";
    position: absolute;
    height: 100px;
    width: 100px;
    z-index: -2;
    border-radius: 50%;
    outline: var(--outline2widthP) rgba(255, 255, 255, 0.151) solid;
  }
  #botSelect {
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.226);
    height: 100px;
    width: 100px;
    border-radius: 50%;
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: center;
  }
  #botSelect::before {
    content: "";
    position: absolute;
    height: 100px;
    width: 100px;
    z-index: -1;
    border-radius: 50%;
    outline: var(--outline1widthB) rgba(255, 255, 255, 0.151) solid;
  }
  #botSelect::after {
    content: "";
    position: absolute;
    height: 100px;
    width: 100px;
    z-index: -2;
    border-radius: 50%;
    outline: var(--outline2widthB) rgba(255, 255, 255, 0.151) solid;
  }
}
