*{font-family:"Courier New";}
body{
  background-color: #FFF;
}
h1 {text-align: center; font-size: 3em; color: #f9c1ba;}
.card{
  background-color:#FFF;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
#main-div{
  margin-left: auto;  margin-right: auto;
  width: 500px;
  padding: 35px;
}
table {
  margin-left:auto;
  margin-right:auto;
  table-layout: fixed;
  width: 400px;
  border-collapse: collapse;
  text-align:center;
  font-size:3.2em;
}
td {
    width: 33%;
    padding-top: 10%;
    padding-bottom: 10%;
    box-shadow: inset 0 0 2px 2px #fff;
    background-color: #cefff1;
}
td:hover{
  box-shadow: inset 0 0 2px 2px #76e6c3;
}
td:active{
  box-shadow: inset 0 0 2px 2px #fff;
  background-color: #b6cdff;
}
#turn{
  text-align:center;
  font-size:1.2em;
}
#low{
  text-align:center;
  font-size:1.2em;
  margin-left: auto;  margin-right: auto;
  width: 500px;
  padding: 10px;
}
.restart{
  padding:3%;
  padding-top:25px;
  margin-left: 5px;
  margin-right: 5px;
  width:40%;
  display:inline-block;
  background-color:#FFF;
}

.restart:hover{
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  background-color: #cefff1;
}
.restart:active{
  background-color: #b6cdff;
}

*.unselectable {
   -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;

   /*
     Introduced in IE 10.
     See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/
   */
   -ms-user-select: none;
   user-select: none;
}

@media (orientation: portrait) {
  #main-div{
    margin-left: auto;  margin-right: auto;
    width: 82%;
    padding: 35px;
  }
  table {
    margin-left:auto;
    margin-right:auto;
    table-layout: fixed;
    width: 80%;
    font-size:4.2em;
  }
  #low{
    text-align:center;
    font-size:2.5em;
    margin-left: auto;  margin-right: auto;
    margin-top:10px;
    width: 80%;
    padding: 10px;
  }
  h1{
      font-size:5em;
  }
  #turn{
      font-size:3.3em;
  }
  div > img{
      width:45%;
  }
}
