/**************
|  style.css  |
**************/

html {
	border-top: solid 1px navy;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: lightblue;
	box-sizing: border-box;
	text-align: center;
	height: 99.9vh;
	width: 100%;
	padding: 0;
	margin: 0;
	color: navy;
}

.main {
	background-color: #00003f;
	line-height: 1.4;
	height: 99.9vh;
	width: 100%;
	margin: auto;
	color: #eee;
}

#title {
	font-size: 43px;
	color: crimson;
	padding-top: 25px;
	margin-top: 0;
	letter-spacing: 0.05em;
}

#button1,
#button2 {
	width: 400px;
	margin: 40px auto;
	padding: 10px;
	font-size: 30px;
	font-weight: bold;
	letter-spacing: 0.05em;
	text-decoration: none;
	background-color: darkblue;
	border: solid 2px lightblue;
	color: lightblue;
	margin-bottom: 10px;
	display: block;
	cursor: pointer;
}

#button1:hover,
#button2:hover {
	background-color: lightcoral;
	border: solid 2px crimson;
	color: crimson;
}

#button1:active,
#button2:active {
	outline: none;
}

.button1:focus,
.button2:focus {
	outline: none;
}

p {
	padding: 10px;
	font-size: 20px;
	margin: 40px auto;
	color: lightblue;
	letter-spacing: 0.05em;
}

.container {
	display: flex;
	flex-direction: column;
}

.gameboard {
	margin: 0 auto;
	width: 380px;
	text-align: center;
	padding: 40px 40px 0;
	text-align: center;
	display: none;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

button {
	width: 60px;
	height: 60px;
	cursor: pointer;
	font-size: 36px;
	padding: 0 4px 4px;
	text-align: center;
	margin-bottom: 3px;
	background-color: navy;
	border: 2px solid black;
}

.scoreboard {
	width: 380px;
	margin: auto;
	text-align: center;
	padding: 0 40px;
	display: none;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.item {
	width: 40%;
	padding: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

#player1,
#player2 {
	font-size: 36px;
	margin: 0 auto 6px;
}

#score1,
#score2 {
	background-color: lightgoldenrodyellow;
	border: 3px solid navy;
	border-radius: 12px;
	padding: 10px 25px;
	font-size: 30px;
	color: navy;
	margin: 0 auto;
	width: 100px;
}

.messages {
	margin: auto;
	width: 380px;
	padding: 0 40px;
	text-align: center;
}

#messages {
	color: crimson;
	margin: 10px auto;
}

#messages a {
	color: crimson;
	text-decoration: none;
}

#messages a:hover {
	color: navy;
}

.disabled {
	cursor: default;
	pointer-events: none;
}
