@font-face {
    font-family: MaisonNeue;
    src: url('MaisonNeue-Book-805e1c.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: MaisonNeue;
    font-style: italic;
    src: url('MaisonNeue-BookItalic-a6eda0.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: MaisonNeue;
    src: url('MaisonNeue-Medium-4eba7c.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: MaisonNeue;
    src: url('MaisonNeue-Demi-44b4d8.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: MaisonNeue;
    src: url('MaisonNeue-Bold-f56e7e.woff2') format('woff2');
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: MaisonNeue;
    src: url('MaisonNeue-Black-29dfdb.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: fallback;
    src: local(Arial);
    ascent-override: 99.2%;
    descent-override: 33.6%;
}

html {
    font-family: MaisonNeue, fallback, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
    font-size: 1rem;
    line-height: 1.375;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern', 'liga';
    scrollbar-color: #CDCADB #fff;
}

a {color: black; text-decoration: none;}
a:hover {color: black; text-decoration: underline;}

#end {margin: 100px 0; text-align: center;}

#question {
	margin: 50px 0;
	padding: 0 50px;
	color: black;
	font-size: 44px;
	font-weight: bold;
	text-align: center;
}
@media (max-width: 480px) {
	#question {
		font-size: 28px;
	}
}

#timer {
	width: 120px;
	margin: 0 auto 50px auto; padding: 4px 0;
	color: black;
	border: 2px black solid;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
	font-size: 24px;
	text-align: center;
}
.warning {background: #ffcc66;}
.fail {background: #ff9999;}
.tip {text-align: center;}
.tip strong {margin-right: 5px;}

.desktop-controls {display: block;}
.mobile-controls {display: none;}
@media (max-width: 900px) {
	.desktop-controls {display: none;}
	.mobile-controls {display: block;}
}
.controls {
	width: 340px;
	height: 50px;
	margin: 25px auto;
	margin-top: 0;
	padding: 9px 15px;
	padding-left: 20px;
	padding-right: 17px;
	background: #f1f1f1;
	border-radius: 8px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
}
.keyboard {
	text-align: center;
}
.keyboard h4 {
	margin-bottom: 8px;
}
.controls .key {
	float: left;
	margin-right: 5px; padding: 3px 6px;
	margin-top: 15px;
	color: #fff;
	background: black;
	font: 15px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace; font-weight: bold;
	border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px;
}
.controls .act {
	float: left;
	margin: 4px 20px 0 0;
	margin-top: 19px;
	font-size: 14px;
}
.controls .act:last-child {margin-right: 0;}

.button-container {
	width: 100%;
	padding: 5px;
	margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  resize: none;
}
.button {
  background-color: black;
  border: none;
  color: white;
  padding: 15px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border: 1px transparent solid;
  border-radius: 4px;
}
.primary {background-color: black;} 
.secondary {background-color: #E7A4A4; color: black; } 
.wild {background-color: #C4EE4D; color: black}

.pg {
	margin-bottom: 50px;
	text-align: center;
}
@media (max-width: 900px) {
	.pg {
		font-size: 0.8em;
	}
}

.hide {display: none;}

.footer {
	margin-top: 20px;
	margin-bottom: 50px;
	font-size: 12px;
	text-align: center;
}

.footer a {color: #333; text-decoration: none;}
.footer a:hover {color: #333; text-decoration: underline;}

.egg {
	position: fixed;
	text-align: center;
	width: 420px; height: 345px;
	margin: -158px 0 0 -210px; padding: 15px; padding-top: 30px;
	top: 50%; left: 50%;
	background: #fff;
	border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px;
	box-shadow: #ccc 0 0 50px;
}

.egg iframe {
	margin-bottom: 10px;
}
