@media (max-width: 600px) {
  #logContainer {
    font-size: 8px;
  }

  .choices img {
    width: 70px;
  }
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#heroBox {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  align-self: center;
  width: min(800px, 90vw);
  margin: 32px;
  padding: 20px;
  background: rgba(110, 92, 78, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: rgb(110, 92, 78);
}

#heroHead {
  display: flex;
  flex-flow: column wrap;
}

#howTo {
  display: flex;
  flex-flow: column wrap;
}

.answer {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  font-weight: 900;
  font-size: 42px;
}

.gameUI {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: min(1000px, 90vw);
  height: 750px;
  margin: 48px auto;
  padding: 20px;
  gap: 16px;
  border: 12px solid rgb(110, 92, 78);
  border-radius: 12px;
  box-shadow:
    inset 24px 24px 40px rgba(0, 0, 0, 0.3),
    inset -24px -24px 40px rgba(255, 255, 255, 0.2);
  background-image: url("RPS-Gent.jpg");
  background-size: cover;
  background-position: center;
}

.prompt {
  position: relative;
  align-self: flex-end;
  margin-top: 42px;
  margin-right: 64px;
  padding: 12px 20px;
  max-width: 260px;
  background: rgba(110, 92, 78, 0.22);
  color: rgba(255, 248, 235, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  backdrop-filter: blur(3px);
  text-align: center;
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(-1deg);
}

.buttonRow {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(8px, 4vw, 40px);
}

.choices {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 30%;
  padding: 12px;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.choices:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgb(145, 124, 106);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(222, 184, 135, 0.5);
}

.choices:active {
  transform: scale(0.96);
}
.choices:focus-visible {
  outline: 3px solid rgb(145, 124, 106);
  outline-offset: 4px;
}

.choices img {
  display: block;
  width: 100px;
}

.rock {
  transform: rotate(-4deg);
}

.paper {
  transform: translateY(-10px);
}

.scissors {
  transform: rotate(4deg);
}

#newGame {
  position: static;
  margin-top: auto;
  width: clamp(110px, 18vw, 180px);
  padding: 10px 14px;
  background: rgba(110, 92, 78, 0.22);
  color: rgba(255, 248, 235, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  backdrop-filter: blur(3px);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#newGame:hover {
  transform: translateY(-2px);
  border-color: rgb(145, 124, 106);
  background: rgba(145, 124, 106, 0.42);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.3),
    0 0 10px rgba(222, 184, 135, 0.18);
}

#newGame:active {
  transform: scale(0.97);
}

#newGame:focus-visible {
  outline: 3px solid rgba(222, 184, 135, 0.75);
  outline-offset: 3px;
}

.hidden {
  display: none;
}

#logContainer {
  position: static;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  font-size: 10px;
  width: clamp(110px, 18vw, 180px);
  flex: 1;
  overflow-y: auto;
  padding-bottom: 10px;
}

#logContainer::-webkit-scrollbar {
  width: 10px;
}

#logContainer::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

#logContainer::-webkit-scrollbar-thumb {
  background: rgba(110, 92, 78, 0.8);
  border-radius: 10px;
  border: 2px solid rgba(255, 248, 235, 0.4);
}

#logContainer::-webkit-scrollbar-thumb:hover {
  background: rgba(110, 92, 78, 1);
}

.round-block {
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(1px);
  border-radius: 30%;
  padding: 4px;
  margin-bottom: 4px;
  color: rgb(110, 92, 78);
}

.round-block p {
  text-align: center;
}
