@font-face {
	font-family: 'meister';
	src: url('../fonts/meister.woff') format('woff');
	font-style: normal;
	font-weight: normal;
}

body {
	margin: 0;
	padding: 5rem;
	background: url('../img/background.jpg') no-repeat;
	background-size: cover;
	background-color: #0a240f;

	text-align: center;
	color: #F1EAD7;
	font-family: 'meister', sans-serif;
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	min-height: 1920px;
	box-sizing: border-box;
	font-size: 1.25rem;
}

header, section, footer {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

section {
	margin: 1rem auto;
}

#games {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin: 3rem 0;
}

#games a {
	color: inherit;
	text-decoration: none;
}

#games .game .cover {
	width: 340px;
	height: 340px;
	border: 2px solid #9B8250;
	display: flex;
	justify-content: center;
	align-items: center;
}

#games .game .cover span {
	display: inline-block;
	max-width: 200px;
	text-transform: uppercase;
	font-size: 1.5rem;
}

#games .game .button {
	width: 340px;
	border: 2px solid #EC6502;
	color: #F1EAD7;
	text-transform: uppercase;
	background-color: transparent;
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 0.5rem;
	font-size: 1.5rem;
}

#games .game .button span {
	margin: 0.75rem;
}

.gold {
	color: #9B8250;
}

.game-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	background-color: #00000063;
	backdrop-filter: blur(0.5rem);
	overflow: hidden;
}

.game-wrapper.visible {
	display: flex;
	justify-content: center;
	align-items: center;
}

#game {
	width: calc(100vw - 100px);
	height: calc(100vh - 100px);
	border: none;
}

.game-wrapper #close-game {
	position: fixed;
	top: 0.5rem;
	right: 0.5rem;
	cursor: pointer;
}
