/*
* Plugin Name: TOFE Hangman
* Description: The Hangman game.
* Version: 1.0
* Text Domain: tofe-hangman
* Author: RedHost
* Author URI: https://www.redhost.gr
*/

#tofe-hangman {
	margin-top: -4rem;
	text-align: center;
}

#tofe-hangman .word > div {
	background: #57bcbc;
	border: 0.2rem solid #FFFFFF;
	display: inline-block;
	margin: 0.5rem;
	padding: 1rem;
	font-size: 1.4rem;
	font-weight: 700;
}

#tofe-hangman .letters,
#tofe-hangman .hangman {
	display: inline-block;
}

#tofe-hangman .letters > button {
	border: 1px solid #fff;
	background: #000000;
	margin: 0.2rem;
	font-weight: 600;
	color: #fff;
	width: 2rem;
	height: 2rem;
}

#tofe-hangman .hangman .box-content {
	border: 0.3rem solid #000;
	background: #f15a29;
	width: 300px;
	height: 300px;
	position: relative;
}
#tofe-hangman .basis {
	border-bottom: 12px solid #FFFFFF;
	position: absolute;
	bottom: 20px;
	left: 26px;
	display: none;
	width: 120px;
}
#tofe-hangman .gibbet {
	border-left: 12px solid #FFFFFF;
	border-top: 12px solid #FFFFFF;
	position: absolute;
	bottom: 20px;
	left: 60px;
	display: none;
	width: 140px;
	height: 250px;
}
#tofe-hangman .rope {
	border-right: 12px solid #FFFFFF;
	position: absolute;
	top: 30px;
	left: 160px;
	display: none;
	width: 40px;
	height: 40px;
}
#tofe-hangman .head {
	border: 10px solid #FFFFFF;
	border-radius: 50%;
	position: absolute;
	left: 165px;
	top: 69px;
	display: none;
	width: 60px;
	height: 60px;
}
#tofe-hangman .body {
	border-right: 12px solid #FFFFFF;
	position: absolute;
	left: 120px;
	top: 120px;
	display: none;
	width: 80px;
	height: 80px;
}
#tofe-hangman .limbs {
	border-right: 10px solid #FFFFFF;
	border-top: 10px solid #FFFFFF;
	position: absolute;
	transform: rotate(-45deg);
	width: 60px;
	height: 60px;
}
#tofe-hangman .limbs-left {
	border-top: 10px solid #FFFFFF;
	position: absolute;
	transform: rotate(-45deg);
	width: 60px;
	height: 60px;
}
#tofe-hangman .limbs-right {
	border-right: 10px solid #FFFFFF;
	position: absolute;
	transform: rotate(-45deg);
	width: 60px;
	height: 60px;
}
#tofe-hangman .hands {
	display: none;
	left: 165px;
	top: 150px;
}
#tofe-hangman .legs {
	display: none;
	left: 165px;
	top: 195px;
}

#tofe-hangman .message {
	font-size: 1.4rem;
	font-weight: 900;
	text-transform: uppercase;
}
#tofe-hangman .blink {
	animation: blinker 1s linear infinite;
}

@keyframes blinker {
	50% {
		opacity: 0;
	}
}

#tofe-hangman .result {
	display: none;
}

#tofe-hangman .restart {
	padding-bottom: 2rem;
}

#tofe-hangman .restart .box-content {
	background: #fff;
	border: 0.3rem solid #000;
	color: #f15a29;
	padding: 1rem;
	font-size: 1.2rem;
	font-weight: 900;
	text-transform: uppercase;
}
#tofe-hangman .restart .box-content:hover {
	background: #f15a29;
	color: #fff;
	cursor: pointer;
}