
@import url('https://fonts.googleapis.com/css?family=Work+Sans:400,700,900');

html {
	font-size: 14px;
}

body {
	font-family: "Work Sans", sans-serif;
	background-color: rgb(255,242,242);
	margin-top: 2rem;
}

h1, h2 {
	font-weight: bold;
	font-size: 2.5rem;
	color: rgb(32,64,86);
}

h2 {
	font-size: 1rem;
}

p {
	color: rgb(74,74,74);
}

.popout-container {
	text-align: right;
}

i {
	color: hsl(220,85%,65%);
	cursor: pointer;
}

i:hover, i:active {
	color: hsl(160,85%,65%);
}

i.popin {
	margin-right: 1rem;
}

.card {
	background-color: rgb(32,64,86);
	color: rgb(255,255,255);
	border: 4px solid #ffffff;
	border-radius: 8px;
	font-weight: 900;
	font-size: 7rem;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

@media only screen and (max-width: 789px) {
	.card.col-xs-2 {
		font-size: 5rem;
	}
}

@media only screen and (max-width: 560px) {
	.card.col-xs-2 {
		font-size: 3rem;
	}
}

.move-counter {
	font-size: 2rem;
	font-weight: bold;
	padding: .5rem 0;
	min-height: 54px;
}

p.board-level {
	font-size: 1.5rem;
	font-weight: bold;
}

button.board-level {
	color: rgb(204,204,204);
	background-color: rgb(153,153,153);
	border: 0;
	border-radius: 4px;
	font-size: 1.2rem;
	width: 16rem;
	padding: .5rem 1em;
	margin: 1rem .5rem;
}

#beginner.selected {
	background-color: hsl(90,85%,65%);
	color: white;
}

#advanced.selected {
	background-color: hsl(360,85%,65%);
	color: white;
}

#game {
	position: relative;
}

.gameOver:after {
	content: "Game Over";
    position: absolute;
    font-size: 7rem;
    font-weight: 900;
    color: hsl(360,85%,65%);
    -webkit-text-fill-color: hsl(360,85%,65%);
   	-webkit-text-stroke-width: 2px;
   	-webkit-text-stroke-color: white;
    width: 100%;
    text-align: center;
    top: 20rem;
    left: 0;
}

@media only screen and (max-width: 529px) {
	.gameOver:after {
	    top: 3rem;
	}
}