/*
Theme Name: American Webbery Minimal
Theme URI: https://americanwebbery.com/
Author: Peak Web Company
Author URI: https://peakwebcompany.com/
Description: A plain holding theme for American Webbery. No comments, no extras, just the page, the contact form, and a game of tic-tac-toe.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: american-webbery-minimal
*/

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #ffffff;
	color: #222222;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
}

a {
	color: #1a5fb4;
}

a:hover {
	text-decoration: none;
}

.awm-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #dddddd;
}

.awm-site-name {
	color: #222222;
	font-size: 1.25rem;
	font-weight: 700;
	text-decoration: none;
}

.awm-nav ul {
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.awm-nav a {
	color: #222222;
	text-decoration: none;
}

.awm-nav a:hover {
	text-decoration: underline;
}

main {
	max-width: 640px;
	margin: 0 auto;
	padding: 2rem 1.25rem 3rem;
}

h1,
h2 {
	line-height: 1.25;
}

.awm-footer {
	padding: 1.5rem 1.25rem 2rem;
	border-top: 1px solid #dddddd;
	color: #666666;
	font-size: 0.9rem;
	text-align: center;
}

/* Tic-tac-toe game */
.awm-game {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #dddddd;
}

.awm-status {
	font-weight: 700;
}

.awm-board {
	display: grid;
	grid-template-columns: repeat(3, 96px);
	gap: 6px;
	margin: 1rem 0;
}

.awm-cell {
	width: 96px;
	height: 96px;
	padding: 0;
	border: 1px solid #bbbbbb;
	border-radius: 6px;
	background: #f4f4f4;
	color: #222222;
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.awm-cell:hover:not(:disabled) {
	background: #e8e8e8;
}

.awm-cell:disabled {
	cursor: default;
}

.awm-score {
	color: #555555;
}

.awm-again {
	padding: 0.6rem 1.25rem;
	border: 1px solid #1a5fb4;
	border-radius: 6px;
	background: #1a5fb4;
	color: #ffffff;
	font-size: 1rem;
	cursor: pointer;
}

.awm-again:hover {
	background: #144a8a;
}

@media (max-width: 420px) {
	.awm-board {
		grid-template-columns: repeat(3, 88px);
	}

	.awm-cell {
		width: 88px;
		height: 88px;
	}
}
