.slots {
	background: var(--card-color);
	border: 0.5px solid var(--border-color);
	margin: auto;
	margin-bottom: 20px;
	border-radius: 10px;
}

.slot:empty {
	background: #f4ede2;
	border: solid 0px var(--black);
	z-index: -99;
	position: relative;
}

.message {
	height: 40px;
	line-height: 40px;
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 7px;
	width: 100%;
	width: fit-content;
	margin: auto;
	margin-top: -70px;
	margin-bottom: 30px;
	background: var(--white);
	z-index: 99;
	position: relative;
	pointer-events: none;
}

.message:empty {
	background: none;
}

.letter,
.slot {
	text-align: center;
	font-size: 28px;
	background: #f5ce94;
	width: calc(14.28% - 4px);
	margin: 2px;
	height: 60px;
	line-height: 60px;
	border-radius: 7px;
	cursor: pointer;
	font-weight: 700;
	border-bottom: 5px solid rgba(0, 0, 0, .1);
	overflow: hidden;
	color: #333333;
	/* Mobile touch optimization */
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	-webkit-user-select: none;
	user-select: none;
}

.letter:empty {
	visibility: hidden;
}

.word {
	display: inline-block;
	margin: 15px;
	color: transparent;
	line-height: 23px;
}

.wordletter {
	display: inline-block;
	border-bottom: solid 3px var(--black);
}

.wordletter:first-child {
	text-transform: uppercase;

}

.found {
	color: var(--black);
}

.revealed .wordletter {
	border-color: grey;
	color: grey
}

.bonus {
	display: none;
}



.bonus .wordletter {
	border-color: #00a232;
}


.bonus.found {
	display: inline-block;
	color: #00a232;
}

.controls div {
	padding: 8px;
	color: var(--white);
	background: var(--black);
	border-radius: 7px;
	width: calc(25% - 4px);
	margin: 2px;
	cursor: pointer;
}


.flip {
	transform: rotateX(180deg);
	animation: flip 0.8s forwards;
	transform-style: preserve-3d;
	perspective: 1000px;
}

@keyframes flip {
	0% {
		transform: rotateX(180deg);
	}

	100% {
		transform: rotateX(0deg);
	}
}