:root {
	--cursor-width: 100px;
}

body, html {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;

	font-family: "Orbitron";
}

/* ############################################ */
/* ###############    START    ################ */
/* ############################################ */
#startScreen, #endScreen{
	height: 100%;
	display: flex;
	flex-direction: column;

	header, footer {
		padding: 15px 30px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		/*background: rgba(255, 255, 255, 0.05);*/
		/*background: #00d4ff;*/
		background: #12c4e8;
		color: #fff;
		backdrop-filter: blur(10px);
	}

		header a, footer a {
		color: #fff;
		text-decoration: none;
		margin-right: 15px;
		font-size: 0.9rem;
		transition: color 0.3s;
	}

	header a:hover, footer a:hover {
		color: #ffffff;
	}

	.center {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		color: #fff;
		background: url("../img/start-background.jpg");
		background-size: cover;
		background-position: 50% 100%;
	}

	h1 {
		font-size: 3rem;
		margin-bottom: 10px;
		letter-spacing: 2px;
	}

	p {
		margin-bottom: 30px;
		opacity: 0.8;
	}

	.btnStart {
		padding: 15px 40px;
		font-size: 1.2rem;
		border: none;
		border-radius: 50px;
		/*background: linear-gradient(45deg, #ff4e50, #f9d423);*/
		background: linear-gradient(45deg, #00d4ff, #14619a);
		color: #fff;
		transition: transform 0.2s, box-shadow 0.2s;
	}

	.btnStart:not(:disabled):hover {
		cursor: pointer;
		transform: scale(1.1);
		box-shadow: 0 0 20px rgba(255,255,255,0.5);
	}

	.logo {
		font-weight: bold;
		font-size: 1.2rem;
		color: #fff;
	}
}

/* ############################################ */
/* #################    END    ################ */
/* ############################################ */
#endScreen{
	.finalScore{
		font-size: 26px;
	}
}

/* ############################################ */
/* ################    GAME    ################ */
/* ############################################ */

#gameScreen{
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: url('../img/background.jpg');
	background-size: cover;
	background-position: 50% 50%;
}

#shootSource{
	position: absolute;
	left: 50.1%;
	bottom: 15.7%;
	width: 20px;
	height: 20px;
	background: red;
}

.cursor{
	position: fixed;
	top: 50%;
	left: 70%;
	width: var(--cursor-width);
	transform: translate(-50%, -50%);
	z-index: 99;
	cursor: none;
}

#cursorLeft{
	left: 30%;
	transform: scaleX(-1) translate(50%, -50%);
}

.cursorImg{
	width: 100%;
	height: 100%;
	cursor: none;
}

.cursor:hover, .cursorImg:hover{
	cursor: none;
}

#pointsPopup{
	position: absolute;
	font-size: 3em;
	color: white;
	text-align: center;
	z-index: 999;
}

#messagePopup{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 3em;
	color: white;
	text-align: center;
	z-index: 999;
}

#overlayGestures{
	width: 100%;
	height: 100%;
	position: fixed;
	top:0;
	left: 0;
	z-index: 9999;
}

#overlayGestures, .cursor{
	pointer-events: none;	
}

.mask:hover, .behind:hover {
	cursor: pointer;
}


#inputVideo{
	width: 300px;
	/*height: 100%;*/
	transform: scaleX(-1);
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 9999;
}

.handCursor{
	position: absolute;
}

.handCursor.leftHand{
	border: 2px solid red;
}
.handCursor.rightHand{
	border: 2px solid green;
}

.ball{
	position: absolute;	
	background: url('../img/ball.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	box-shadow: -2px 1px 8px 3px #3685a6;	  /* start */
	/*box-shadow: 9px 0px 8px 4px #3685a6; */ /* end */
	border-radius: var(--cursor-width);
}

.target{
	position: relative;
	width: 50px;
	height: 50px;
	transition: all 0.5s ease-in;
	z-index: 99;
}

.waterBottle{
	position: absolute;
	background: url('../img/bottle.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.semi-transparent{
	background-color: rgba(0, 0, 0, 0.85);
}

#score, #timerContainer{
	position: absolute;
	top: 6px;
	
	color: #fff;
	z-index: 999;
	font-size: 40px;
	font-family: "Orbitron", cursive;
	font-optical-sizing: auto;
	font-weight: normal;
	font-style: normal;
}

#score{
	left: 20px;
}

#timerContainer{

	right: 20px;
}

#timerBonus{
	display: inline-block;
	color: #09b8eb;
}

#timer{
	display: inline-block;
}