@font-face {
	font-family: "DistantGalaxy";
	src: url("../img/distantgalaxy.ttf");
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	user-select: none;
}

html,
body {
	width: 1910px;
	height: 100%;
	min-width: 1910px;
	min-height: 960px;
	/*
	min-width: 1920px;
	min-height: 960px;
	*/
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	cursor: none;
	overflow: hidden;
	position: relative;
	background: linear-gradient(
		0deg,
		rgb(18, 26, 38) 0%,
		rgba(0, 0, 0, 1) 100%
	);
	transform-origin: center left;
}
#game {
	width: 1910px;
	height: 100%;
	min-width: 1910px;
	min-height: 960px;
}

#gamecontainer {
	transform-origin: center left;
	z-index: 1;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateY(-50%) translateX(-50%);
	display: block;
	width: 1910px;
	height: 100%;
	min-width: 1910px;
	min-height: 960px;
	/*
	min-width: 1920px;
	min-height: 960px;
	*/
	overflow: hidden;
	perspective: 1200px;
}

#selection {
	z-index: 4000;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 1910px;
	height: 960px;
	min-width: 1910px;
	min-height: 960px;
	display: block;
	position: fixed;
	text-align: center;
	background: black;
	cursor: default !important;
}
.darkblur {
	position: absolute;
	z-index: 80;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(10px);
	color: yellow;
	background: rgba(0, 0, 0, 0.5);
	align-items: flex-end;
	justify-content: center;
	padding-bottom: 15%;
	font-family: "DistantGalaxy";
	font-size: 42px;
	display: flex;
}
.startbutton {
	position: absolute;
	z-index: 100;
	color: yellow;
	align-items: flex-end;
	justify-content: center;
	font-family: "DistantGalaxy";
	font-size: 42px;
	display: flex;
	left: 50%;
	top: 70%;
	transform: translateX(-50%) translateY(-50%);
}

.by {
	position: absolute;
	bottom: 60px;
	left: 50%;
	transform: translateX(-50%);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: white;
	z-index: 100;
}

.link {
	position: absolute;
	transform: translateX(-50%);
	bottom: 200px;
	left: 50%;
	display: none;
	margin-top: 40px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	color: white;
	z-index: 100;
}

.by a {
	font-family: Arial, Helvetica, sans-serif;
	color: white;
	font-weight: bold;
	font-size: 2rem;
	text-decoration: none;
}
.instruction {
	width: 800px;
	height: 180px;
	position: absolute;
	transform: translateX(-50%) translateY(-50%);
	z-index: 90;
	left: 50%;
	top: 50%;
}

.instruction ul {
	color: yellow;
	text-align: left;

	font-family: "DistantGalaxy";
	font-size: 32px;
	list-style: none;
	display: grid;
	grid-template-columns: 4fr 7fr;
}

.instruction ul li:nth-child(2n) {
	color: white;
}

.startbutton:hover {
	color: white;
	cursor: pointer;
}

.intro {
	position: absolute;
	left: 50%;
	top: 20%;
	user-select: none;
	transform: translateX(-50%);
	color: yellow;
	font-family: "DistantGalaxy", Impact;
	z-index: 20;
	transform-origin: left center;
	max-width: 500px;
}

.intro h1,
.intro h2,
.intro h3 {
	letter-spacing: 4px;
	font-family: "DistantGalaxy", Impact;
	filter: drop-shadow(0 0 24px yellow);
}

.intro h1 {
	line-height: 110px;
	font-size: 130px;
}
.intro h2 {
	font-size: 24px;
	letter-spacing: 10px;
}

.intro h3 {
	color: white;
	margin-top: 40px;
}
.selection {
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	position: relative;
	z-index: 10;
}

.selectluke {
	background-image: url("../img/selectluke.webp");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.selectdarth {
	background-image: url("../img/selectdarth.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.selectluke,
.selectdarth {
	position: relative;
	letter-spacing: 4px;
	font-family: "DistantGalaxy", Impact;
	z-index: -1;
	background-blend-mode: luminosity;
	background-color: rgb(3, 3, 29);
	opacity: 0.4;
}

.selectluke:hover,
.selectdarth:hover {
	opacity: 1 !important;
	cursor: pointer !important;
	background-blend-mode: normal;
}

.selectluke h2,
.selectdarth h2 {
	position: absolute;
	bottom: 100px;
	left: 50%;
	transform: translateX(-50%);
	color: white;
	font-size: 64px;
	filter: drop-shadow(0 0 24px white);
	z-index: 2;
}

.selectluke:hover h2,
.selectdarth:hover h2 {
	color: yellow;
	filter: drop-shadow(0 0 24px yellow);
}

.background {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -5;
}

.plane {
	position: absolute;
	z-index: 100;
	width: 130px;
	height: 130px;
	pointer-events: none;
}

.planecontent {
	background: url("../img/xwing.png");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	width: 100%;
	height: 100%;
	pointer-events: none;
	transition: transform 0.4s ease-in-out;
}

.line {
	z-index: 0;
	position: absolute;
	border-radius: 10px;
	width: 6px;
	height: 100px;
	background-color: rgba(255, 46, 46, 0.937);
	box-shadow: 0 0 8px 2px rgb(255, 48, 48);
	transition: transform 0.55s ease-out;
}

.plane2 .line {
	background-color: yellow !important;
	box-shadow: 0 0 8px 2px yellow !important;
}

.glow {
	display: none;
	position: absolute;
	top: -20px;
	left: -46px;
	width: 100px;
	height: 100px;
	background: radial-gradient(
		circle,
		rgba(255, 255, 255, 1) 2%,
		rgba(243, 42, 42, 0.927608543417367) 8%,
		rgba(233, 19, 19, 0) 50%
	);
}

.glow:nth-child(2) {
	left: auto !important;
	right: -46px !important;
}

.engine {
	position: absolute;
	bottom: -25px;
	left: 25px;
	width: 50px;
	height: 50px;
	background: radial-gradient(
		circle,
		rgb(255, 255, 255) 0%,
		rgba(231, 250, 12, 0.5) 30%,
		rgba(231, 250, 12, 0) 50%
	);
	animation: engine 0.1s linear infinite;
}

.engine:nth-child(4) {
	left: auto !important;
	right: 25px !important;
}

.darth .planecontent {
	background-image: url("../img/tiefighter.png");
	rotate: 180deg;
}

.darth .engine {
	bottom: 65px;
	left: 40px;
	background: radial-gradient(
		circle,
		rgb(255, 255, 255) 0%,
		rgba(250, 12, 12, 0.5) 30%,
		rgba(250, 12, 12, 0) 50%
	);
}
.darth .engine:nth-child(4) {
	display: none;
}

.darth .glow {
	display: none;
	position: absolute;
	top: 40px;
	left: 0px;
	width: 100px;
	height: 100px;
	opacity: 1;
	background: radial-gradient(
		circle,
		rgba(255, 255, 255, 1) 2%,
		rgba(187, 236, 15, 0.927608543417367) 8%,
		rgba(186, 236, 16, 0) 50%
	);
}

.darth .glow:nth-child(2) {
	left: auto !important;
	right: 0px !important;
}

@keyframes engine {
	0% {
		scale: 1;
	}
	50% {
		scale: 0.8;
	}
	100% {
		scale: 1;
	}
}

.target {
	content: "";
	display: block;
	position: absolute;
	left: 20%;
	top: 50%;
	width: 100px;
	height: 100px;
	background-color: rgb(68, 68, 68);
	z-index: 0;
	border-radius: 200px;
}

.asteroid,
.undefined {
	background-color: transparent;
}

.asteroid1,
.undefined {
	background-image: url("../img/asteroid1.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.asteroid2 {
	background-image: url("../img/asteroid2.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.asteroid3 {
	background-image: url("../img/asteroid3.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.fighter {
	width: 140px;
	height: 140px;
	background-image: url("../img/xwing.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: transparent;
	rotate: 180deg;
}

.fighter:after,
.fighter:before {
	display: block;
	content: "";
	position: absolute;
	bottom: -20px;
	left: 25px;
	width: 50px;
	height: 50px;
	background: radial-gradient(
		circle,
		rgb(255, 255, 255) 0%,
		rgba(231, 250, 12, 0.5) 30%,
		rgba(231, 250, 12, 0) 50%
	);
	animation: engine 0.1s linear infinite;
}
.fighter:before {
	left: auto;
	right: 25px;
}
.enemy {
	width: 140px;
	height: 140px;
	background-image: url("../img/tiefighter.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: transparent;
}

.enemy:before {
	display: block;
	content: "";
	position: absolute;
	top: 20px;
	left: 45px;
	width: 50px;
	height: 50px;
	background: radial-gradient(
		circle,
		rgb(255, 255, 255) 0%,
		rgba(250, 12, 12, 0.5) 30%,
		rgba(250, 12, 12, 0) 50%
	);
	animation: engine 0.1s linear infinite;
}

.explosion {
	width: 250px;
	height: 350px;
	position: absolute;
	left: -75px;
	bottom: 150%;
	z-index: 1;
}

.explosion img {
	width: 100%;
	height: 100%;
}

.blastercontainer {
	position: fixed;
	left: 40px;
	bottom: 40px;
	content: "";
	display: block;
	border: 2px solid rgba(255, 46, 46, 0.937);
	padding: 2px;
	width: 200px;
	height: 20px;
	z-index: 200;
	transform-style: preserve-3d;
	transform: rotate3d(1, 6, 0, 20deg);
	filter: drop-shadow(2px 4px 10px rgba(255, 46, 46, 0.937));
	animation: blasterglow 0.1s infinite linear;
	opacity: 0.8;
}

.shieldcontainer {
	position: fixed;
	left: 40px;
	bottom: 100px;
	content: "";
	display: block;
	border: 2px solid rgba(65, 105, 225, 0.912);
	padding: 2px;
	width: 200px;
	height: 20px;
	z-index: 200;
	transform-style: preserve-3d;
	transform: rotate3d(1, 6, 0, 20deg);
	filter: drop-shadow(2px 4px 10px rgba(65, 105, 225, 0.912));
	animation: blasterglow2 0.1s infinite linear;
	opacity: 0.8;
}

@keyframes blasterglow3 {
	0% {
		filter: drop-shadow(2px 4px 10px rgba(183, 234, 30, 0.912));
	}
	50% {
		filter: drop-shadow(4px 8px 20px rgba(182, 225, 65, 0.012));
	}
	100% {
		filter: drop-shadow(2px 4px 10px rgba(208, 231, 33, 0.912));
	}
}
@keyframes blasterglow2 {
	0% {
		filter: drop-shadow(2px 4px 10px rgba(65, 105, 225, 0.912));
	}
	50% {
		filter: drop-shadow(4px 8px 20px rgba(65, 105, 225, 0.012));
	}
	100% {
		filter: drop-shadow(2px 4px 10px rgba(65, 105, 225, 0.912));
	}
}

@keyframes blasterglow {
	0% {
		filter: drop-shadow(2px 4px 10px rgba(255, 46, 46, 0.937));
	}
	50% {
		filter: drop-shadow(4px 8px 20px rgba(255, 46, 46, 0));
	}
	100% {
		filter: drop-shadow(2px 4px 10px rgba(255, 46, 46, 0.937));
	}
}

.blastercontainer p,
.shieldcontainer p {
	position: absolute;
	color: rgba(255, 46, 46, 0.937);
	top: -20px;
	font-weight: bold;
	text-transform: uppercase;
	font-family: monospace;
}
.shieldcontainer p {
	color: rgba(65, 105, 225, 0.912);
}
.blaster {
	content: "";
	width: 100%;
	height: 100%;
	display: block;
	background: rgba(255, 46, 46, 0.937);
	transition: none;
}

.plane2 .blaster {
	background: rgba(213, 255, 46, 0.937);
}

.plane2 .blastercontainer {
	animation: blasterglow3 0.1s infinite linear;
	border-color: rgba(213, 255, 46, 0.937);
	filter: drop-shadow(2px 4px 10px rgba(192, 255, 46, 0.937));
}
.plane2 .blastercontainer p {
	color: rgba(213, 255, 46, 0.937);
}

.playergif {
	position: fixed;
	top: 20px;
	left: 20px;
	border: 2px solid black;
	outline: 3px solid rgb(7, 24, 73);
	padding: 2px;
	background-image: url("../img/luke.gif");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-blend-mode: luminosity;
	width: 150px;
	height: 180px;
	z-index: 200;
	opacity: 0.8;
	background-color: rgb(7, 24, 73);
	overflow: hidden;
	transform-style: preserve-3d;
	transform: rotate3d(1, 6, 0, 10deg);
}

.playergif:after {
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	background-image: url("../img/static.gif");
	mix-blend-mode: screen;
	opacity: 0.3;
	position: absolute;
	top: 0;
	left: 0;
}

.playergif:before {
	display: block;
	content: "";
	width: 100%;
	height: 2px;
	background-color: rgb(51, 85, 186);
	opacity: 0.9;
	position: absolute;
	top: 0;
	left: 0;
	animation: playergif 1s linear infinite;
	transition: transform 1s linear;
}
@keyframes playergif {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(200px);
	}
}

.playerdeath {
	background-image: url("../img/glitchdead.gif") !important;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-blend-mode: luminosity;
}

.plane2 .playergif {
	background-image: url("../img/darth.gif");
}
.shieldbar {
	content: "";
	width: 100%;
	height: 100%;
	display: block;
	background: rgba(65, 105, 225, 0.912);
	transition: none;
}

.blaster-transition {
	transition: width 0.1s ease-in-out;
}

.star {
	position: absolute;
	width: 1px;
	height: 1px;
	background: white;
	z-index: -1;
}

.score {
	position: fixed;
	right: 60px;
	text-align: right;
	top: 40px;
	content: "";
	display: block;
	padding: 2px;
	z-index: 200;

	transform-style: preserve-3d;

	width: 450px;
	transform: rotate3d(1, 6, 0, -20deg);
	filter: drop-shadow(2px 4px 10px rgba(255, 46, 46, 0.937));
	animation: blasterglow 0.1s infinite linear;
	opacity: 0.8;
	color: rgba(255, 46, 46, 0.937);
	font-size: 64px;
	font-family: "DistantGalaxy";
	font-weight: bold;
	transition: all 0.1s ease-in-out;
}

.multi {
	position: fixed;
	right: 60px;
	text-align: right;
	top: 105px;
	content: "";
	display: block;
	padding: 2px;
	z-index: 200;
	transform-style: preserve-3d;

	width: 300px;
	transform: rotate3d(1, 6, 0, -20deg);
	filter: drop-shadow(2px 4px 10px rgba(255, 46, 46, 0.937));
	animation: blasterglow 0.1s infinite linear;
	opacity: 0.8;
	color: rgba(255, 46, 46, 0.937);
	font-size: 34px;
	font-family: "DistantGalaxy";
	font-weight: bold;
	transition: all 0.1s ease-in-out;
}

.plane2 .multi {
	color: rgba(213, 255, 46, 0.937);
	filter: drop-shadow(2px 4px 10px rgba(213, 255, 46, 0.937));
	animation: blasterglow3 0.1s infinite linear;
}
.counters {
	position: fixed;
	right: 60px;
	text-align: right;
	top: 150px;
	content: "";
	display: flex;
	justify-content: flex-end;
	padding: 2px;
	z-index: 200;
	transform-style: preserve-3d;

	width: 400px;
	transform: rotate3d(1, 6, 0, -20deg);
	filter: drop-shadow(2px 4px 10px rgba(255, 46, 46, 0.937));
	animation: blasterglow 0.1s infinite linear;
	opacity: 0.8;
	color: rgba(255, 46, 46, 0.937);
	font-size: 16px;
	font-family: monospace;
	font-weight: bold;
	transition: all 0.1s ease-in-out;
}

.count-fighter {
	padding-left: 32px;
	background-image: url("../img/xwing.png");
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 24px;
	margin-right: 10px;
}

.count-enemy {
	padding-left: 32px;
	background-image: url("../img/tiefighter.png");
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 24px;
	margin-right: 10px;
}

.count-asteroid {
	padding-left: 32px;
	background-image: url("../img/asteroid1.png");
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 24px;
	margin-right: 10px;
}

.life {
	position: fixed;
	right: 60px;
	text-align: right;
	bottom: 40px;
	content: "";
	display: block;
	padding: 2px;
	z-index: 200;
	transform-style: preserve-3d;
	width: 200px;
	transform: rotate3d(1, 6, 0, -20deg);
	filter: drop-shadow(2px 4px 10px rgba(255, 46, 46, 0.937));
	animation: blasterglow 0.1s infinite linear;
	opacity: 0.8;
	color: rgba(255, 46, 46, 0.937);
	font-size: 64px;
	font-family: "DistantGalaxy";
	font-weight: bold;
	transition: all 0.1s ease-in-out;
	background-image: url("../img/xwing.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}

.plane2 .life {
	filter: drop-shadow(2px 4px 10px rgba(227, 255, 46, 0.937));
	color: rgba(234, 255, 46, 0.937);
	background-image: url("../img/tiefighter.png");
	animation: blasterglow3 0.1s infinite linear;
}

.plane2 .score {
	filter: drop-shadow(2px 4px 10px rgba(227, 255, 46, 0.937));
	color: rgba(234, 255, 46, 0.937);
	animation: blasterglow3 0.1s infinite linear;
}
.addpoint {
	color: white;
	scale: 1.2;
}

.planereload {
	animation: planereload 0.2s ease-in-out 12 forwards;
}

@keyframes planereload {
	0% {
		opacity: 0.5;
	}

	50% {
		opacity: 0.2;
	}

	100% {
		opacity: 0.5;
	}
}

.header {
	display: block;
	font-size: 138px;
	color: yellow;
	font-weight: bold;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 10px;
	z-index: 200;
	filter: drop-shadow(0 0 24px yellow);
	font-family: "DistantGalaxy", Impact, Haettenschweiler, "Arial Narrow Bold",
		sans-serif;
}

.finishscore {
	display: block;
	font-size: 52px;
	color: yellow;
	font-weight: bold;
	position: fixed;
	top: 75%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	text-align: center;
	text-transform: uppercase;
	z-index: 200;
	filter: drop-shadow(0 0 24px yellow);
	font-family: "DistantGalaxy", Impact, Haettenschweiler, "Arial Narrow Bold",
		sans-serif;
}

#gameovercontainer {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 100%;
	height: 100%;
	z-index: 5000;
	backdrop-filter: blur(8px);
	content: "";
}

.warning {
	display: none;
	font-size: 66px;
	color: red;
	font-weight: bold;
	position: fixed;
	top: 10%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 10px;
	z-index: 200;
	filter: drop-shadow(0 0 24px red);
	font-family: "DistantGalaxy", Impact, Haettenschweiler, "Arial Narrow Bold",
		sans-serif;
}

.shake {
	animation: shake 1s 1 forwards;
	transition: all 0.1s;
}
@keyframes shake {
	0% {
		scale: 0.9;
	}
	20% {
		rotate: 4deg;
	}
	40% {
		rotate: -3deg;
	}
	60% {
		rotate: 1deg;
	}
	80% {
		rotate: -0.5deg;
	}
	100% {
		scale: 1;
	}
}

.blastershake {
	animation: blastershake 0.2s 1 forwards;
	transition: all 0.1s;
}

@keyframes blastershake {
	0% {
		transform: translateY(0px);
	}
	10% {
		transform: translateY(15px);
	}

	100% {
		transform: translateY(0px);
	}
}

.shield {
	position: absolute;
	display: none;
	z-index: 1;
	border-radius: 300px;
	width: 160%;
	height: 160%;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	background: radial-gradient(
		circle,
		rgba(53, 134, 242, 0.5267682072829132) 0%,
		rgba(53, 134, 242, 0.8662640056022409) 80%,
		rgba(9, 39, 94, 0.3662640056022409) 100%
	);
	box-shadow: 0 0 64px rgba(53, 134, 242, 0.9267682072829132);
	animation: shieldflick 0.1s infinite;
}

.darth .shield {
	background: radial-gradient(
		circle,
		rgba(242, 53, 53, 0.527) 0%,
		rgba(242, 53, 53, 0.866) 80%,
		rgba(94, 9, 9, 0.366) 100%
	) !important;
	box-shadow: 0 0 64px rgba(242, 53, 53, 0.927) !important;
	animation: shieldflick2 0.1s infinite;
}

@keyframes shieldflick2 {
	0% {
		background: radial-gradient(
			circle,
			rgba(242, 53, 53, 0.527) 0%,
			rgba(242, 53, 53, 0.866) 80%,
			rgba(94, 9, 9, 0.366) 100%
		);
		box-shadow: 0 0 64px rgba(242, 53, 53, 0.927);
	}
	50% {
		background: radial-gradient(
			circle,
			rgba(242, 53, 53, 0.497) 0%,
			rgba(242, 53, 53, 0.796) 80%,
			rgba(94, 9, 9, 0.296) 100%
		);
		box-shadow: 0 0 60px rgba(242, 53, 53, 0.827);
	}
	100% {
		background: radial-gradient(
			circle,
			rgba(242, 53, 53, 0.527) 0%,
			rgba(242, 53, 53, 0.866) 80%,
			rgba(94, 9, 9, 0.366) 100%
		);
		box-shadow: 0 0 64px rgba(242, 53, 53, 0.927);
	}
}
@keyframes shieldflick {
	0% {
		background: radial-gradient(
			circle,
			rgba(53, 134, 242, 0.5267682072829132) 0%,
			rgba(53, 134, 242, 0.8662640056022409) 80%,
			rgba(9, 39, 94, 0.3662640056022409) 100%
		);
		box-shadow: 0 0 64px rgba(53, 134, 242, 0.9267682072829132);
	}
	50% {
		background: radial-gradient(
			circle,
			rgba(53, 134, 242, 0.4967682072829132) 0%,
			rgba(53, 134, 242, 0.7962640056022409) 80%,
			rgba(9, 39, 94, 0.2962640056022409) 100%
		);
		box-shadow: 0 0 60px rgba(53, 134, 242, 0.8267682072829132);
	}
	100% {
		background: radial-gradient(
			circle,
			rgba(53, 134, 242, 0.5267682072829132) 0%,
			rgba(53, 134, 242, 0.8662640056022409) 80%,
			rgba(9, 39, 94, 0.3662640056022409) 100%
		);
		box-shadow: 0 0 64px rgba(53, 134, 242, 0.9267682072829132);
	}
}

.plane2 .shieldbar {
	background: rgba(255, 46, 46, 0.937);
}
.plane2 .shieldcontainer {
	filter: drop-shadow(2px 4px 10px rgba(225, 65, 65, 0.912));
	border-color: rgba(255, 46, 46, 0.937);
	animation: blasterglow 0.1s infinite linear;
}
.plane2 .shieldcontainer p {
	color: rgba(255, 46, 46, 0.937) !important;
}
.plane2 .counters {
	color: rgba(255, 255, 0, 0.848) !important;
}

.plane2 #timer {
	color: rgba(255, 255, 0, 0.848) !important;
	animation: blasterglow3 0.1s infinite linear;
}
.destroyer {
	display: none;
	position: absolute;
	content: "";
	top: 0;
	background-image: url("../img/destroyer.png");
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	width: 980px;
	height: 1264px;
	z-index: 0;
	animation: destroyer 40s linear 1 forwards;
}

#destroyer2 {
	left: 50%;
}

.plane2 .destroyer {
	rotate: 180deg;
	animation: destroyer 40s linear 1 reverse forwards;
}

@keyframes destroyer {
	from {
		transform: translateY(-1380px);
	}
	to {
		transform: translateY(2000px);
	}
}
.destroyer .engine {
	position: absolute;
	top: -145px;
	left: 70px;
	width: 300px;
	height: 300px;
	background: radial-gradient(
		circle,
		rgb(255, 255, 255) 0%,
		rgba(231, 250, 12, 0.5) 30%,
		rgba(231, 250, 12, 0) 50%
	);
	animation: engine 0.4s linear infinite;
}

.destroyer .engine:nth-child(2) {
	left: 220px;
}

.destroyer .engine:nth-child(3) {
	left: 360px;
}

.destroyer .engine:nth-child(4) {
	left: 660px !important;
}

.destroyer .engine:nth-child(5) {
	left: 490px;
}

#timer {
	position: fixed;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	color: rgba(255, 46, 46, 0.937);
	font-size: 24px;
	font-weight: bold;
	font-family: "DistantGalaxy";
	animation: blasterglow 0.1s infinite linear;
	opacity: 0.8;
}

.invisible-box {
	border-radius: 600px;
	z-index: 200;
}

.invisible-box:after {
	display: block;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	left: 0;
	content: "";
	z-index: 4;
	background: radial-gradient(
		circle,
		rgba(93, 93, 93, 0.003) 60%,
		rgba(114, 114, 114, 0.8) 100%
	);
	border-radius: 600px;
	overflow: visible;
	animation: explodeasteroid 0.4s ease-out 1 forwards;
}

@keyframes explodeasteroid {
	0% {
		scale: 0.5;
	}

	100% {
		scale: 1.3;
	}
}

.points {
	position: absolute;
	z-index: 2;
	color: white;
	filter: drop-shadow(0 0 16px white);
	font-family: "DistantGalaxy";
	font-weight: bold;
	font-size: 42px;
	text-align: center;
	width: 250px;
	animation: points 0.4s 1 ease-in forwards;
}

@keyframes points {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	70% {
		color: white;
		opacity: 1;
	}
	100% {
		opacity: 0;
		color: yellow;
		transform: translateY(-50px);
	}
}
