#game_content {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	position: relative;
}

#grid {
	position: relative;
	width: 100vw;
	height: 100vw;
	max-width: 1024px;
	max-height: 1024px;
	z-index: 2;
	overflow: hidden;
}
#player_info {
	position: absolute;
	left: 0;
	top: 0;
	text-align: center;
	width: 100%;
	opacity: 0.5;
	z-index: 1;
}
#time_gauge {
	position: relative;
	height: 9.5vh;
	width: 100%;
}

#current_gauge {
	position: absolute;
	bottom: 0px;
	left: 0;
	height: 9.5vh;
	width: 100%;
	background-color: #303F9F;
}
@media screen and (min-aspect-ratio: 1/1) {
	#game_content {
		margin-top: 10vh;
		height: 90vh;
	}
	#grid {
		width: 90vh;
		height: 90vh;
	}
	#player_info {
		height: 87.5vh;
	}
		
}
@keyframes pause-text {
    from {
        background-color: rgba(0, 0, 0, 1);
    }
    to {
        background-color: rgba(0, 0, 0, 0.5);
    }
}
#pause-text {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    animation-name: pause-text;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
}
#pause-text span {
	font-size: 5vh;
	font-weight: 500;
	text-align: center;
}
#pause-text span p {
	text-align: center;
	margin: 0;
}
#pause-text #start {
	font-size: 7.5vh;
	font-weight: bold;
	margin-top: 15vh;
}
#pause-text #touch {
	font-size: 4vh;
	margin-bottom: 15vh;
}
#total_score {
	font-size: 4.5vh;
    position: absolute;
    top: 2vh;
    text-align: center;
    font-weight: 500;
	color: #FFF;
	z-index: 4;
}

.gem, .bomb{
	position: absolute;
	width: 11%;
	height: 11%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 3px;
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

#content button{
	cursor:pointer;
	height: 30px;
	margin: 0px -5px 15px 0px;
	padding: 0 9px 0 9px;
	border: none;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

#content button:hover{
	background-color: #999;
}

#player_info button{
	cursor: pointer;
	margin-left: 10px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	background-color: rgba(238, 34, 34, 0.6);
	font-size: 10pt;
	color: #FFF;
}