body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 100%;
  background-color: white;
  width: 750px;
  margin: 0 auto;
  border: 3px solid blue;
  padding: 0 2em 1em;
}

h1 {
  font-size: 150%;
  color: blue;
  margin-bottom: 0.5em;
}

label {
  float: left;
  width: 8em;
}

input,
select {
  width: 10em;
  margin-right: 1em;
  margin-bottom: 1em;
}

input[type='checkbox'] {
  width: 2em;
}

header p {
  margin: 0 2em 1em 0;
}

#new_game,
#player,
#high_score,
#correct {
  float: left;
}

#cards img {
  height: 100px;
  width: 80px;
  padding-right: 5px;
  padding-bottom: 3px;
}

.deck {
  list-style-type: none;
  display: grid;
}
.deck.deck-48 {
  grid-template-columns: repeat(6, 1fr);
}
.deck.deck-40 {
  grid-template-columns: repeat(5, 1fr);
}
.deck.deck-32,
.deck.deck-24,
.deck.deck-16,
.deck.deck-8 {
  grid-template-columns: repeat(4, 1fr);
}

a {
  display: block;
  cursor: inherit;
}

#cards {
  cursor: pointer;
}

.details {
  display: flex;
}

.current-scores {
  display: flex;
  justify-content: flex-end;
  column-gap: 30px;
}

.error {
  color: red;
  margin: 10px 0;
}
