#svgapp {
	margin: auto;
}

#messageBox {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	background-color: #222222;
	padding-top: 5px;
	padding-bottom: 5px;
}

#clickText {
	font-family: Verdana;
	color: #dddddd;
}

#controls {
	display: grid;
	justify-content: center;
	align-items: center;
	grid-column-gap: 2px;
	grid-row-gap: 2px;
}

.controlButton {
	font-family: Verdana;
	background-color: #016e87;
	color: #dddddd;
	border-style: none;
	border-radius: 2px;
}

@media screen and (max-width: 390px) {
	
	#svgapp {
		width: 325px;
		height: 454.81px;
	}
	
	#messageBox {
		width: 250px;
	}
	
	#clickText {
		font-size: 12px;
	}
	
	#controls {
		grid-template-columns: 75px 75px 75px 75px;
	grid-template-rows: 20px;
	}
	
	.controlButton {
		width: 75px;
		height: 20px; 
		font-size: 12px;
	}
}

@media screen and (max-width: 450px) {
	
	#svgapp {
		width: 325px;
		height: 454.81px;
	}
	
	#messageBox {
		width: 300px;
	}
	
	#clickText {
		font-size: 12px;
	}
	
	#controls {
		grid-template-columns: 75px 75px 75px 75px;
	grid-template-rows: 20px;
	}
	
	.controlButton {
		width: 75px;
		height: 20px; 
		font-size: 12px;
	}
}

@media screen and (max-width: 600px) {
	
	#svgapp {
		width: 325px;
		height: 454.81px;
	}
	
	#messageBox {
		width: 350px;
	}
	
	#clickText {
		font-size: 12px;
	}
	
	#controls {
		grid-template-columns: 75px 75px 75px 75px;
		grid-template-rows: 20px;
	}
	
	.controlButton {
		width: 75px;
		height: 20px; 
		font-size: 12px;
	}
}

@media screen and (min-width: 600px) {
	
	#svgapp {
		width: 350px;
		height: 489.8px;
	}
	
	#messageBox {
		width: 450px;
	}
	
	#clickText {
		font-size: 12px;
	}
	
	#controls {
		grid-template-columns: 100px 100px 100px 100px;
		grid-template-rows: 25px;
	}
	
	.controlButton {
		width: 100px;
		height: 25px; 
		font-size: 12px;
	}
}

@media screen and (min-width: 768px) {
	
	#svgapp {
		width: 400px;
		height: 559.77px;
	}
	
	#messageBox {
		width: 500px;
	}
	
	#clickText {
		font-size: 14px;
	}
	
	#controls {
		grid-template-columns: 125px 125px 125px 125px;
	grid-template-rows: 35px;
	}
	
	.controlButton {
		width: 125px;
		height: 35px; 
		font-size: 14px;
	}
}

@media screen and (min-width: 1024px){
	
	#svgapp {
		width: 400px;
		height: 559.77px;
	}
	
	#messageBox {
		width: 500px;
	}
	
	#clickText {
		font-size: 14px;
	}
	
	#controls {
		grid-template-columns: 125px 125px 125px 125px;
	grid-template-rows: 35px;
	}
	
	.controlButton {
		width: 125px;
		height: 35px; 
		font-size: 14px;
	}
}

@media screen and (min-width: 1200px){
	
	#svgapp {
		width: 450px;
		height: 629.74px;
	}
	
	#messageBox {
		width: 550px;
	}
	
	#clickText {
		font-size: 16px;
	}
	
	#controls {
		grid-template-columns: 125px 125px 125px 125px;
	grid-template-rows: 35px;
	}
	
	.controlButton {
		width: 125px;
		height: 35px; 
		font-size: 16px;
	}
}


@media screen and (min-width: 1400px){
	
	#svgapp {
		width: 500px;
		height: 699.71px;
	}
	
	#messageBox {
		width: 600px;
	}
	
	#clickText {
		font-size: 16px;
	}
	
	#controls {
		grid-template-columns: 125px 125px 125px 125px;
	grid-template-rows: 35px;
	}
	
	.controlButton {
		width: 125px;
		height: 35px; 
		font-size: 16px;
	}

}

