/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*!
 * Milligram v1.3.0
 * https://milligram.github.io
 *
 * Copyright (c) 2018 CJ Patoilo
 * Licensed under the MIT license
 */
.button,
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
  background-color: #94b116;
  border: 0.1rem solid #94b116;
  border-radius: .4rem;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  height: 3.8rem;
  letter-spacing: .1rem;
  line-height: 3.8rem;
  padding: 0 2.1rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.button:focus, .button:hover,
button:focus,
button:hover,
input[type='button']:focus,
input[type='button']:hover,
input[type='reset']:focus,
input[type='reset']:hover,
input[type='submit']:focus,
input[type='submit']:hover {
  background-color: #606c76;
  border-color: #606c76;
  color: #fff;
  outline: 0;
}

.button[disabled],
button[disabled],
input[type='button'][disabled],
input[type='reset'][disabled],
input[type='submit'][disabled] {
  cursor: default;
  opacity: .5;
}

.button[disabled]:focus, .button[disabled]:hover,
button[disabled]:focus,
button[disabled]:hover,
input[type='button'][disabled]:focus,
input[type='button'][disabled]:hover,
input[type='reset'][disabled]:focus,
input[type='reset'][disabled]:hover,
input[type='submit'][disabled]:focus,
input[type='submit'][disabled]:hover {
  background-color: #94b116;
  border-color: #94b116;
}

.button.button-outline,
button.button-outline,
input[type='button'].button-outline,
input[type='reset'].button-outline,
input[type='submit'].button-outline {
  background-color: transparent;
  color: #94b116;
}

.button.button-outline:focus, .button.button-outline:hover,
button.button-outline:focus,
button.button-outline:hover,
input[type='button'].button-outline:focus,
input[type='button'].button-outline:hover,
input[type='reset'].button-outline:focus,
input[type='reset'].button-outline:hover,
input[type='submit'].button-outline:focus,
input[type='submit'].button-outline:hover {
  background-color: transparent;
  border-color: #606c76;
  color: #606c76;
}

.button.button-outline[disabled]:focus, .button.button-outline[disabled]:hover,
button.button-outline[disabled]:focus,
button.button-outline[disabled]:hover,
input[type='button'].button-outline[disabled]:focus,
input[type='button'].button-outline[disabled]:hover,
input[type='reset'].button-outline[disabled]:focus,
input[type='reset'].button-outline[disabled]:hover,
input[type='submit'].button-outline[disabled]:focus,
input[type='submit'].button-outline[disabled]:hover {
  border-color: inherit;
  color: #94b116;
}

.button.button-clear,
button.button-clear,
input[type='button'].button-clear,
input[type='reset'].button-clear,
input[type='submit'].button-clear {
  background-color: transparent;
  border-color: transparent;
  color: #94b116;
}

.button.button-clear:focus, .button.button-clear:hover,
button.button-clear:focus,
button.button-clear:hover,
input[type='button'].button-clear:focus,
input[type='button'].button-clear:hover,
input[type='reset'].button-clear:focus,
input[type='reset'].button-clear:hover,
input[type='submit'].button-clear:focus,
input[type='submit'].button-clear:hover {
  background-color: transparent;
  border-color: transparent;
  color: #606c76;
}

.button.button-clear[disabled]:focus, .button.button-clear[disabled]:hover,
button.button-clear[disabled]:focus,
button.button-clear[disabled]:hover,
input[type='button'].button-clear[disabled]:focus,
input[type='button'].button-clear[disabled]:hover,
input[type='reset'].button-clear[disabled]:focus,
input[type='reset'].button-clear[disabled]:hover,
input[type='submit'].button-clear[disabled]:focus,
input[type='submit'].button-clear[disabled]:hover {
  color: #94b116;
}

body {
	background: #f4f5f6;
  font-family: 'Baloo', sans-serif;
  color: #666;
}
.container {
   width: 100%;
   max-width: 568px;
   margin: 0 auto;
	 display: flex;
   justify-content: center;
}
.canvas-area {
   background: #fff;
   width: 318px;
   height: 318px;
   border: 1px solid #dcdcdc;
}
.canvas-buttons {
	margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
}
.result {
  margin-top: 2rem;
  font-size: 2rem;
  display: none;
	width: 100%;
	justify-content: center;
	flex-direction: column;
	text-align: center;
}
.result .number {
  width: 100%;
  margin: 2rem 0;
  font-size: 8rem;
  color: #94b116;
}
.feedback {
  width: 100%;
	display: flex;
  justify-content: space-around;
}
.correction {
	width: 100%;
	text-align: center;
	font-size: 2rem;
	margin: 1rem;
	display: none;
}
.number-selection {
	width: 100%;
	margin: 2rem 0;
}
.number-selection > div{
	width: 100%;
	display: flex;
	justify-content: space-between;
	margin-top: 1rem;
}
.correct-number {
	width: 10%;
	padding: 1rem 0.7rem;
	color: #fff;
	margin: 0.2rem 0;
	background: #94b116;
	cursor: pointer;
}

.button-correct {
  background-color: #0074d9;
  border-color: #0074d9;
}
.button-correct.button-clear,
.button-correct.button-outline {
  background-color: transparent;
  color: #0074d9;
}
.button-correct.button-clear {
  border-color: transparent;
}

.button-wrong {
  background-color: #ff4136;
  border-color: #ff4136;
}
.button-wrong.button-clear,
.button-wrong.button-outline {
  background-color: transparent;
  color: #ff4136;
}
.button-wrong.button-clear {
  border-color: transparent;
}
.certainty {
	color: #4b6a88;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}
