@charset "utf-8";

body {
	font-family: Arial;
}

#canvasContainer {
	margin: 0px auto 30px auto;
	width: 468px;
	height: 468px;
	position: relative;
}
#canvas {
	box-shadow: 0px 0px 11px -1px #676767;
}
#canvas.animated {
	display: block;
	width: 368px;
	height: 568px;
	margin: auto;
	position: relative;
	top: 0px;
	left: 0px;
	z-index: 1;
	/* incredibly well timed animations */
	animation: 
		sizeChange 2s ease-in-out infinite,
		posChange 4s linear infinite;
}
@keyframes sizeChange {
	0% { width: 368px; height: 568px;}
	50% { width: 538px; height: 358px;}
	100% { width: 368px; height: 568px;}
}
@keyframes posChange {
	0% { top: 0px; left: 0px; }
	17% { top: -50px; left: -320px; }
	30% { top: 165px; left: -410px; }
	64% { top: -30px; left: 400px; }
	78% { top: 260px; left: 350px; }
	100% { top: 0px; left: 0px; }
}

#newGameMsg, #pausedMsg, #gameOverMsg {
	margin: auto;
	text-align: center;
	display: block;
}

#moreSpeedModeCheck {
	cursor: pointer;
	width: 18px;
	height: 18px;
	position: relative;
	top: 4px;
	margin: 0 7px 0 0;
}

#score {
	font-weight: bold;
	text-align: center;
	margin: 28px 0 14px 0;
}

#settingsBox, #announcementBox {
	line-height: 44px;
	width: calc(((100% - 200px - 468px) / 2) - ((100% - 200px - 468px) / 2) * 0.1);
	padding: 20px;
	position: absolute;
	top: calc((470px / 2) + 60px - (234px / 2));
	right: 30px;
	font-style: italic;
}

#announcementBox {
	width: calc((((100% - 200px - 468px) / 2) - ((100% - 200px - 468px) / 2) * 0.1) + 10px);
	left: 30px;
	font-style: normal;
	font-weight: bold;
	font-family: "Trebuchet MS";
}

#announcementBox h2 {
	border-bottom: 1px solid gray;
	padding-bottom: 20px;
	font-size: 18px;
}

#announcementBox h2:first-child {
	border-top: 1px solid gray;
	padding-top: 20px;
	font-size: 22px;
}

#settingsBox h3 {
	margin: 12px 0;
	font-style: normal;
}

#themeSelect {
	font-family: Arial;
	font-size: 14px;
	padding: 2px;
	margin: 0 7px 0 0;
}