* {
  transition: all 0.4s ease-in-out;
  font-family: 'Roboto'
}

html {
  position: relative;
}

body {
  background-color: #fff;
  padding: 50px;
}


.sudoku {
  height: 100%;
}

table {
  border: 1px solid grey;
  border-radius: 3px;
  border-collapse: collapse;
  text-align: center;
  border-spacing: none;
  margin: 0 auto;
  height: 100%;
  width: 100%;
}

td {
  border: 2px solid #38702d;
  padding: 0;
}

td td {
  border: 1px solid #457c00;
  width: 50px;
  height: 50px;
  font-weight: bold;
  font-size: 1.4em;
  color: darkred;
  z-index: 100;
}

.nums {
  text-align: center;
  height: 30px;
  margin-bottom: 50px;
  display: none;
}

.orig {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  font-size: 1.25em;
  border: 2px solid #9999ee;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
}

.orig p {
  height: 100%;
  margin: 0;
  padding: 0;
/*   z-index: 1; */
}


.target {
  transition: 0.2s linear;
  -webkit-transition: 0.2s linear;
  -moz-transition: 0.2s linear;
  -o-transition: 0.2s linear;
}


/*//settings*/

.settings {
  position: absolute;
  /*width: 40%;*/
  top: -625px;
  left: 20%;
  right: 20%;
  border: 10px solid lightgrey;
  border-radius: 100px;
  padding: 40px;
  padding-top: 5px;
  padding-bottom: 5px;
  background-color: #00876b;
  transition: 0.5s linear;
  z-index: 10;
}

.keypad {
  visibility: hidden;
  position: absolute;
  width: 200px;
  left: 45%;
  top: 5%;
  padding: 3px;
  text-align: center;
  background: white;
  box-shadow: 0 0 30px #999;
  border-radius: 5px;
}

.keypad div {
  display: inline-block;
  width: 60px;
  height: 60px;
  margin: 1px;
  border: 1px solid #eee;
  border-radius: 3px; 
  line-height: 60px;
  font-size: 3em;
  cursor: pointer;
  color: #000;
}

.keypad .close {
    position: absolute;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    border: 2px solid #000;
    line-height: 20px;
    font-size: 20px;
    color: #000;
    right: -14px;
    top: -14px;
    background-color: #fff;
}
