* {
	box-sizing: border-box;
}

body {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	font-family: system-ui, -apple-system,
		BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
		Ubuntu, Cantarell, 'Open Sans',
		'Helvetica Neue', sans-serif;
	font-style: normal;
	font-size: 25px;
	line-height: 50%;
	color: white;
}

.body-image {
	background: url('../img/background-image.gif')
		#20c6e4 no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: scroll;
	min-height: 100vh;
}

h1 {
	width: 100%;
	padding-top: 0;
	margin: 0;
	font-size: 3.7em;
	text-align: center;
	font-family: 'Nabla', system-ui;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-variation-settings: 'EDPT' 100, 'EHLT' 12;
}

.container {
	background: radial-gradient(
		50% 50% at 50% 50%,
		rgba(167, 237, 237, 0.3) 0%,
		rgba(156, 226, 226, 0) 100%
	);
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	width: 90%;
}

.hide {
	display: none;
}

.highlight {
	padding: 0.25em;
	background: #ffffff;
	font-size: 1em;
}

.underline {
	border-bottom: 2px solid #ffffff;
	padding-bottom: 3px;
}

.word-in-progress {
	letter-spacing: 0.6em;
	font-size: 1.2em;
}

.remaining {
	color: #f05299;
	background-color: #30c0b7;
	border-radius: 15px;
	padding: 0.3em;
	font-weight: 700;
	line-height: 1.6em;
	font-size: 1em;
}

.guessed-letters {
	padding: 0;
	list-style: none;
}

.guessed-letters li {
	display: inline-block;
	padding: 0 0.4em;
	font-weight: bolder;
	font-size: 1.2em;
}

.message {
	text-align: center;
	padding: 1em;
	margin-top: 2.5em;
}

.guess-form {
	margin-top: 1em;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.guess-form label {
	width: 100%;
	font-weight: bold;
	text-align: center;
}

input {
	width: 2.25em;
	text-align: center;
	font-size: 1.5em;
	margin-top: 1em;
	padding: 0.5em;
	border: 4px solid #ffffff;
}

input:active,
input:focus {
	outline: 0;
	border: 4px solid #ffffff;
}

.guess,
.play-again {
	padding: 1em 3em;
	border-radius: 50px;
	margin-top: 1em;
	color: black;
	background: #30c0b7;
	font-size: 1em;
	align-self: center;
	outline: none;
	border: 0;
	cursor: pointer;
}

.guess:active,
.play-again:active,
.guess:focus,
.play-again:focus,
.guess:hover,
.play-again:hover {
	outline: 0;
	transform: scale(0.98);
	filter: brightness(0.9);
}

/* Result conditions*/

img {
	height: 10em;
}

.stand-out {
	font-weight: bolder;
	color: #ee227d;
}

.win {
	font-size: 2em;
	padding: 0 1em;
	border-radius: 15px;
	line-height: 150%;
	background: linear-gradient(
		-45deg,
		#ee227d,
		#30c0b7
	);
}

.lost {
	font-size: 2em;
	padding: 0 1em;
	border-radius: 15px;
	line-height: 150%;
	background: linear-gradient(
		-45deg,
		#30c0b7,
		#ee227d
	);
}

/* @keyframes gradient {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
} */
