.game-info img{
	height: 150px;
	width: 150px;
	margin-right: 10px;
	border-radius: 8px;
	transition: 0.2s ease-in;
	cursor: pointer;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
#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;
}
#selected-game:hover{
	box-shadow: 0 0 8px 1px #fff;
}
#selected-game .game-name{
	font-size: 1.4rem;
}
#selected-game .game-title{
	width: 300px;
	border-radius: 8px;
	text-align: center;
}
#selected-game .game-title img{
	height: 100%;
	width: 100%;
	max-width: 350px;
	max-height: 350px;
}

#selected-game .game-how-to{
	line-height: 1.2rem;
	padding: 10px;
}
#selected-game h3{
	display: none;
}
#games-carousel{
	width: 80%;
	margin: 0 auto;
	overflow: hidden;
	padding: 5px;
}
#games-carousel .inner{
	display: flex;
	position: relative;
	left: -4155px;
	transition: 0.3s ease-in;
}
#public-games{
	position: relative;
}
.carousel-arrow{
	font-size: 3rem;
	position: absolute;
	top: 80px;
	cursor: pointer;
}
.carousel-arrow.left{
	left: 5px;
}
.carousel-arrow.right{
	right: 5px;
}
#public-games h2{
	font-size: 1.4rem;
}

#game-categories{
	display: flex;
	flex-wrap: wrap;
}
#game-categories h2{
	width: 100%;
	font-size: 1.4rem;
}

#game-categories .category{
	padding: 10px;
	border-radius: 8px;
	margin: 5px 10px 5px 0px;
	font-size: 1rem;
	text-align: center;
	font-weight: bold;
	cursor: pointer;
	transition: 0.2s ease-in;
	border: 1px solid rgba(255, 255, 255, 0.5);
}
#game-categories .category:hover{
	box-shadow: 0 0 8px 1px #fff;
}
#game-categories .category .games{
	display: none;
}
#leaderboards a{
	border-radius: 8px;
	margin: 0 auto;
	padding: 10px;
	text-align: center;
	display: block;
	font-size: 1.8rem;
	text-transform: normal;
	max-width: 300px;
	margin-top: 30px;
	cursor: pointer;
}
.dark-theme #leaderboards a:hover{
	color: #fff;
	text-decoration: none;
}

#daily-quests {
	display: flex;
	flex-wrap: wrap;
}
#daily-quests h2{
	width: 100%;
}
.subsection{
	width: calc(50% - 30px);
	min-height: 200px;
	border-radius: 8px;
	margin: 10px;
	text-align: center;
	display: inline-block;
	position: relative;
	border: 1px solid rgba(255, 255, 255, 0.5);
	transition: 0.2s ease-in;
	overflow: hidden;
}

.subsection:hover {
	box-shadow: 0 0 8px 1px #fff;
}

.subsection img {
	max-width: 150px;
}
.subsection a span {
	font-size: 1.2em;
	line-height: 2em;
	width: 100%;
	display: block;
}
.subsection h3{
	font-size: 1.4em;
}
.subsection div{
	font-size: 1.2em;
	line-height: 1.8em;
}
.subsection a:hover{
	color: #fff;
}
#leaderboards a {
	border: 1px solid rgba(255, 255, 255, 0.5);
}
#leaderboards a:hover {
	box-shadow: 0 0 8px 1px #fff;
}

h2 a:hover{
	color: #fff;
}
@media only screen and (min-width: 500px){
	#selected-game{
		display: flex;
	}
	#selected-game a{
		display: flex;
		flex-wrap: wrap;
	}
	#selected-game .game-name{
		width: 100%;
	}
	#selected-game .game-title{
		margin-right: 10px;
		width: 360px;
	}
	#selected-game .game-title img{
		height: 350px;
		width: 350px;
	}
	#selected-game .how-to-text{
		width: calc(100% - 360px);
		display: block;
		line-height: 1.4rem;
		margin-top: 35px;
	}
	#selected-game .game-how-to{
		font-size: 0.9rem;
		line-height: 1.4rem;
	}
	#selected-game h3{
		width: 100%;
		position: relative;
		display: block;
		top: 0;
		text-transform: none;
		font-size: 1.4rem;
		font-weight: normal;
		height: 30px;
		text-align: center;
	}
	.game-info img:hover{
		box-shadow: 0 0 8px 1px #fff;
	}
	.game-info span{
		text-align: center;
		display: block;
		font-size: 0.9rem;
		margin-top: 5px;
	}
	.subsection {
		width: calc(33% - 20px);
	}
	.subsection img {
		max-width: 250px;
	}
	.subsection a span {
		font-size: 1.6em;
	}
}
@media only screen and (min-width: 600px){
	#selected-game{
		padding: 20px;
	}
	.carousel-arrow{
		font-size: 5rem;
		top: 60px;
	}
	.carousel-arrow.left{
		left: 15px;
	}
	.carousel-arrow.right{
		right: 15px;
	}
	#game-categories .category{
		width: 25%;
		width: calc(25% - 32px);
	}
}
@media only screen and (min-width: 768px){
	.carousel-arrow.left{
		left: 30px;
	}
	.carousel-arrow.right{
		right: 30px;
	}
}
