/**
 * Status
 */
header {
	text-align: center;
}

h1 {
	font-size: 1.5em;
	margin: 1em 0 ;
}

#status {
	margin: 1em 0;
}

#status #details h2 {
	font-size: 1.2em;
	margin-bottom: 0;
}

#status #details hr {
	width: 100px;
	margin: 0.25em auto 1em;
}

#status #details .score {
	display: inline-block;
	padding-right: 1em;
}

/**
 * Board
 */
main {
	width: 328px;
	margin: auto;
}

#board {
	display: inline-block;
	background: yellow;
	padding: 1px;
	border: solid 3px #000;
}

#board::after {
	clear: left;
	display: block;
	content: ' ';
}

/**
 * Squares
 */
.square {
	float: left;
	width: 40px;
	height: 40px;
	position: relative;
}

.red.square {
	background: red;
}
.black.square {
	background: black;
}

.square.highlight::after {
	content: '';
	background: yellow;
	display: block;
	width: 68%;
	height: 68%;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	border-radius: 5px;
}

/**
 * Checkers
 */
.checker {
	border: solid 1px #fff;
    border-radius: 50%;
    bottom: 0;
    height: 68%;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 68%;
}

.red.checker {
	background: red;
}
.black.checker {
	background: black;
	border: solid 1px #ddd;
}

.double.checker::after {
	content: '';
	display: block;
	height: 100%;
	width: 100%;
	border-radius: 50%;
	border: solid 1px #fff;
	margin-left: 3px;
	margin-top: -4px;
}
.double.red.checker::after {
	background: red;
}
.double.black.checker::after {
	background: black;
}