
@font-face {font-family:'Lora';
	src:url('../../fonts/Lora-Regular.woff2') format('woff2'),
	url('../../fonts/Lora-Regular.woff') format('woff');
	font-weight:normal;font-style:normal;}
@font-face {font-family:'Lora';
	src:url('../../fonts/Lora-Italic.woff2') format('woff2'),
	url('../../fonts/Lora-Italic.woff') format('woff');
	font-weight:normal;font-style:italic;}
@font-face {font-family:'Lora';
	src:url('../../fonts/Lora-Bold.woff2') format('woff2'),
	url('../../fonts/Lora-Bold.woff') format('woff');
	font-weight:bold;font-style:normal;}

html, body{
	margin:0 auto;
	padding:0;
	width:100%;
	height:125%;
/*	overflow:hidden; */
	font-family: arial, sans-serif;
}

a {color: #337c33;}

#container{
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	height: 100%;
	display: flex;
	flex-direction: column;
}

/*logo*/
.logo{
	text-align: center;
	margin-top: 4px;
	cursor:pointer;
	text-shadow: 2px 3px 2px #000;
	transition:.5s;
	font-family: arial, sans-serif;
	cursor: default;
}


.logo_green, .logo_gold{
    font-size: 26px;
	color: #fff;
	width: 49px;
	height: 35px;
	border-radius: 12px;
	margin: 3px;
	padding-top:3px;
	display: inline-block;
}

.logo_gold{
    background-color: #db3;
}

.logo_green{
    background-color: #35a535;
}

/*nav bar*/
.nav_bar{
	text-align: center;
	height: 33px;
	margin-top: 11px;
}

.btn{
	padding: 4px;
	font-size: 19px;
	background: transparent;
	border: 0;
	cursor: pointer;
	border-bottom: 1px solid #dbdbdb;
	transition: .5s;
}

.btn:hover{
	opacity: .5;
	border-bottom: 1px solid #000;
}

#giveUpBtn{
	position: absolute;
	margin-left: -37px;
}

#levelSelectBtn{
	position: absolute;
	margin-left: -162px;
}

#difficultySelectBtn{
	position: absolute;
    margin-left: 85px;
}

/*game*/
.game_area{
	margin-top:5px;
}

.row, .row_block{
	display: flex;
	justify-content: center;
	margin: 5px;
}

.row_block{
	background-color:#fff;
	font-size: 45px;
    border: 1px solid;
    width: 56px;
    height: 51px;
	border-radius: 12px;
	transition: transform 1.6s;
}

/*notification*/
#notification{
	font-family: lora, arial, sans-serif;
	text-align: center;
	letter-spacing: 1px;
	font-size: 19px;
	margin-top: 5px;
	margin-bottom: 5px;
	height: 22px;
}

/* keyboard */
#keyboard{
	text-align:center;
	margin-top: 5px;
}

#topKeys, #midKeys, #botKeys{
	display: flex;
	justify-content:center;
}

.keyboardKey_s, .keyboardKey_m, .keyboardKey_l{
	background-color: #c5c5c5;
	font-size: 30px;
	height: 32px;
	padding: 5px 0;
	margin: 2.5px;
	display: flex;
	justify-content: center;
	font-family: arial,sans-serif;
	border-radius:5px;
	cursor: pointer;
}

.keyboardKey_s{
	width: 52px;
}

.keyboardKey_m{
	width: 58px;
}

.keyboardKey_l{
	width: 81px;background-color:#333;color:#fff;font-size:24px;padding-top:8px;height:29px;
}

@keyframes fadeIn {
            0% {opacity: 0;}
            100% {opacity: 1;}
         }

.blockGreen, .blockGrey, .blockGold{
/*	color:#fff;
	transform: rotateX(360deg);*/
	opacity: 1;
	animation-name: fadeIn;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 0.5s;
}

.blockGreen{
	background-color: #35a535;
}

.blockGrey{
	background-color: #99a;
}

.blockGold{
	background-color: #db3;
}

/*modal*/
#shadowBack{
	position: absolute;
	left: 0;
	background: #000;
	opacity: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	transition: .5s;
}

#modal{
	position: absolute;
	top: 125px;
	width: 350px;
	background: #fff;
	opacity: 0;
	left: calc(50% - 175px);
	z-index: 11;
	transition: .5s;
}

#modalClose{
	position: absolute;
	margin-top: 0px;
	margin-left:350px;
	font-size: 21px;
	color:#f00;
	cursor: pointer;
	padding: 5px 10px;
}

.modalBtn, .modalBtnL, .modalBtnM {
	width: 100%;
	font-size: 28px;
	cursor: pointer;
}

.modalBtn, .modalBtnL, .modalBtnM {
	padding: 23.5px;
}

.modalBtnM {font-size: 24px;}

.modalBtnL{
	padding: 87.5px;
}

.modalMessage{
	display: block;
	font-size: 22px;
	text-align: center;
	margin-top: 11px;
	line-height: 32px;
	letter-spacing: .5px;
}

.msBlock{
	display: inline-block;
	text-align: center;
    margin-top: 17px;
	width: 49%;
}

.msHead{
	display:block;
	font-size: 20px;
}

.msBody{
	display:block;
	font-size: 60px;
}

.scoreType{
	display: inline-block;
	width:50%;
	text-align: center;
    padding: 10px 0;
}

.scoreBtn, .scoreBtnActive{
	width: 25%;
	padding: 13px 0;
	cursor: pointer;
	transition:.5s;
}

.helpBtn, .helpBtnActive{
	width: 50%;
	padding: 13px 0;
	cursor: pointer;
	transition:.5s;
}

.scoreBtnActive, .helpBtnActive{
	background:#737373;
	color:#fff;
}

#mhBlock{
	padding: 8px;
	font-size: 15px;
}

.mhbHead{
	padding-bottom: 10px;
	border-bottom: 1px solid #bbbbbb;
}

.mhbBody{
	text-align: center;
}

.exampleRow{
	padding: 4px;
}

.exampleTile{
	font-size: 21px;
	padding: 5px;
	border: 3px solid #737373;
	width: 28px;
	margin: 3px;
	display: inline-block;
}

/* social */
.socialNav{
	height: 42px;
	text-align: center;
}

.modalSocialIcon{
	width: 35px;
	margin: 7px;
	cursor: pointer;
}

/* menu */
#menu{
	position: relative;
	top:7px;
}

.menuBtn{
	width:100%;
	padding: calc(6vh - 30px);
	font-size: 35px;
	cursor: pointer;
}

@media only screen and (max-width: 800px) {
	.game_area{
		margin-top: 1px;
		
	}
	.row, .row_block{
		margin: 2px;
	}
	.row_block {
		font-size: 40px;
		width: 45px;
		height: 44px;
	}
	#notification, .nav_bar{
		margin-top: 0;
		margin-bottom: 0;
	}
}

@media only screen and (max-width: 415px) {
	.game_area{
		margin-top: 1px;
		
	}
	.row, .row_block{
		margin: 2px;
	}
	.row_block {
		font-size: 28px;
		width: 30px;
		height: 30px;
	}
	.logo_green, .logo_gold {
		font-size: 21px;
		width: 32px;
		height: 27px;
	}
	.btn{
		font-size:15px;
	}
	#difficultySelectBtn{
		margin-left:-131px;
	}
	#levelSelectBtn{
		margin-left:57px;
	}
	#modal{
		width:300px;
		left:calc(50% - 150px);
	}
	#notification {
		height:15px;
		font-size:17px;
	}
	.nav_bar{
		margin-bottom:6px;
	}
	#modalClose {
		margin-left:215px;
		bsckground-color:#f00;
	}
	.modalBtnL, .modalBtn{
		padding:6vh;
	}
	.msBlock {
		margin-top: 22px;
		margin-bottom: 10px;
	}
	.msHead {
		font-size: 13px;
	}
	.msBody {
		font-size: 36px;
	}
	.mhbHead {
		font-size: 12px;
	}
	.helpBtn, .helpBtnActive {
		padding: 7px 0;
	}
	.exampleTile {
		font-size: 15px;
		padding: 4px;
		width: 21px;
	}
	.socialNav{
		display:none;
	}
}
#footer2 {margin-top:15px;text-align:center;}
#footer3 {margin-top:15px;text-align:center;}
 