body{
  background-color: #333;
  color: aliceblue;
  overflow: hidden;
}
.wrapper{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-color: #333;
}
.grid tr td{
  width: 50px;
  height: 50px;
  text-align: center;
  vertical-align: middle;
  font-size: 42px;
  text-shadow: 3px 3px 3px purple;
}
.grid, td{
  border: 1px solid darkorange;
}
.header{
  font-size: 35px;
  color: gold;
  text-shadow: 2px 2px 4px black;
  font-weight: bold;
  text-align: center;
  margin: 10px 10px;
}
.sub-header{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-content: space-around;
  margin: 10px 10px ;
}
.timer{
  font-size: 25px;
  color:gold;
  font-weight: bold;
  margin: 0 20px;
  border: 1px solid grey;
  border-radius: 25%;
  padding: 5px 20px;
  background-color: saddlebrown;
}
.button{
  color:gold;
  font-size: 20px;
  border-radius: 25%;
  border: 1px solid grey;
  background-color: saddlebrown;
  outline: none;
 }
.button:hover{
  background-color: grey;
}
.fa-child{
  color: gold;
  font-size: 25px;
  padding: 0 3px;
}
.winLose{
  position: relative;
  height: 0;
  top: 225px;
  text-align: center;
  font-style: italic;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 95px;
  color: gold;
  font-weight: bold;
  text-shadow: 3px 3px 3px black;
}
#win{
  visibility: hidden;
  font-size: 95px;
  line-height: 0;
}
#lost{
  visibility: hidden;
  font-size: 95px;
    line-height: 0;
}
#toLong{
  visibility: hidden;
  font-size: 70px;
    line-height: 0;
}
tr td:hover, .selected2 {
  background-color: blue;
  border-radius: 50%;
}
.selected{
  background-color: rgba(69, 132, 195, 0.5);
}
.number{
  display: block;
  margin-left: 25px;
  background: rgba(155,155,155,0.2);
  border-radius: 25px;
} 
.number tr td{
  height: 50px;
  width: 50px;
  border: none;
  border-radius: 50%;
  text-align: center;
  padding: 5px 17px;
  font-size: 70px;
  color: aliceblue;
  font-weight: bold;
  text-shadow: 2px 2px 3px red;
}

.count{
  font-size: 18px;
  vertical-align: top;
}
.border-bottom{
 border-bottom: 4px solid red;
}
.border-right{
  border-right: 4px solid red;
}
@media screen and (max-width: 800px){
  .wrapper{
    flex-direction: column;
  }
  .number{
  margin-top: 25px;
  }
}