html {
  height: 100%;
  width: 100%;
}

body {
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 13px;
  min-height: 100vh;
  box-sizing: border-box;
  width: 100%;
  overscroll-behavior: none;
}

#app {
  width: 100%;
  max-width: 500px;
  border: 1px solid #ccc;
  padding: 13px;
  border-radius: 5px;
  box-sizing: border-box;
}

h2 {
  font-size: 32px;
  margin: 0 0 11px 0;
  line-height: 1.2;
}

label {
  display: block;
  margin: 0;
  font-size: 22px;
  padding: 3px 0;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.2;
}

label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  cursor: pointer;
  flex-shrink: 0;
  vertical-align: middle;
}

@media (max-width: 600px) {
  body {
    padding: 7px;
    margin-top: 0;
  }
  
  #app {
    padding: 10px;
  }
  
  h2 {
    font-size: 32px;
  }
  
  label {
    font-size: 20px;
    padding: 3px 0;
  }
  
  label input[type="checkbox"] {
    width: 25px;
    height: 25px;
  }
  
  button {
    padding: 7px 13px;
    font-size: 21px;
    width: 100%;
  }
}

button {
  margin-top: 11px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 19px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 3px;
}

button:hover {
  background-color: #e9e9e9;
}

button:active {
  background-color: #d9d9d9;
}

.correct {
  padding: 11px;
  border: 1px solid green;
  margin-bottom: 11px;
  font-size: 19px;
}

.wrong {
  padding: 11px;
  border: 1px solid red;
  margin-bottom: 11px;
  font-size: 19px;
}

.clue-image {
  width: 100%;
  margin-top: 8px;
  border-radius: 4px;
}

footer {
  text-align: center;
  margin-top: auto;
  padding: 27px;
  color: #666;
  font-size: 19px;
  width: 100%;
  max-width: 500px;
}

footer p {
  margin: 5px 0;
}

footer a {
  color: #666;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
