@import url(https://fonts.googleapis.com/css?family=Slabo+27px);
@import url(https://fonts.googleapis.com/css?family=Montserrat);

@font-face {
	font-family: 'Calculator';
	src: url('Calculator.ttf');
}

body {
	margin: 0;
	padding: 0;
	width: 100%;
	background: rgba(0, 0, 0, 0.5);
}

header {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 60px;
	background: #000;
	color: #FFF;
}

header h1 {
	margin-top: 0;
	margin-left: 40px;
	padding-top: 10px;
	font-family: "Montserrat", sans-serif;
}

section {
	margin: 0 auto;
	margin-top: 5%;
	margin-bottom: 5%;
	padding: 0;
	width: 100%;
	text-align: center;
}

section h1 {
	font-family: "Montserrat", sans-serif;
	margin-top: -30px;
	margin-bottom: 40px;
	text-transform: uppercase;
	font-size: 300%;
}

#canvas {
	margin: 0 auto;
	padding: 40px;
	width: 700px;
	height: 700px;
	border-radius: 50%;
	background: #000;
	position: relative;
}

#canvas .buttons {
	margin: 0;
	padding: 0;
	width: 800px;
	position: absolute;
	top: 30px;
	left: 30px;
	z-index: 50;
}

[class*='button'] {
	width: 350px;
	height: 350px;
}

.green-button {
	background: #008000;
	float: left;
	margin-bottom: 20px;
	border-top-left-radius: 380px;
}

.red-button {
	background: #FF0000;
	float: left;
	border-top-right-radius: 380px;
	margin-left: 20px;
	margin-bottom: 20px;
}

.yellow-button {
	background: #F5AB35;
	float: left;
	border-bottom-left-radius: 380px;
}

.blue-button {
	background: #0000FF;
	float: left;
	margin-left: 20px;
	border-bottom-right-radius: 380px;
}

#canvas .controls {
	margin: 0 auto;
	padding: 0;
	width: 370px;
	height: 370px;
	background: #000;
	position: absolute;
	top: 27%;
	left: 26.5%;
	z-index: 99;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

#canvas .controls h1 {
	margin-top: 50px;
	margin-bottom: 40px;
	color: #FFF;
	text-transform: lowercase;

}

.row {
	margin: 0;
	padding: 0;
	width: 100%;
	clear: both;
}

.controls > .row {
	margin: 0 auto;
	padding: 0;
	width: 80%;
	height: 70px;
	clear: both;
}

.counter, .start, .strict {
	width: 33%;
	float: left;
}

.counter > .count {
	width: 50px;
	height: 35px;
	border: 5px solid #CCC;
	margin: 0 auto;
	text-align: right;
}

.counter > .count > p {
	font-size: 250%;
	color: red;
	font-family: "Calculator", sans-serif;
	margin: 0;
	margin-top: -6px;
	text-align: center;
}

.start > .button {
	width: 35px;
	height: 35px;
	background: green;
	border-radius: 50%;
	border: 5px solid #7f8c8d;
	margin: 0 auto;
}

.start > p, .strict > p, .counter > p {
	color: #FFF;
	text-transform: uppercase;
}

.strict > .button {
	width: 35px;
	height: 35px;
	background: yellow;
	border-radius: 50%;
	border: 5px solid #7f8c8d;
	margin: 0 auto;
}

.strict > .indicator {
	margin: 0 auto;
	margin-top: -15px;
	margin-bottom: 5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: red;
	clear: both;
}

.case {
	width: 50px;
	height: 20px;
	border: 5px solid #CCC;
	margin: 0 auto;
	display: inline-table;
}

.row > .off {
	display: inline-table;
	color: #FFF;
	text-transform: uppercase;
	margin-right: 5px;
}

.row > .on {
	display: inline-table;
	color: #FFF;
	text-transform: uppercase;
	margin-left: 5px;
}

.switch {
	width: 25px;
	height: 20px;
	background: #007DC6;
	border-radius: 3px;
}