.npcGrid{
	display: grid;
	grid-template-columns: repeat(auto-fill, 100px);
	justify-content: center;
	grid-gap: 0.5em;
}

.npcGrid .npc{
	position: relative;
}

.npcGrid .npc > .name{
	display: block;
	text-align: center;
}

.npcGrid .npc > a {
	display: block;
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
}

.npcGrid .npc>img {
	filter: grayscale(20%);
}

.npcGrid .npc:hover>img {
	filter: unset;
	outline: white 0.3em solid;
}




.relationshipModify {
	--rmColor: green;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto;
	grid-template-areas:
		"effectStrength label";
	grid-gap: 0 1rem;
	border: double var(--rmColor) 4px;
	cursor: pointer;
	position: relative;
}

.relationshipModify.negative {
	--rmColor: rgb(128, 0, 0);
}

.relationshipModify.neutral {
	--rmColor: rgb(128, 128, 128);
}

.relationshipModify.positive {
	--rmColor: green;
}

.relationshipModify .effectStrength {
	grid-area: effectStrength;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: bold;
	min-height: 5rem;
	width: 5rem;
	background: var(--rmColor);
	font-size: 1em;
}

.relationshipModify .label {
	grid-area: label;
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
}


.relationshipModify .symbols {
	position: absolute;
	right: 0;
	top: 0;
}
