#landing {
	min-height: 300px;
}

#landing, #sub-landing {
	display: flex;
	flex-wrap: wrap;
	max-width: 480px;
	justify-content: center;
	align-content: flex-end;
}

#landing #sub-landing {
	font-size: 0.6em;
	display: flex;
  	flex-wrap: wrap;
}

#landing a, #sub-landing a {
	width: 180px;
	cursor: pointer;
}

#landing #sub-landing .section {
	border: 1px solid rgba(255, 255, 255, 0.3);
}

#landing #sub-landing .section div {
	display: none;
}

#landing #sub-landing h1 {
	font-weight: normal;
}

.desktop {
	display: none;
}

.section { 
	padding: 10px; 
	border-radius: 20px;
	margin: 10px;
  	text-align: center;
  	text-shadow: 0 0 4px #000;
  	opacity: 0.8;
  	border: 1px solid rgba(255, 255, 255, 0.8);
}

.section:active {
	padding: 6px;
	margin-bottom: 16px;
}

.section h1 {
	margin: 0;
	font-size: 1.4em;
	line-height: 1.6em;
}

.section:active h1{
	font-size: 1em;
}

#landing #sub-landing .section {
	padding: 3px 8px;
	filter: brightness(2);
}

.section h1 a, .section h1 a:hover {
	color: #fff;
}

.section div {
	display: none;
}
#minigames-landing{
	display: flex;
	flex-wrap: wrap;
}

.selected-game{
	opacity: 0.9;
	min-height: 400px;
	padding: 10px;
	border-radius: 8px;
	margin-bottom: 10px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	transition: 0.2s ease-in;
	width: 100%;
	margin: 6px;
}
.selected-game:hover{
	box-shadow: 0 0 8px 1px #fff;
}
.selected-game .game-name{
	font-size: 1.4rem;
}
.selected-game .game-title{
	width: 200px;
	border-radius: 8px;
	text-align: center;
}
.selected-game .game-title img{
	height: 200px;
	width: 200px;
	max-width: 350px;
	max-height: 350px;
	margin: 0 auto;
  	display: block;
}

.selected-game .game-how-to{
	line-height: 1.2rem;
	padding: 10px;
}
.selected-game h3{
	display: none;
}

@media only screen and (min-width: 620px) {
	.selected-game{
		width: calc(50% - 34px);
	}
	#landing, #sub-landing  {
		max-width: 100vw;
	}

	#landing a {
		width: 100%;
	}

	#landing > .section {
		width: 100%;
	}

	#sub-landing a {
		width: auto;
	}

	#landing .primary, #sub-landing .primary {
		width: calc(66% - 78px);
	}

	#landing .secondary, #sub-landing .secondary {
		width: 33%;
	}
	
	#landing #sub-landing .section:hover {
		box-shadow: 0px 0px 10px 4px #fff;
	}

	.mobile {
		display: none;
	}

	.desktop {
		display: block;
	}

	.section div {
		display: block;
		font-size: 1.3em;
	    line-height: 1.4em;
	    margin-top: 12px;
	}

	.section h1 {
		font-size: 1.8em;
	}
}

@media only screen and (min-width: 720px){
	.selected-game{
		width: calc(33% - 32px);
	}
}