html,
body {
	height: 100%;
}

body {
	margin: 0 !important;
}

#wrapper {
	display: flex;
	justify-content: center;
	flex-direction: column;
	min-height: 100%;
	padding: 1em;
	text-align: center;
}

#game,
.board-cnt {
    display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2em;
}

#game {
	margin-bottom: 1em;
}

.board {
    background: black;
    user-select: none;
    image-rendering: pixelated;
}

.points-cnt {
    font-size: 125%;
}

.word {
    font-size: 150%;
}

.word-invalid {
    color: #ff4500;
}

.word-duplicate {
    color: #ffa500;
}

.word-valid {
    color: #90ee90;
}

.timer {
    width: 100%;
}

.inner-timer {
    background: #5e9aff;
    height: 9px;
    border-radius: 4px;
    width: 100%;
}

.option {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
}

.played-words {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5em;
}

.played-words :nth-child(odd) {
    text-align: right;
}

.played-words :nth-child(even) {
    text-align: left;
}

hr {
	margin: 0 !important;
}

h1 {
	margin-bottom: 1.75rem !important;
}

.config {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
}

.word-logo {
	max-width: 100%;
	font-family: sans-serif;
	font-size: 8px;
}

.logo-line {
	stroke-dasharray: 100%;
	stroke-dashoffset: 100%;
	animation: logo-line-dash 500ms linear forwards;
	animation-delay: 150ms;
}

.share-cnt {
	display: flex;
	align-items: center;
}

.copy-btn {
	border-radius: 100%;
	aspect-ratio: 1;
}

.copy-btn svg {
	height: 1em;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.menu-background {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 5;
	width: 100%;
	height: 100%;
}

.menu-background ~ main {
	z-index: 6;
	background: #444;
	border-radius: 1em;
	width: fit-content;
	margin: auto;
	padding: 1em 2em;
	box-shadow: #333 1px 1px 3px 1px;
	overflow: auto;
	max-width: 100%;
}

@keyframes logo-line-dash {
	to {
		stroke-dashoffset: 0;
	}
}