@import url(https://fonts.googleapis.com/css?family=Quicksand:300);

* {
  box-sizing:  border-box;
  margin: 0 auto;
  padding: 0;
}

body {
    background-color: #AAA;
    text-align: center;
    height: 100%;
    width:100%;
}

h1 {
  margin-top: 3%;
  font-family: Quicksand;
  text-shadow: 200px 35px 0px rgba(235,235,235,1),
               -200px -35px 0px rgba(235,235,235,1),
               200px -35px 0px rgba(27,27,27,1),
               -200px 35px 0px rgba(27,27,27,1),
               2px 2px 2px black,
               2.5px 2.5px 9px white;
  color: gray;
  font-size: 4rem;
  display: none;
}

.game-container {
  display: none;
}

#game {
  display: inline-block;
  margin: 0 auto;
  margin-top: 3%;
  height: 450px;
  width: 450px;
  padding: 10px 10px 10px 10px;
  background: #333;
  border-radius: 5%;
  box-shadow: 3px 3px 3px -2px #000;
}

.cells {
  height: 46px;
  width: 46px;
  margin: 2px 2px 2px 2px;
  background-color: #858585;
  display: inline-block;
  border-radius: 5%;
  cursor: pointer;
  box-shadow: 3px 3px 3px -2px #222;
}

.OHighlight {
  background-color: rgba(245,245,245,0.8);
}

.O {
  background-color: rgba(235,235,235,1);
}

.XHighlight {
  background-color: rgba(35,35,35,0.8);
}

.X {
  background-color: rgba(27,27,27,1);
}

.scorecard {
  height: 10%;
  width: 12%;
  border-radius: 10px;
  font-size: 7rem;
  font-family: Quicksand;
  color: gray;
}

.dark {
  margin: 15% 0px 0px 15%;
  float: left;
  text-shadow: 1.5px 1.5px 0px white;
}

.light {
  float: right;
  margin: 15% 15% 0px 0px;
  text-shadow: 2px 2px 0px black;
}

h3 {
  display: inline-block;
  margin: 0 auto;
  padding-top: .14rem;
  padding-left: .07rem;
}

.button-container {
  display: flex;
  width: 15%;
  margin-top: 1%;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

button.button {
  background: #5B74A8;
  background: -moz-linear-gradient(top,#555 0%,#555 100%);
  background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#555), color-stop(100%,#555));
  background: -webkit-linear-gradient(top,#555 0%,#555 100%);
  background: -o-linear-gradient(top,#555 0%,#555 100%);
  background: -ms-linear-gradient(top,#555 0%,#555 100%);
  background: linear-gradient(top,#555 0%,#555 100%);
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#444',endColorstr='#777',GradientType=0);
  padding: 2px 6px;
  color: #ddd;
  font-family: Quicksand ,sans-serif;
  font-size: 1rem;
  border-radius: 5%;
  -moz-border-radius: 5%;
  -webkit-border-radius: 5%;
  border:1px solid #1A356E
}

div.turn {
  height: 35px;
  width: 35px;
  border-radius: 5%;
  border: 2px solid #555;
}
