.enemy-img {
	max-width:100%;
	max-height:100%;
}

.bullet {
	height: 25px;
	width: 25px;
	position: absolute;
	top: 0px;
	left: 0px;
	will-change: transform;
}

.bullet img {
	max-width: 100%;
	max-height: 100%;
}

.enemyLaser {
	position: absolute;
	top: 0px;
	left: 0px;
	will-change: transform;
}

.enemyLaser img {
	max-width: 100%;
	max-height: 100%;
}

.fastFirePickup,
.fastMovePickup {
	position: absolute;
	top: 0px;
	left: 0px;
	will-change: transform;
}

.fastFirePickup img,
.fastMovePickup img {
	max-width: 100%;
	max-height: 100%;
}

.endGame {
	color: #00FF00;
	font-family: "Courier New";
}

#player {
	background-color: #000000;
	height: 50px;
	width: 50px;
	position: absolute;
	top: 0px;
	left: 0px;
	will-change: transform;
}

body {
	background-image: url("../assets/background.png"); 
	animation: backgroundScroll 10s linear infinite;
}

.enemy {
	position: fixed;
	top: 0px;
	left: 0px;
	will-change: transform;
}

#score {
	color: #FFFFFF;
	font-family: "Courier New";
}

#lives {
	color: #FFFFFF;
	font-family: "Courier New";
}

#touchControls {
	display: none;
}

@keyframes backgroundScroll {
    from {background-position: 0 0;}
    to {background-position: 0px -800px;}
}

@media (hover: none) and (pointer: coarse) {
	body {
		margin: 0;
		min-height: 100vh;
		overflow: hidden;
		touch-action: none;
		-webkit-user-select: none;
		user-select: none;
	}

	#score,
	#lives {
		background: rgba(0, 0, 0, 0.55);
		font-size: 16px;
		left: 10px;
		left: max(10px, env(safe-area-inset-left));
		line-height: 20px;
		padding: 2px 6px;
		position: fixed;
		z-index: 30;
	}

	#score {
		top: 12px;
		top: max(12px, env(safe-area-inset-top));
	}

	#lives {
		top: 36px;
		top: calc(max(12px, env(safe-area-inset-top)) + 24px);
	}

	#touchControls {
		align-items: center;
		bottom: 16px;
		bottom: max(16px, env(safe-area-inset-bottom));
		display: grid;
		gap: 14px;
		grid-template-columns: 1fr 1.15fr 1fr;
		left: 0;
		margin: 0 auto;
		max-width: 520px;
		padding: 0 18px;
		position: fixed;
		right: 0;
		z-index: 20;
	}

	.touchControl {
		appearance: none;
		background: rgba(0, 0, 0, 0.78);
		border: 2px solid #00FF00;
		border-radius: 8px;
		color: #FFFFFF;
		font-family: "Courier New";
		font-size: 16px;
		font-weight: bold;
		height: 68px;
		letter-spacing: 0;
		touch-action: none;
		-webkit-tap-highlight-color: transparent;
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		user-select: none;
	}

	.touchControlFire {
		background: rgba(80, 0, 0, 0.86);
		border-color: #FF4040;
		height: 78px;
	}

	.touchControl:active {
		background: #00AA00;
		color: #000000;
	}

	.touchControlFire:active {
		background: #FF4040;
	}
}
