body {
  margin: 0;
  font-family: Courier;
  box-sizing: border-box;
}

.background-image {
  background-image: url(images/river-running-through-breathtaking-mountains.jpg);
  height: 100vh;
  height: 100svh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cowboy-container {
position: absolute;
top: 43%;
left: 3%;
}

.cowboy {
  max-width: 83%;
}

.game-container {
  width: 60%;
  margin: auto;
  text-align: center;
}

h1 {
  margin-top: 0;
  margin-bottom: 2rem;
  padding-top: 4rem;
  font-size: 4rem;
}

.speech-bubble {
  margin: auto;
  position: relative;
  padding: 1.2em;
  width: 80%;
  border-radius: 20px;
  background-color: black;
  color: white;
  font-size: 1.1rem;
  line-height: 1.6rem;
}

.display-none {
  display: none;
}

.tri {
  position: absolute;
  border-left: 40px solid black;
  border-top: 10px solid transparent;
  border-bottom: 150px solid transparent;
  top: 80%;
  left: 4%;
  rotate: 30deg;
}

.start-game{
  font-size: 1.9rem;
  font-weight: bold;
  border-radius: 50px;
  border: 5px solid rgb(107, 27, 27);
  background-color: brown;
  margin: 4rem 6rem 1.5rem 6rem;
  padding: 0.4em 1em;
  
}

.reset-button:hover, .play:hover {
  border: 5px solid rgb(105, 19, 19);
  background-color: rgb(163, 26, 26);
  box-shadow: -3.5px -2.5px 10px rgb(0, 0, 0, 0.8);
}

.container-player-moves {
  margin: 4rem auto 2rem auto;
  width: 70%;
  display: none;
  justify-content: space-evenly;
  position: relative;
}

.move-button {
  width: 158px;
  height: 158px;
  border: 3px solid black;
  border-radius: 80px;
}

.move-button-img {
  width: 130px;
 }

.move-button:hover {
border: 3px solid black;
background-color: rgb(218, 165, 32, 0.5);
}

.move-button-img:hover {
  width: 140px;
 }

 .result-score-container {
  position: relative;
 }
 .computer-move-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  margin: 3rem auto 0 auto;
  background-color: papayawhip;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: left;
  display: none;
  align-items: center;
  justify-content: space-evenly;
 }

 .computer-move-image {
  width: 5em;
 }

 .computer-move-text {
  padding-top: 2em;
  padding-bottom: 2em;
 }

.result {
  display: inline-block;
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: papayawhip;
  font-size: 1.4rem;
  font-weight: bold;
  margin: 3rem auto 0 auto;
  white-space: pre;
}

.score {
  display: inline-block;
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: papayawhip;
  font-size: 1.7rem;
  font-weight: bold;
  margin: 2rem auto 0 auto;
  white-space: pre;
}

.winner {
  background-color: black;
  color: white;
  width: 55%;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 2rem auto 1rem auto;
  padding-top: 0.6rem;
}

.replay-button {
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50px;
  border: 5px solid rgb(105, 19, 19);
  background-color: rgb(163, 26, 26);
  margin: 0.8rem 6rem 1.5rem 6rem;
  padding: 0.4em 1em;
}

.replay-button:hover {
  border: 5px solid rgb(107, 27, 27);
  background-color: brown;
}

.info {
  border: 3px solid black;
  background-color: papayawhip;
  height: 30px;
  width: 30px;
  margin: 0;
  font-weight: bold;
  border-radius: 30px;
  font-size: 1.3rem;
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

 .info-container .img-sources {
  position: absolute;
  right: 40px;
  bottom: 40px;
  background-color: papayawhip;
  font-size: 0.8rem;
  padding: 0.8em 1em;
  border: 2px solid black;
  border-radius: 15px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.info-container:hover .img-sources {
  opacity: 1;
}


