@font-face {
  font-family: 'chalk';
  src: url('https://tylermoeller.github.io/tic-tac-toe/fonts/eraserdust-webfont.eot'),
       url('https://tylermoeller.github.io/tic-tac-toe/fonts/eraserdust-webfont.eot?#iefix') format('embedded-opentype'),
       url('https://tylermoeller.github.io/tic-tac-toe/fonts/eraserdust-webfont.woff2') format('woff2'),
       url('https://tylermoeller.github.io/tic-tac-toe/fonts/eraserdust-webfont.woff') format('woff'),
       url('https://tylermoeller.github.io/tic-tac-toe/fonts/eraserdust-webfont.ttf') format('truetype'),
       url('https://tylermoeller.github.io/tic-tac-toe/fonts/eraserdust-webfont.svg#eraserdust') format('svg');
  font-weight: bold;
}

body {
	background: url("bg-tic-tac-toe.jpg") no-repeat center center fixed;
	background-size: cover;
	font-family: 'chalk', sans-serif;
	color: white;
	text-align: center;
}

.blackboard {
	width: 700px;
	height: 505px;
	background: #0A2116;
	margin: 20px auto;
	border: tan solid 12px;
		border-top: #bda27e solid 12px;
		border-left: #b19876 solid 12px;
		border-bottom: #c9ad86 solid 12px;
		-webkit-box-shadow: 0px 0px 6px 5px rgba(58, 18, 13, 0), 0px 0px 0px 2px #c2a782, 0px 0px 0px 4px #a58e6f, 3px 4px 8px 5px rgba(0, 0, 0, 0.5);
		        box-shadow: 0px 0px 6px 5px rgba(58, 18, 13, 0), 0px 0px 0px 2px #c2a782, 0px 0px 0px 4px #a58e6f, 3px 4px 8px 5px rgba(0, 0, 0, 0.5);
}

h1 {
	font-size: 43px;
}

.prompt {
	background: #c9ad86;
	width: 290px;
	margin: 0 auto;
	padding: 0 20px 20px;
	margin-top: 65px;
	border-radius: 20px;
	border: ridge;
	display: none;
	position: absolute;
	z-index: 2;
	left: 0;
  right: 0;
}

.welcome {
	font-size: 43px;
	color: #160a96;
	margin: 10px 0;
}

p {
	font-size: 27px;
}

button {
  display: inline-block;
	font-size: 30px;
  color: white;
	text-shadow: 1px 1px 2px black;
  font-weight: 700;
  text-decoration: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  padding: 8px 18px;
  outline: none;
  border: 2px solid;
  border-radius: 1px;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
	cursor: pointer;
	margin-left: 10px;
	background: rgba(255,255,255,.2); 
} 
button:hover { 
	background: rgba(255,255,255,.5); 
}
button:active { 
	background: white;
	color: #c9ad86;
}

.result {
	font-size: 30px;
	margin-bottom: 40px;
}

td {
	padding: 0 40px;
	font-size: 80px;
	width: 20px;
	height: 85px;
	cursor: pointer;
}

.cell-right {
	border-right: 2px solid white;
}

.cell-bottom {
	border-bottom: 2px solid white;
}

.game {
	display: block;
	z-index: 1;
}
