@font-face {
  font-family: emoji;
  
  /* Fonts for text outside emoji blocks */
  src: local(Arial)
}

@font-face {
  font-family: emoji;

  src: local('Apple Color Emoji'),
       local('Android Emoji'),
       local('Segoe UI'),
       local(EmojiSymbols),
       local(Symbola),
       url('font/Symbola.ttf') format('truetype');

  /* Emoji unicode blocks */
  unicode-range: U+1F300-1F5FF, U+1F600-1F64F, U+1F680-1F6FF, U+2600-26FF, U+2702-27B0;
}

aside {
	text-align: center;
	margin-top: 35px;
	font-family: 'Oswald', sans-serif;
	font-size: 35px;
}


.tile {
	position: relative;
	display: block;
	float:left;
	width: 30px;
	height:32px;
	color: black;
	font-size: 27px;
	text-align: center;
	cursor: default;
	font-family: 'emoji';

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.row {
	height: 30px;
}

h1, .bomb-count  {
	display: inline-block;
	font-family: 'Oswald', sans-serif;
	margin: 0;
}
.bomb-count {
	color: #FF3D00;
	padding: 0 20px;
}

button {
	display: block;
	float: right;
	font-family: 'Oswald', sans-serif;
	margin: 10px 0px;
	background-color: #FFEA00;
	border: 1px solid #FFD600;
	border-bottom: 3px solid #F9A825;
	border-radius: 5px;
	outline: none;
}
button:active {
	border-bottom: 1px solid #FFD600;
	border-top: 3px solid #F9A825
}

body {
	z-index: -100;
	background-color: #FFF59D;
}

.game {
	position: relative;
	margin: 30px auto;
	width: 450px;
	padding: 25px;
	padding-top: 0;
	border-radius: 15px;
	overflow: hidden;
}
.game::before {
	position: absolute;
	content: "";
	display: block;
	margin-left: -25px;
	width: 100%;
	height: 100%;
	background-color: white;
	z-index: -10;
}

.game > div:first-child {
	padding: 20px 0;
}

[class*="t-"] {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	font-size: 22px;
	color: white;
}

[class*="t-"]::before {
	z-index: -1;
	content: "";
	position: absolute;
	display: block;
	height: 23px;
	width: 23px;
	margin: 3px;
	background-color: transparent;
	border-radius: 5px;
}


.t-1::before {
	background-color: #1565C0;
}

.t-2::before {
	background-color: #4527A0;
}

.t-3::before {
	background-color: #E64A19;
}

.t-4::before {
	background-color: #FFEA00;
}

.t-5::before {
	background-color: #2E7D32;
}

.t-6::before {
	background-color: #00796B;
}

.t-7::before {
	background-color: #0D47A1;
}

.t-8::before {
	background-color: #212121;
}

.death-animation {
	position: absolute;
	z-index: 100;
	font-size: 300px;
}