main {
	width: 600px;
	background: #fff;
	margin: 5px auto;
	border-radius: 8px;
}
fieldset {
	margin: 0 auto;
	padding: 0.2rem;
	box-sizing: border-box;
	display: block;
	border: none;
	border: solid 1px #ccc;
	border-radius: 8px;
	min-width: 0;
	background-color: #fff;
	text-align: center;
}
.toggle {
	margin: 0 0 1.5rem;
	box-sizing: border-box;
	font-size: 0;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
}
.toggle input {
	width: 0;
	height: 0;
	position: absolute;
	left: -9999px;
}
.toggle input + label {
	margin: 0;
	padding: 0.5rem 0.75rem;
	box-sizing: border-box;
	position: relative;
	display: inline-block;
	border: solid 1px #ddd;
	background-color: #eee;
	color:#bbb;
	font-size: 1.5rem;
	line-height: 140%;
	font-weight: normal;
	text-align: center;
	box-shadow: 0 0 0 rgba(255, 255, 255, 0);
	transition: border-color 0.15s ease-out, color 0.25s ease-out,
		background-color 0.15s ease-out, box-shadow 0.15s ease-out;
	/* ADD THESE PROPERTIES TO SWITCH FROM AUTO WIDTH TO FULL WIDTH */
	/*flex: 0 0 50%; display: flex; justify-content: center; align-items: center;*/
	/* ----- */
}
.toggle input + label:first-of-type {
	border-radius: 6px 0 0 6px;
	border-right: none;
}
.toggle input + label:last-of-type {
	border-radius: 0 6px 6px 0;
	border-left: none;
}
.toggle input:hover + label {
	border-color: #213140;
}
.toggle input:checked + label {
	background-color: orange;
	color: #fff;
	box-shadow: 0 0 10px rgba(188, 66, 14, 0.5);
	border-color: orange;
	z-index: 1;
	background: rgba(188, 66, 14, 1);
	font-variant-caps: small-caps;
}
.toggle input:focus + label {
	outline: dotted 1px #ccc;
	outline-offset: 0.45rem;
}
@media (max-width: 800px) {
	.toggle input + label {
		padding: 0.15rem 0.15rem;
		flex: 0 0 50%;
		display: flex;
		justify-content: center;
		align-items: center;
	}
}

/* STYLING FOR THE STATUS HELPER TEXT FOR THE DEMO */
.status {
	margin: 0;
	font-size: 1rem;
	font-weight: 400;
}
.status span {
	font-weight: 600;
	color: #b6985a;
}
.status span:first-of-type {
	display: inline;
}
.status span:last-of-type {
	display: none;
}
@media (max-width: 800px) {
	.status span:first-of-type {
		display: none;
	}
	.status span:last-of-type {
		display: inline;
	}
}
#ltr_2,
#ltr_3 {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

body {
	font-family: sans-serif;
	font-size: 1.5rem;
	text-align: center;
	background: #9e5302;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	text-align: center;
	justify-content: center;
	align-items: center;
}
.search {
	text-align: center;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	text-align: center;
	justify-content: center;
	align-items: center;
}
#lookup2,
#lookup3 {
	font-size: 2rem;
	text-align: center;
	text-transform: uppercase;
	background: orange;
	color: white;
	text-shadow: 0.5px 0.5px #777, 1px 1px #444;
	border-radius: 0.5rem;
}
#search2,
#search3 {
	font-size: 2rem;
	text-align: center;
	text-transform: uppercase;
	background: orange;
	color: white;
	text-shadow: 0.5px 0.5px #777, 1px 1px #444;
	border-radius: 0.5rem;
}
.show_words {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	text-align: center;
	justify-content: center;
	align-items: center;
}
.word {
	display: flex;
	gap: 5px;
	flex-direction: row;
	flex-basis: 10%;
	width: 40px;
	padding: 3px;
	text-align: center;
	justify-content: center;
	align-items: center;
	border: 1px inset #ddd;
}
.word:nth-child(odd) {
	background: orange;
}
.word:nth-child(even) {
	background: yellow;
}
#status {
	margin-top: -20px;
}

@media (max-width: 520px) {
	main { 
		width:95%; 
		max-width:90%;
	}
	main fieldset .toggle label {
		width: 47%;
		max-width:47%;
	}
	.word {
	display: flex;
	gap: 5px;
	flex-direction: row;
	width: 50px;
	padding: 3px;
	text-align: center;
	justify-content: center;
	align-items: center;
	border: 1px inset #ddd;
}
}
