body {
  padding: 15vmax 2rem 200px;
  max-width: 35rem;
  margin: 0 auto;
  background-image: var(--digiwalk-background);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
}

html {
  font-family: sans-serif;
  font-size: 20px;
}

img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 45rem;
}

.width-50 {
  width: 50%;
  margin: 0 auto;
}

.rounded-corners img {
  box-shadow: inset 0px 0px 2px 2px rgba(255,255,255,1);
  border-radius: 1em;
}

.centered {
  text-align: center;
}

div.puzzle {
  margin-top: 2em;
  text-align: center;
  font-size: 1.5rem;
}

.puzzle input {
  min-width: 20%;
}

.puzzle #puzzle_wrong { color: red; }
.puzzle #puzzle_hint { color: yellow; }
.puzzle #puzzle_solution { color: blue; }

.puzzle input {
  background-color: lightgray;
  box-shadow: inset 0px 0px 1px 1px rgba(255,255,255,1);
  border-radius: 0.3em;
  font-size: 1.25rem;
  text-align: center;
  border-style: outset;
  border-width: medium;
  border-color: maroon;
  margin: 0.2em;
  padding: 0.1em;
}

.puzzle input[type="number"] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

.puzzle input[type=number]::-webkit-inner-spin-button,
.puzzle input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}


.puzzle button {
  cursor: pointer;
  padding: 0.5em 1.5em;
  font-size: 1rem;
  color: white;
  border: none;
  whitespace: nowrap;
  background-image: url("solve-button.png");
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

nav {
  margin-top: 2em;
  text-align: center;
}

nav a {
  cursor: pointer;
}
