body {
	position: relative;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
    background-image: url(../img/bg.jpg);
	background-position: bottom center;
	background-repeat:no-repeat;
	background-attachment:fixed;
	overflow: auto;
}

.header {
	position: fixed;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	left: 0; top: 0; width: 100%; max-height: 123px;
	background-color: rgba(0,0,0,0.5);
	box-shadow: 0 0 5px #fff, 0 0 10px dodgerblue, 0 0 15px dodgerblue;
	font-family: 'Comfortaa', cursive;
	color: white;
	font-size: 30px;
	text-shadow: 0 0 5px dodgerblue, 0 0 10px dodgerblue, 0 0 15px dodgerblue, 0 0 5px dodgerblue, 0 0 10px dodgerblue, 0 0 15px dodgerblue;
	z-index: 100;
}

.menu, .letter {
	display: flex;
	width: 1000px;
	align-items: center;
	justify-content: center;
}

.menu > .menu-item, .letter > .letter-item {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	text-shadow: 0 0 5px #000, 0 0 10px #000, 0 0 15px #000, 0 0 5px #000, 0 0 10px #000, 0 0 15px #000;
	cursor: pointer;
	padding: 10px;
}

.menu > .menu-item.active {
	text-shadow: 0 0 5px dodgerblue, 0 0 10px dodgerblue, 0 0 15px dodgerblue, 0 0 5px dodgerblue, 0 0 10px dodgerblue, 0 0 15px dodgerblue;
}

.letter > .letter-item.active {
	text-shadow: 0 0 5px orange, 0 0 10px orange, 0 0 15px orange, 0 0 5px orange, 0 0 10px orange, 0 0 15px orange;
}

.content {
	position: relative;
	font-family: 'Comfortaa', cursive;
	padding-top: 140px;
	width: 800px;
	display: flex;
	flex-wrap: wrap;
	--background: rgba(255, 0, 0, 0.3);
	z-index: 1;
	--margin: 0 auto;
	--overflow: auto;
	align-items: center;
	justify-content: center;
}

.content > .content-item {
    position: relative;
	display: flex;
	width: 20%;
	height: 200px;
	background: rgba(255,255,255,0.7);
	margin: 2%;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 3px;
	font-size: 12px;
	box-sizing: border-box;
	cursor: pointer;
	overflow: hidden;
	box-shadow: 0 0 10px #000;
}
.content > .content-item > .image {
    margin: auto auto;
    height: 100%;
}
.content > .content-item > .title {
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
    color: white;
    width: 100%;
    min-height: 50px;
}


canvas { display: block; max-width: 100vw; width: 800px; height: 576px; }

.LoadingFrame, .VideoFrame, .GameLoadingFrame, .GameControlFrame {  background-color: rgba(0,0,0,0.9); z-index: 1000; position: fixed; display: flex; left: 0; top: 0; width: 100vw; height: 100vh; align-items: center; justify-content: center; overflow: hidden; }
.LoadingFrame, .GameLoadingFrame, .GameControlFrame { background-color: rgba(0,0,0,0.9); flex-direction: column; font-family: 'Comfortaa', cursive;  color: white }
.LoadingFrame > .title, .GameLoadingFrame > .title { font-size: 50px }
.GameLoadingFrame > .progress { font-size: 60px }
.GameControlFrame {
	z-index: 2000;
}
.GameControlFrame:before {
	content: "";
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
    background-image: url(../img/keyboard.png);
	background-position: center center;
	background-repeat:no-repeat;
	background-attachment:fixed;
}
.GameControlFrame .close, .VideoFrame .close, .VideoFrame .controls {
	position: absolute;
	right: 50px;
	top: 50px;
	font-size: 20px;
	color: #fff;
	font-family: 'Comfortaa', cursive;
	cursor: pointer;
}

.GameControlFrame .close:hover, .VideoFrame .close:hover, .VideoFrame .controls:hover {
	text-shadow: 0 0 5px dodgerblue, 0 0 10px dodgerblue, 0 0 15px dodgerblue, 0 0 5px dodgerblue, 0 0 10px dodgerblue, 0 0 15px dodgerblue;
}

.VideoFrame .controls {
	top: 80px;
}