/* CSS */
@import url('https://fonts.googleapis.com/css2?family=Annie+Use+Your+Telescope&family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Covered+By+Your+Grace&family=Kalam:wght@300;400;700&family=Kaushan+Script&family=Loved+by+the+King&family=Merienda:wght@300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Permanent+Marker&family=Rock+Salt&display=swap');
* {margin: 0; padding: 0; box-sizing: border=box;}
body{background-image: url('../img/background_image_old-wall.png');}

/*
Google fonts
	Annie Use Your Telescope
	Chakra Petch
	Covered By Your Grace
	Kalam
	Kaushan Script
	Loved by the King
	Merienda
	Montserrat
	Permanent Marker
	Rock Salt
*/

html
{
	--color-main-hover: #dcd8f3;
	--color-main-hue-90: #dcd8f3;
	--color-main-hue-80: #b8b1e7;
	--color-main-hue-70: #958adb;

	--color-main: slateblue;
	--color-main-hue-58: #6a5acd;

	--color-main-hue-35: #372a89;
	--color-main-hue-30: #2f2475;
	--color-main-hue-15: #17123b;

	--color-main-comp-hover: #dcd8f3;
	--color-main-comp-hue-90: #dcd8f3;
	--color-main-comp-hue-80: #b8b1e7;
	--color-main-comp-hue-70: #958adb;

	--color-main-comp: orange;
	--color-main-copm-hue-58: #6a5acd;

	--color-main-comp-hue-35: #372a89;
	--color-main-comp-hue-30: #2f2475;
	--color-main-comp-hue-15: #17123b;


	--font-family-stand-out: "Kaushan Script", cursive;
}

body.level01
{
	user-select: none;
	font-family:"Kalam", cursive;
	background-image: url('../img/background_image_old-wall.png');
	background-color: var(--color-main);
	border: 20px outset var(--color-main-hue-70);
	box-sizing: border-box;
}

div.level02
{
	display: block;
	justify-content: center;
	border: 5px outset var(--color-main-hue-80);
	height: auto;
	font-size: 36px;
}

div.level03
{
	margin: 20px;
}

img
{
	height: 150px;
	width: 150px;
	border-top: 2px solid grey;
	border-right: 4px solid grey;
	border-bottom: 4px solid grey;
	border-left: 2px solid grey;
}


h2#game-message, p#player-par-id
{
	border: 5px solid #ffc966;
	background-color: #ffdb99;
	text-align: Center;
}

h2#game-message
{
	border-radius: 40px;
}

p#player-par-id
{
	border-radius: 20px;
}

div#game-board
{
	overflow: hidden;
	margin: 5px auto;
	width: 620px;
}
div[id^="row-"] {clear: both;}
div[id^="row-"] div
{
	border: 5px solid orange;
	height: 200px;
	width: 200px;
	float: left;
	text-align: center;
	font-family: tahoma;
	font-size: 175px;
}



div#row-1 div {border-top: none;}
div#row-3 div {border-bottom: none;}
div[id^="row-"] div:first-child {border-left: none;}
div[id^="row-"] div:last-child {border-right: none;}


.hhhide {display: none;}
.ssshow {display: block;}


button#restart-game-id
{
	cursor: pointer;
	font-size: 20px;
	padding: 10px;
	margin: 7px;
	background-color: var(--color-main-hue-90);
	color: var(--color-main-hue-30);
	border-radius: 10px;
}

button#restart-game-id:hover
{
	background-color: var(--color-main-hue-80);
	color: var(--color-main-hue-30);
	transition: 500ms;
}

#player1-wins-id, #player1-losses-id, #player2-wins-id, #player2-losses-id, 
{
	padding: 10px;
}

.divmargin, .divpadding, img
{
	margin-top: 25px;
	vertical-align: top;
	text-align: center;
}

input#player-input-id-1, input#player-input-id-2
{
	width: 200px;
	border-radius: 10px;
} 

input#player-input-id-1, input#player-input-id-2
{
	animation: animate-player-1 ease-in-out 2500ms;
}

@keyframes animate-player-1 
{
	0%   {background-color: white;   color: black;   font-size: 36px; width: 200px;}
	25%  {background-color: #ffe6e6; color: #990000; font-size: 40px; width: 220px;}
	50%  {background-color: white;   color: black;   font-size: 36px; width: 200px;}
	75%  {background-color: #ffe6e6; color: #990000; font-size: 40px; width: 220px;}
	100% {background-color: white;   color: black;   font-size: 36px; width: 200px;}
}


input#player-input-id-2
{
	align-content: right;
}

#div-tie-id
{
	margin-left: 40px;
}

div#div-gameoptions
{
	font-size: 24px;
}

div.label-player
{
	border: 2px solid var(--color-main-hue-80);
	background-color: var(--color-main-hue-90);
	width: 200px;
	border-radius: 40px;
	text-align: center;
}