.quartiles-solver {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.grid-container {
	display: grid;
	grid-template-columns: repeat(4, auto);
	grid-gap: 0.625rem;
	margin: 2.5rem auto 0.625rem;
}
.grid-item {
	display: flex;
	justify-content: center;
}
.grid-item input {
	width: 5.0rem;
	height: 3.0rem;
	padding: 0.3125rem;
	border: 0.125rem solid #97979c;
	border-radius: 0.625rem;
	box-sizing: border-box;
	box-shadow: 0.125rem 0.125rem 0.3125rem rgba(0, 0, 0, 0.2);
	font-family: sans-serif;
	font-size: 1rem;
	font-weight: bold;
	text-transform: lowercase;
	text-align: center;
}
.button-container {
	margin: 0.625rem 0;
}
.submit-button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 3.125rem;
	height: 3.125rem;
	border: none;
	border-radius: 50%;
	color: white;
	font-size: 1.75rem;
	cursor: pointer;
	background-color: midnightblue;
	box-shadow: 0.125rem 0.125rem 0.3125rem rgba(0, 0, 0, 0.2);
}
.solution-count-container {
	margin: 0.625rem 0;
}
.alphabetical-list-container {
	margin: 0.625rem 0;
	text-align: center;
}
.component-words-container {
	margin: 0.625rem 0;
	text-align: center;
}
.component-words {
	margin: 0.625rem 0;
	display: none;
}
.word-box-button {
	margin: 0.125rem;
	padding: 0.625rem;
	border-radius: 0.625rem;
	font-size: 1rem;
	font-weight: bold;
	color: black;
	background-color: #d3d3d3;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.word-box-button.clicked-valid {
	background-color: midnightblue;
	color: white;
}
.word-box-button.clicked-invalid {
	background-color: firebrick;
	color: white;
}
.loader {
	display: none;
	width: 2rem;
	height: 2rem;
	border: 0.25rem solid #f3f3f3;
	border-top: 0.25rem solid #3498db;
	border-radius: 50%;
	animation: spin 2s linear infinite;
}
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}
.visually-hidden {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
}