body {
	padding:0;
	margin:0;
}

.board-container {
	display:flex;
	align-items: center;
	justify-content: center;
	width:100vw;
	height:100vh;

}

.scoreboard {
	position: absolute;
	left:0;
	right:0;
	width:100%;
	max-width:500px;
	background-color:rgba(0,0,0,0.8);
	color:white;
	font-family:"Quicksand";
	text-align: center;
	margin:auto;
	padding:2rem;
	border-radius:0 0 1rem 1rem;
}

.scoreboard > * {
	margin:0;
	padding:0;
}

* {
	box-sizing: border-box;
}

.board {
	width:80vmin;
	height:80vmin;
	display:flex;
	flex-wrap: wrap;
}

.cell {
	width:calc(100% / 8);
	background-color:white;
	position: relative;
}

.cell:nth-child(even) {
	background-color:black;
}

.cell.marked:after {
  content: "";
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 0;
  bottom: 0;
  left:0;
  right:0;
  margin:auto;
  background-color: #87878788;
  position: absolute;
  border-radius: 50%;
  animation: markedCell 1s ease-in-out alternate infinite;
}

@keyframes markedCell {
	0% {
  	background-color: #939393aa;
		transform:scale(1);
		opacity: 1;
	}
	100% {
  	background-color: #939393aa;
		transform:scale(2);
		opacity: 0;
	}
}

.piece {
	width:100%;
	height:100%;
	background-size: cover;
	background-position: center;
}

.piece-animator {
	position: absolute;
	top: 0;
	left: 0;
	background-size: cover;
	background-position: center;
	transition: .5s cubic-bezier(.27,-0.01,.08,1);
}