body
{
  background: #666;
  font-family: "Trebuchet MS";
  font-size: 1.1em;
  text-align: center;
  margin: 0;
  padding-bottom: 10em;
}

header
{
  border-bottom: 2px solid;
  margin: .5em 3em 1em;
  padding: 1em 0;
}

header *
{
  padding: 0;
  margin: 0;
  line-height: .9em;
}

header p
{
  font-size: .9em;;
}

header a
{
  color: #000;
}

table
{
  border-spacing: .2em;
  display: inline-block;
  margin: 1em;
}

td
{
  background: #ddd;
  padding: .5em;
  width: 1.5em;
  height: 1.5em;
  border-radius: 5px;
}

td.huidig
{
  background: #fff;
}

table.opgelost td
{
    background: #999;
}

.fout
{
  color: #e33;
  font-weight: bold;
}

.goedeletter
{
  background-color: #3b5 !important;
  font-weight: bold;
  color: #fff;
}

.goedeletter2
{
  background-color: #dd3 !important;
  font-weight: bold;
}

td.fouteletter
{
  background-color: #999;
}

.alfabet a.fouteletter
{
  background-color: #333;
}

.alfabet
{
  margin: 0;
  padding: 1em;
  position: fixed;
  background: rgba(0,0,0,.5);
  bottom: 0em;
  width: 100%;
  box-sizing: border-box;
}

.alfabet a
{
  list-style: none;
  color: #000;
  text-decoration: none;
  margin: .1em;
  padding: .45em;
  display: inline-block;
  background: #999;
  border-radius: 5px;
}

.alfabet a:hover, .alfabet a:focus, a[href="#backspace"], a[href="#enter"]
{
  background: #bbb;
}

.modal
{
  width: 50%;
  left: 25%;
  padding: 3em;
  box-sizing: border-box;
  top: 5em;
  position: fixed;
  background: #eee;
  box-shadow: 0 0 2em #333;
}

a[href="#close"]
{
  position: absolute;
  top: 0;
  right: 0;
  text-decoration: none;
  padding: .5em 1em;
  display: block;
  background: #333;
  color: #fff;
}

@media only screen and (max-width: 800px) {
  .modal {
    width: 100%;
    left: 0%;
  }
}
