:root {
	--you: #2ecc71;
	--monster: #e74c3c;
}

.you {
	--clr-1: var(--you);
}

.healthbar {
	height: 40px;
	border-radius: 10px;
	background: #111;
	display: flex;
	place-items: center;
	text-align: center;
}

.bar {
	height: 100%;
	width: 100%;
	border-radius: inherit;
	display: grid;
	place-items: center;
	transition: width 0.2s;
	font-family: var(--ff-h);
	color: #fff;
}

.bar.you {
	background: var(--you);
}

.bar.monster {
	background: var(--monster);
}

#start-game,
#heal {
	--clr-1: var(--you);
}

#attack {
	--clr-1: var(--monster);
}

#special-attack {
	--clr-1: #f1c40f;
}

#give-up {
	--clr-1: #999;
}

.controls,
.log {
	text-align: center;
	padding: 10px;
	background-color: #111;
	border-radius: 10px;
}

.controls .col {
	display: flex;
	justify-content: center;
	gap: 1em;
}

.log {
	margin-top: 30px;
}

.log li {
	list-style: none;
}

.log .player-turn {
	color: var(--you);
}

.log .monster-turn {
	color: var(--monster);
}
