/* CSS Document */

/*MAIN*/

body
{
	background: #400080;
	font-family: "Segoe UI";
	font-size: 20px;
	margin: 0px;
	color: #fff;

}

nav 
{
	position: absolute;
	top: 0px;
	left: 0px;
}

nav a
{
	text-decoration: none;
	background: #fff;
	color: #000;
	font-size: 20px;
	line-height: 20px;
	display: block;
	padding: 10px;

}
div.header
{
	width: 300px;
	margin: 20px auto 0px auto;
	overflow: hidden;

}

	div.header h1
	{
		width: 100%;
		font-size: 40px;
		margin: 0px;
		text-align: center;

	}
	
	div.options
	{
		width: 100%;
		margin: 10px 15px;
	}
	
		div.header div.options div.new
		{
			width: 60px;
			padding: 5px;
			background: #fff;
			color: #000;
			margin: 0px 10px;
			border-radius: 5px;
			font-weight: bold;
			font-size: 20px;
			cursor: pointer;
			text-align: center;
			display: inline-block;
		}

#container
{

	border: 1px solid #FFF;
	margin: 20px auto 0px auto;
	
}

div.tile
{
	float: left;
	width: 24px;
	height: 24px;
	border: 1px solid #000;
	background: #666;
	cursor: pointer;
	font-size: 22px;
	line-height: 22px;
	font-weight: bold;
	text-align: center;
	padding: 2px;
	color: #06C;
}

div.tile.green
{
	color: #090;
}

div.tile.red
{
	color: #C00;
}

div.tile.open
{
	background: #F8F8F8;
}

div.tile.open.bomb
{
	background-image: url(bomb.png);
	background-size: contain;
	background-color: #900;
}

div.tile.flag
{
	background-image: url(flag.png);
	background-size: contain;
}