:root {
  color-scheme: light;
  font-family: Georgia, "Times New Roman", serif;
  color: #fff;
  background: #a82724;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: clamp(1rem, 2vw, 2rem) clamp(1.25rem, 4.5vw, 4rem);
}

main {
  max-width: 90rem;
  margin: 0 auto;
}

.heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  row-gap: 0.75rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: 1;
}

button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 0.4rem;
}

#question:hover {
  text-shadow: 3px 3px 0 #00285e;
}

.refresh {
  min-height: 2.75rem;
  color: #00285e;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.3;
}

.refresh:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.answer {
  max-width: 100%;
  margin: clamp(2rem, 4vw, 4rem) 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(4.25rem, 17vw, 15rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.065em;
  text-shadow: clamp(4px, 0.8vw, 12px) clamp(4px, 0.8vw, 12px) 0 #00285e;
  text-wrap: balance;
}

@media (max-width: 35rem) {
  .heading {
    row-gap: 0.5rem;
  }

  .refresh {
    font-size: 1.125rem;
  }
}
