.grid {
	display: grid;
	grid-template-columns: repeat(3, 180px); /* 3 columns of 200px each */
	grid-template-rows: repeat(3, 180px); /* 3 rows of 200px each */
	gap: 20px; /* spacing between buttons */
	justify-content: center; /* center grid horizontally */
	margin-top: 10px; /* optional vertical spacing */
	font-family: Arial, "Segoe UI", sans-serif;
	font-size: 60px;
}

button {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: gray;
	color: aliceblue;
	border: 2px solid black;
	border-radius: 0%;
	font-family: "Courier New", Courier, monospace;
	font-size: 100px;
	cursor: pointer;
}

button:focus {
	outline: none;
}

.gridReset {
	display: grid;
	grid-template-columns: repeat(1, 180px);
	grid-template-rows: repeat(1, 75px);
	gap: 5px;
	justify-content: center;
	margin-top: 50px;
}

#reset {
	width: 180px;
	height: 50px;
	font-size: 20px;
}

body {
	font-family: "Courier New", Courier, monospace;
}

footer {
	size: 10px;
	text-align: center;
}

.container {
	max-width: 960px;
	width: 100%;
	margin: 0 auto;
	padding: 22px;
	box-sizing: border-box;
	text-align: center;
	position: relative;
}

.return {
	position: absolute;
	left: -22px;
	top: 50%;
	transform: translateY(-50%);
}

.return a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background: #e0e7ff;
	border-radius: 50%;
	border: 1.5px solid transparent;
	text-decoration: none;
}

.return a:hover {
	background: #ffffff;
}

h2 {
	margin: 12px 0;
	font-size: 3rem;
	color: #0f172a;
}

@media (max-width: 640px) {
	.grid {
		grid-template-columns: repeat(3, 120px);
		grid-template-rows: repeat(3, 120px);
		gap: 15px;
		margin-top: 30px;
	}
	button {
		font-size: 80px;
	}
	.gridReset {
		margin-top: 30px;
		grid-template-columns: repeat(1, 120px);
	}
	#reset {
		width: 120px;
		height: 40px;
		font-size: 16px;
	}
	body {
		padding: 18px;
	}
	.container {
		padding: 18px;
	}
	h2 {
		font-size: 2rem;
	}
	.return {
		left: -18px;
	}
	.return a {
		width: 25px;
		height: 25px;
	}
}
