/* Container for flexboxes */
.row {
  display: flex;
  flex-wrap: wrap;
}

/* Create four equal columns */
.column {
  flex: 25%;
  padding: 20px;
}

/* On screens that are 992px wide or less, go from four columns to two columns */
@media screen and (max-width: 992px) {
  .column {
    flex: 50%;
  }
}

/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .row {
    flex-direction: column;
  }
}

body {
  background: linear-gradient(to bottom, #faa613, #ffd966);
  color: #3c3c3c;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}
h1 {
  text-transform: uppercase;
  font-size: 2em;
  font-weight: bold;
  color: #f6f5ae;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

.restartGameButton {
  width: 200px;
  height: 60px;
  font-size: 20px;
  color: #d8f793;
  background-color: #143642;
  border: none;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 8px;
}

.restartGameButton:hover {
  background-color: #d8f793;
  color: #143642;
}

.imageButton {
  margin: 50px;
  transition: transform 0.3s ease;
  border: 2px solid rgb(218, 229, 157);
  background-color: #d8f793;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.imageButton:hover {
  transform: scale(1.5);
  cursor: pointer;
}

img {
  width: 100px;
  height: 100px;
  margin-right: 10px;
}

.game-state {
  width: 100%;
  height: auto;
}

.results,
.playerScoreElement,
.computerScoreElement,
.winnerDeclaration {
  text-align: center;
  font-size: larger;
  margin: 10px;
  font-weight: bold;
}

.playerScoreElement,
.computerScoreElement {
  color: #143642;
}

.winnerDeclaration {
  text-transform: uppercase;
  font-size: 2em;
  font-weight: bold;
  color: #f15156;
  font-size: x-large;
  padding: 15px;
}

.robot {
  width: 200px;
  height: auto;
}

.robot:hover {
  transform: scale(1.2);
}
.robot-container {
  position: relative;
  display: inline-block;
}

.robot-hover-text {
  position: absolute;
  top: 10%;
  left: 100%;
  transform: translate(5px, -50%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  background-color: #d8f793;
}

.robot-container:hover .robot-hover-text {
  opacity: 1;
}

.footer {
  color: #143642;
  text-align: center;
  padding: 10px;
  bottom: 0;
  width: 100%;
}

.footer a {
  color: #143642;
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
  background-color: #d8f793;
}
