body {
    background: #ccc;
    text-align: center;
}

h1 {
    font-size: 3em;
    text-align: center;
    margin: 0;
}

#moves {
    text-align: center;
    font-size: 2em;
}

#gameTable {
    background: #34495e;
    margin: 0 auto;
    border: 4px solid #34495e;
    border-radius: 1em;
    max-width: 500px;
    position: relative;
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome and Opera */
}

.cell {
    position: absolute;
    background: #7f8c8d;
    border-radius: 8px;
    color: #2c3e50;
    width: 21%;
    height: 21%;
    margin: .75%;
    line-height: 1;
    font-size: 3em;
    font-weight: bold;
    text-align: center;
}

.cell.hover {
    background: #bdc3c7;
}

.clickArea {
    position: absolute;
    opacity: 0;
    width: 25%;
    height: 25%;
}

.clickArea:before {
    content: ' ';
}

#win {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1em;
    background: rgba(255, 255, 255, 0.4);
    padding-top: 2em;
    font-size: 1.5em;
}
a{
  font-weight: bold;
  padding: 0.25rem;
  margin: 1px auto;
  display: block;
  width: 150px;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.4);
  color: #2c3e50;
  border: 2px solid #2c3e50;
  border-radius: 0.75rem;
}
a:hover{
  -webkit-transition: 0.3s;
  transition: 0.3s;
  box-shadow: 0 3px 0.5rem #2c3e50
}

table{
  width: 100%;
  max-width: 500px;
  margin: 10px auto;
  border-collapse: collapse;
}
td,
th{
  padding: 0.3rem;
}
tr th:first-child,
tr th:nth-child(2){
  width: 50px;
}
tr th:nth-child(3),
tr td:nth-child(3){
  text-align: left;
}
tr{
  border-bottom: 1px solid #2c3e50;
}
thead tr{
  color: white;
  background-color: #2c3e50;
}
tbody tr:nth-child(2n+1) td{
  background-color: rgba(255, 255, 255, 0.4);
}
