body {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Times New Roman', Times, serif;
  font-size: 18px;
  color: #f1f1f1;
  background-color:#be9b7b;
  height: 100vh;
}
@media screen and (max-width: 600px){
  .game-container > .game-wrapper {
    flex-direction: column-reverse;
  }
}

@media screen and (max-width: 768px){
  .input-wrapper > .button-group {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
}

main {
  flex: 1;
}


header, footer{
  background-color: #000;
}

.title-wrapper {
  padding: 32px;
  text-align: center;
}

.rules-wrapper {
  margin: 16px 0px 0px;
}

h1
, h2
, h3 {
  margin: 0;
}

.rules
, .game-wrapper
, .winner {
  width: clamp(300px, calc(42.857px + 80.357vw), 1200px);
}

.rules {
  border-bottom: 2px dashed black;
}
.winner {
  flex-direction: column;
  transition: all 0.5s ease-in allow-discrete;
}



.hidden {
  display: none;
}

.rules > h2 {
  text-align: center;
}

.game-container
, .winner-wrapper
, .rules-wrapper
, .winner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-container
, .winner-wrapper {
  height: 450px;
}

.game-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.game-input-area {
  max-width: 600px;
  flex: 1;

}
.input-wrapper {
  text-align: center;
}

.input-wrapper > h2
, .score-wrapper {
  margin-bottom: 16px;
}

.footer-wrapper {
  text-align: center;
  padding: 32px 16px;
}
.score-wrapper {
  display: flex;
  justify-content: space-between;
}
.score-feed{
  text-align: center;
}

.score-feed > div {
  border-bottom: 1px dashed black;
  margin-bottom: 4px;
}

.score-feed ul {
  list-style-type: none;
  margin: 0;
  border: 2px double #b4b4b4;
  padding: 16px;
  width: 310px;
  height: 111px;
  background-color: rgba(167, 167, 167, 0.5);
}

.score-feed ul > li:not(:last-child){
  border-bottom: 2px solid black;
}
.winner > h2 {
  margin: 0px 0px 8px;
  font-size: 32px
}
.winner > h3 {
  margin: 0px 0px 8px;
  font-size: 24px;
}

#user-score
, #cpu-score {
  font-size: 20px;
  font-weight: 700;
}
#user-score {
  color: #008000;
}

#cpu-score {
  color: #ff0000;
}


.button-group > button {
  padding: 16px 0px;
  background-color: rgba(103, 103, 255, 0.85);
  transition: all 0.1s;
}

.button-group > button:active
, .winner > button:active {
  transform: scale(0.9);
}

.button-group > button
, .winner > button {
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
  transition: all 0.1s;

}

.winner > button {
  background-color: #adff2f;
  padding: 12px 64px;
}

.button-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.button-group > button {
  flex: 1;
}



