/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	FONT
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/


/* latin-ext */
@font-face {
	font-family: 'Press Start 2P';
	font-style: normal;
	font-weight: 400;
	src: local('Press Start 2P Regular'), local('PressStart2P-Regular'), url(../fonts/8Lg6LX8-ntOHUQnvQ0E7o6SkDmgNrBPNFeI4cxdj3Ko.woff2) format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
	font-family: 'Press Start 2P';
	font-style: normal;
	font-weight: 400;
	src: local('Press Start 2P Regular'), local('PressStart2P-Regular'), url(../fonts/8Lg6LX8-ntOHUQnvQ0E7o69WAFmVxfVhVkWhl-QDeAk.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
}






/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	THE 300MS DELAY PROBLEM SOLVED
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

html {

	touch-action: manipulation;		/*	KILLS THE 300MS DELAY	*/
}



/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	BASICS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
				

* {

	box-sizing: border-box;
	
}


body {
	
	font-family: Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 100%;
	font-weight: 400;
	text-transform: none;

	padding: 0px;
	margin: 0px;
	
	background-color: white;
	
	overflow: hidden;

	user-select: none;	/*	KILLS THE OBJECT HIGHLIGHT ON TAP	*/
	-webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
	
	/*	AVOID PULL-TO-REFRESH ON ANDROID	*/
	overscroll-behavior-y: contain;
}




@media (orientation:landscape) {

	body {
	
		background-color: black;
	}
}


a {
	
	color: black;
	text-decoration: underline;
}


h1 {
	
	font-size: 56px;
	line-height: 120%;
	
	margin: 0px;
	margin-top: 20px;
	margin-bottom: 20px;
}




/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	LAYERS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/


#ALL {
	
	position: fixed;
	
	height: 100vh;
	width: 100vw;
	
	background-color: white;
	
	overflow: hidden;
}




/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	AGAMIS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/


.AGAMI {
	
	position: absolute;

	background-color: white;
	
	border-color: rgba(0,0,0,.1);
	border-style: solid;
	border-width: .1px;
	
	pointer-events: none;
	
	font-family: "Press start 2P", Helvetica, Arial, sans-serif;
	color: white;
	font-size: 8px;	/* 	WILL BE SET TO 10PX ONCE SCORE COUNT STARTS	 */
	
	background-image: none;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 50%;
	
	display: flex;
	justify-content: center;
	align-items: center;
}




@keyframes winner_heart_flash {

	0% { background-image: url(../images/heart.png); color: transparent; }
	49% { background-image: url(../images/heart.png); color: transparent; }
	50% { background-image: none; color: white; }
	100% { background-image: none; color: white; }
}



/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	AGAMI FOOD
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.food {
	
	position: absolute;
	
	background-color: #41464b;	
	
	border-width: .1px;
	border-style: solid;
	border-color: rgba(0,0,0,.6);
	
	display: flex;
	justify-content: center;
	align-items: center;
	
	pointer-events: none;
}


.shrink::before {
  content: '•';
}
	
	
	
	
	
	
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	TOUCH DIRECTION SETTER
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

#direction_setter {
	
	position: absolute;
	
	height: 3px;
	width: 3px;	

	pointer-events: none;
}	






/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	SNACKBAR
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/


#SNACKBAR {
	
	width: 100vw;
	
	text-align: center;
	
	position: fixed;
	
	z-index: 1;
	bottom: 50px;
	
	pointer-events: none;
	
	user-select: none;
	
	z-index: 9999999999;
}


#SNACKBAR div {
	
	display: inline-block;
	
	width: auto;
	max-width: 90vw;
	
	background-color: rgba(0,0,0,.6);
	
	font-family: Helvetiva, sans-serif;
	font-size: 18px;
	color: rgba(255,255,255,.8);
	
	border-radius: 10px;
	padding: 15px;
	padding-left: 20px;
	padding-right: 20px;
	
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	
	pointer-events: all;
	
	cursor: default;
}


#SNACKBAR div span {
	
	text-decoration: none; 
	
	pointer-events: all;
	
	cursor: pointer;
	
	padding: 15px;
	padding-left: 10px;
	padding-right: 0px;
	
	color: skyblue;
	
	cursor: pointer;
}



@keyframes fadein {
	
	from { opacity: 0;}
	to {opacity: 1;}
}



@keyframes fadeout {
	
	from {opacity: 1;}
	to {opacity: 0;}
}




/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	POINTS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.point_plus, .point_minus {
	
	position: absolute;
	
	height: 20px;
	width: 60px;
	
	display: flex;
	justify-content: center;
	align-content: center;
	
	font-family: "Press start 2P", Helvetica, Arial, sans-serif;
	font-size: 14px;
	text-align: center;
	font-weight: 600;
	
	z-index: 1000;
	
	animation: point_count .4s 0s forwards ease-in;
	
	pointer-events: none;
}

.point_minus {
	
	animation: point_count_down .4s 0s forwards ease-in;
}


@keyframes point_count {
	
	0% { margin-top: -30px; opacity: 1; }
	100% { margin-top: -60px; opacity: 0; }
}

@keyframes point_count_down {
	
	0% { margin-top: 30px; opacity: 1; }
	100% { margin-top: 60px; opacity: 0; }
}




/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	HAMBURGER
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/


#HAMBURGER {

	position: fixed;

	top: 0px;

	height: auto;
	width: auto;

	padding: 2vh;
	padding-right: 2vh;

	cursor: pointer;

	z-index: 999998;
	
	opacity: .3;
}


/*    DESKTOP    */
@media not (pointer: coarse) {
		
	#HAMBURGER:hover {
	
		opacity: 1;
	}
}


#HAMBURGER, #MENU #HAMBURGER_X {


	left: 0px;

	margin-left: 0px;
}




#MENU #HAMBURGER_X {

	position: absolute;

	top: 0px;
	left: 0px;

	opacity: 1;

	display: none;

}


#HAMBURGER div {

	height: 1vh;
	width: 3vh;
	
	display: block;

	background-color: black;

	margin-bottom: 1vh;
}






/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	PAUSE / PLAY
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

#PAUSE, #PLAY {
	
	position: fixed;

	top: 0px;
	right: 0px;
	
	height: auto;
	width: auto;
	
	padding: 2vh;
	padding-left: 2vh;
	
	cursor: pointer;
	
	opacity: .3;
	
	z-index: 999998;
}


/*    DESKTOP    */
@media not (pointer: coarse) {
	
	#PAUSE:hover, #PLAY:hover {
		
		opacity: 1;
	}	
}

#PAUSE div, #PLAY div {
	
	height: 1vh;
	width: 1vh;
	
	float: left;

	background-color: black;
}


#PAUSE div:nth-of-type(1),#PAUSE div:nth-of-type(3), #PAUSE div:nth-of-type(5), #PAUSE div:nth-of-type(7), #PAUSE div:nth-of-type(9) {
	
	margin-right: 1vh;
	
	clear: left;
}


#PLAY div:nth-of-type(2), #PLAY div:nth-of-type(4), #PLAY div:nth-of-type(7), #PLAY div:nth-of-type(9) {
	
	clear: left;
}

#PLAY div:nth-of-type(10) {
	
	display: none;
}






/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	MENU
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

#MENU {

	position: fixed;

	height: 100%;
	width: 350px;
	max-width: calc(100vw - 50px);

	font-family: Helvetiva, sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: black;
	line-height: 140%;
	text-align: center;

	padding: 10px;
	padding-top: 20px;
	padding-bottom: 100px;

	top: 0px;
	left: -350px;

	background-color: white;

	z-index: 999999;

	overflow-y: scroll;
	overflow-x: hidden; 

	border-right: 1px solid rgba(0,0,0,.1);
	
	cursor: default;
	
	transition: left .3s;

	display: none;
}





#MENU h1 {
	
	margin: 0px;
	margin-top: 30px;
	margin-bottom: 60px;
	
	font-family: "Press start 2P", Helvetica, Arial, sans-serif;
	font-size: 48px;
	line-height: 100%;
	text-transform: uppercase;
	
	text-shadow: .25px .25px 0 black, -.25px -.25px 0 black, .25px -.25px 0 black, -.25px .25px 0 black, 0px .25px 0 black, .25px 0px 0 black, 0px -.25px 0 black, -.25px 0px 0 black;
	
	cursor: pointer;
	
	user-select: none;
}



#MENUABDUNKLER {

	position: fixed;

	top: 0px;
	left: 0px;

	width: 100%;
	height: 100%;

	background-color: rgba(0,0,0,.1);

	display: none;
	
	cursor: default;

	z-index: 99;
}







/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	MENU BUTTONS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

#MENU .button, #MENU .button_active {
	
	display: inline-block;
	
	margin: 5px;

	padding: 10px;
	padding-left: 20px;
	padding-right: 20px;
	
	text-transform: capitalize;
	
	background-color: rgba(0,0,0,.05);
	border-radius: 10px;
	
	color: black;
	
	cursor: pointer;
	
	opacity: .9;
	
	user-select: none;
}

#MENU .button_active {
	
	background-color: rgba(0,0,0,.95);
	
	color: white;
}


#MENU .button:hover {
	
	opacity: 1;
	background-color: rgba(0,0,0,.1);
}

#MENU .button:active {
	
	background-color: rgba(0,0,0,.2);
}




