* {
  padding: 0;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.header {
  background-color: #172332;
  color: #fff;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  font-weight: 900;
}

section {
  display: flex;
  flex-direction: column;
  flex: 1;
  background-color: #393e46;
  color: #fff;
}

.result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.result h2 {
  font-size: 28px;
  padding: 8px;
  font-weight: 700;
}

.result p {
  font-size: 18px;
  padding: 4px;
  font-weight: 600;
}

.choices {
  display: flex;
  justify-content: space-around;
  padding: 32px 240px;
}

.chosen-choice {
  display: flex;
  justify-content: center;
  padding: 0 36px;
  text-align: center;
}

.hidden-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

#play-again {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  background-color: #4f5560; /* accent color */
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#play-again:hover {
  background-color: #626872;
  transform: scale(1.05);
}

#play-again:active {
  transform: scale(0.98);
}

.choice {
  width: 180px;
  height: auto;
  display: block;
}

#rock,
#paper,
#scissor {
  cursor: pointer;
  border: none;
}

#user-choice,
#computer-choice {
  font-size: 120px;
}

footer {
  background-color: #172332;
  color: #fff;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

footer a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #fff;
}

footer a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

footer a:hover::after {
  transform: scaleX(1);
}
