.minigames{ 
    display: block;
    text-align: center;
}

h1{
	padding: 12px;
    margin: 0;
    border-radius: 8px;
    font-size: 1.75rem;
    font-weight: normal;
}

#game-stats{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#game-stats div{
	padding: 10px 3px;
	border-radius: 8px;
	margin-right: 8px;
	font-size: 0.8rem;
	margin-top: 8px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 150px;
}

#game-stats div span{
	width: 100%;
	font-weight: bold;
	font-size: 1.5rem;
	margin-top: 3px;
	line-height: 1.7rem;
}

.pull-right{
	float: right;
	border-radius: 8px;
	border: none;
	margin: 0;
	padding: 3px;
	top: 0;
	position: relative;
	text-indent: 8px;
	font-size: 1rem;
	width: 150px;
}

#high-scores, #personal-bests{
	width: 100%;
}

#high-scores, #personal-bests, #high-scores > div, #personal-bests > div, #high-scores .level, #personal-bests .level{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#high-scores .level, #personal-bests .level, #high-scores .high-score, #personal-bests .personal-best{
	width: 100%;
	display: flex;
	justify-content: center;
}

.username{
	margin-right: 20px;
}

.minigames h2{
	margin: 10px 0;
	font-size: 1.5rem;
}

.game, .game-personal-best{
	display: block;
	margin: 5px;
	border-radius: 16px;
	border-width: 5px;
}

.game h3, .game-personal-best h3{
	padding: 5px 10px;
	margin: 0;
	border-top-right-radius: 9px;
	border-top-left-radius: 9px;
	text-transform: none;
	font-size: 1.2rem;
	font-weight: normal;
	text-align: left;
	width: 100%;
	text-align: center;
}

.game h4, .game-personal-best h4{
	position: relative;
	font-size: 1.2rem;
	text-indent: 5px;
	font-weight: normal;
	text-align: left;
	padding: 3px 0;
	top: 0;
	margin-bottom: 0;
}

.game h3 svg{
	margin-right: 5px;
}

.game img, .game-personal-best img{
	border-radius: 30px;
	border: 1px solid #ccc;
	margin: 3px 5px;
	background: #fff;
	margin-right: 20px;
}

.level{
	width: 215px;
	margin-bottom: 20px;
	border-radius: 8px;
}

.level .high-score, .level .personal-best{
	padding: 0 5px;
	display: flex;
	align-items: center;
}

.level .high-score span, .level .personal-best span{
	font-size: 1rem;
}

.level .high-score:last-child, .level .personal-best:last-child{
	/*border: none;*/
}

.placement{
	margin-right: 5px;
}

#main-scores{
	margin-top: 10px;
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	padding: 10px;
}

select[name="gamename"]{
	font-size: 0.9rem;
	float: right;
}

@media only screen and (min-width: 700px){
	#game-stats div{
		width: auto;
	}
	
	#game-stats{
		flex-wrap: nowrap;
	}
	#high-scores, #personal-bests{
		width: 50%;
	}
}