* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  text-align: center;
  font-family: Arial, sans-serif;
  background-color: silver;
}

body.waiting {
  overflow: hidden;
}

#root {
  max-width: 600px;
  margin: 1em auto;
  padding: 1em;
}

h1 {
  font-size: 2em;
}
h2 {
  margin-bottom: 5px;
}

.flex {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 1em;
}

.bestuurslid {
  padding: 10px;
  background: white;
  width: 100%;
}

.bestuurslid .buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .5em;
}

.btn {
  font-family: inherit;
  font-size: 1em;

  padding: .5em;
  border: none;
  text-transform: uppercase;
  line-height: 1.5em;
  position: relative;
  transition: transform .1s ease-in-out;
  color: white;
  text-shadow: #666 -1px -1px 2px;
}
.btn:hover:not(:disabled) {
  cursor: pointer;
  transform: scale(102%);
}

.btn:hover:active {
  transform: scale(100%);
}

.btn--voor {
  background-color: #1d9650;
}

.btn--tegen {
  background-color: #cb4e4e;
}

.btn--blanco {
  background-color: #fcad26;
}

.btn--submit {
  background-color: dodgerblue;
}

.btn.choice {
  box-shadow: 0 0 7px 7px deepskyblue;
  text-decoration: underline;
}

.btn:disabled {
  filter: grayscale(90%);
  color: #CCC;
}


.wait {
  display: none;
  position: fixed;
  inset: 0;
  background: #cccccccc;
  font-size: 2em;
  text-shadow: white 1px 1px 2px;
}
.waiting .wait {
  display: block;
}

.wait > div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.authenticate {
  display: none;
  position: fixed;
  inset: 0;
  background: #cccccccc;
  font-size: 2em;
  text-shadow: white 1px 1px 2px;
}
.authenticating .authenticate {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.authenticate > div {
  background: white;
  min-width: 200px;
  width: calc(100% - 30px);
  max-width: 500px;
  padding: 10px;
}

.authenticate .input {
  margin: 0 20px 20px;
  height: 45px;
  font-size: 45px;
  border-bottom: 2px solid black;
}

.authenticate .numpad {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
}

.authenticate button {
  background: #EEE;
  color: #111;
  border: 0;
  font-size: 2em;
  font-size: 40px;
}

.checkmark {
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  height: calc(100% - 40px);
  box-shadow: inset 0 0 0 102vh #7ac142;
  position: absolute;
  display: none;
  pointer-events: none;

  top: 20px;
  left: 20px;
}
.btn.choice .checkmark {
  display: block;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke: #fff;
  stroke-width: 5;
}
