@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Glegoo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
	--accent-color: #ed145b;
	--sub-color: #828282;
	--font-color: #fff;
	--font-accent-color: #f2a1bb;
}
* {
	margin: 0;
	padding: 0;
}
h1, h2 {
	margin: 0;
	padding: 0;
}
h1 {
	font-family: 'Bebas Neue', sans-serif;
}
html, body {
	height: 100%;
	box-sizing: border-box;
}
body {
	background: url("bg.jpg");
	background-color: #242424;
	background-size: cover;
	font-family: 'Bebas Neue', sans-serif;
	margin: 0px;
	padding: 0px;
}
#wrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	position: relative;
	overflow: hidden;
	height: 100%;
	background-color: rgba(41, 41, 41, 0.8);
	overflow-y: scroll;
}
header {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	position: sticky;
	margin-right: auto;
	padding: 20px 0px;
	top: 0;
	z-index: 99;
	border-top: 5px solid var(--accent-color);
}

footer {
	display: flex;
	flex: 0 1;
	width: 100%;
	margin: 0px 10px;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 10px;
}
a {
	color: #fff;
	display: inline-block;
  }

  #copyright {
	margin: 20px 0px;
	width: 100%;
	color: #888888;
	font-size: 14px;
	text-align: center;
	clear: both;
  }  

#logo {
	position: relative;
	margin-left: 20px;
}

#logo, #logo img {
	height: 145px;
	transition: 0.5s;
}

#logo img:hover {
	filter: grayscale(100%);
}
.status {
	height: 15px;
	width: 15px;
	position: absolute;
	bottom: 10px;
	right: 10px;
	background-color: #fff;
	border-radius: 50%;
	animation: pulse-white 2s infinite

}

.status.online {
	background-color: #33D9B2;
	animation: pulse-green 2s infinite
}

.status.offline {
	background-color: #FF5252;
	animation: pulse-red 2s infinite
}

#wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 0 0 400px;
}

#nav {
	display: flex;
	flex-direction: column;
	margin-left: 20px;
	padding: 40px;
	padding-right: 80px;
	background-color: rgba(24, 24, 24, 0.4);
	clip-path: polygon(0 0,100% 0,100% calc(100% - 80.00px),calc(100% - 80.00px) 100%,0 100%);
	backdrop-filter: blur(20px);
}

#infowrap {
	height: 180px;
	box-sizing: border-box;
	position: relative;
	align-items: center;
	padding: 10px;
	flex-wrap: wrap;
	background-color: rgba(24, 24, 24, 1);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
	border-radius: 10px;
}

#infowrap #servername {
	background-color: rgba(237, 20, 91, 0.4);
	/*rgba(82, 82, 82, 0.4);*/
	font-family: "Open Sans", sans-serif;
	font-size: 18px;
	margin-bottom: 10px;
	padding: 10px;
	font-weight: bold;
	border-radius: 5px;
}

.running {	
	border-left: 10px solid #33D9B2;
}

.offline {	
	border-left: 10px solid #FF5252;
}

.paused {	
	border-left: 10px solid #FFA500;
}

#infoboxwrap {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: flex-start;
	gap: 25px;
}

#campaign-wrap {
	margin-top: 20px;
}

.description {
	width: 100%;
	margin-bottom: 40px;
}

.banner {
	width: calc(100% + 40px);
	height: 250px;
	object-fit: cover;
	margin-top: -110px;
	margin-left: -20px;
}

.description .ip {
	display: block;
	background-color: rgba(237, 20, 91, 0.4);
	font-size: 1em;
	font-weight: bold;
	border: 4px dashed var(--accent-color);
	padding: 5px;
	margin: 10px 0;
	border-radius: 5px;
	text-align: center;
}

.infobox {
	color: #ffffff;
	font-size: 14px;
}

.infobox .title {
	color: var(--sub-color);
}
.infobox .data {
	font-weight: bold;
}

.infobox .mission {
	display: block;
	width: 100%;
	overflow: hidden;
  	white-space: nowrap;
  	text-overflow: ellipsis;
	border-bottom: 1px dashed var(--accent-color);
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.infobox.weather {
	color: #00a9ce;
}
.infobox .smalltxt, #infobox .data .period {
	font-size: 18px;
}
#statbox-wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 600px;
	max-width: 1200px;
	padding: 20px 0px;
}

#statbox {
	display: none;
	flex: 0 0 auto;
	background-color: transparent;
	font-family: 'Bebas Neue', sans-serif;
	padding: 5px;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.5s ease, background-color 0.5s ease;
}

#statbox:first-child {
	margin-left: 45px;	
}

#statbox:hover {
	transform: scale(1.2);
	background-color: rgba(44, 44, 44, 0.8);
}

#statbox .usertitle {
	width: 100%;
	color: var(--sub-color);
	font-style:italic;
	text-align:center;
	font-size: 24px;
	margin-bottom: 5px;
}

.playername {
	position: relative;
	font-family: 'Glegoo', serif;
	height: 40px;
	margin-bottom: 5px;
	padding-left: 50px;
	border-bottom: 1px solid var(--accent-color);
    font-size: 18px;
}
#playerstats-wrapper {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 90px;
}

#playerstats {
	background-color: #2c2c2c;
	width: 95px;
	height: 65px;
	color: var(--font-color);
	border-radius: 5px;
}

.aircraft-type {
	width: 200px !important;
}

#playerstats .title {
	padding-top: 5px;
	padding-left: 10px;
	font-size: 18px;
	color: var(--sub-color);
}

#playerstats .data {
	padding-left: 10px;
	font-size: 28px;
}

#playerstats .right {
	padding-right: 10px;
	text-align: right;
}


.position {
	position: absolute;
	left: -40px;
	top: -55px;
	font-family:monospace;
	margin-right: 15px;
	padding: 50px;
	font-size: 40px;
	color: var(--accent-color);
	background: radial-gradient(circle, rgba(237, 20, 91,0.4) 0%, rgba(255,255,255,0) 60%);
}

.gold {
	color: #FFD700;
	background: radial-gradient(circle, rgba(255,215,0,0.4) 0%, rgba(255,255,255,0) 60%);
}

.gold_main {
	border-bottom-color: #FFD700;
}

.silver {
	color: #c0c0c0;
	background: radial-gradient(circle, rgba(192,192,192,0.4) 0%, rgba(255,255,255,0) 60%);
}

.silver_main {
	border-bottom-color: #c0c0c0;
}

.bronze {
	color: #8b4518;
	background: radial-gradient(circle, rgba(139,69,24,0.4) 0%, rgba(255,255,255,0) 60%);
}

.bronze_main {
	border-bottom-color: #8b4518;
}

#box {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px dashed var(--accent-color);
}
.link {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	text-decoration: none;
	color: #fff;
	font-size: 18px;
	border-radius: 0px;
	width: 200px;
	height: 40px;
	background-color: #484848;
	transition: 0.5s;
	font-family: 'Bebas Neue', sans-serif;
	border-radius: 15px;
}
  
.link:hover {
	background-color: var(--accent-color);
}
.link i {
	margin-right: 10px;
}
#primary {
	display: flex;
	gap: 10px;
	padding: 0;
	flex-wrap: wrap;
}

.nav {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: var(--font-color);
	font-size: 18px;
	padding: 5px;
	border-radius: 0px;
	width: 80px;
	transition: 0.5s;
	border: 2px solid #fff;
	border-radius: 5px;
}

.nav:hover {
	color: var(--accent-color);
	border-color: var(--accent-color);
	}

.icon {
	height: 42px;
	width: 42px;
	font-size: 24px;
	border: none;
}

.disabled {
	color: #a2a2a2;
	border-style: dashed;
	border-color: #a2a2a2;
}

.map {
	color: var(--font-color);
	border-color: #fff;
}

#content {
	min-width: 600px;
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	background-color: rgba(24, 24, 24, 0.4);
	margin: 0px 20px;
	padding: 20px;
	font-family: 'Glegoo', serif;
	font-size: 14px;
	border: 4px solid var(--accent-color);
	backdrop-filter: blur(20px);
	border-radius: 10px;
}

#about-us {
	color: var(--font-color);
}

.info-box {
	background-color: rgba(24, 24, 24, 1);
	font-family: 'Glegoo', serif;
	color: var(--font-color);
	width: 620px;
	margin-top: 40px;
	padding: 20px;
	border-radius: 20px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
	overflow: hidden;
}

#campaign, .server-item {
	transition: transform 0.2s ease-in-out;
}

#campaign:hover, .server-item:hover {
	box-shadow: 0 12px 60px rgba(0, 0, 0, 0.4);
	transform: scale(1.02);
}

.info-box.no-bg {
	background: transparent;
	box-shadow: none;
	overflow: visible;
	border-radius: initial;
}

.boxtitle {
	position: relative;
	width: fit-content;
	padding: 10px;
	border: 1px dashed var(--accent-color);
	border-radius: 10px;
	margin: auto;
	z-index: 1;
}
#discord {
	float: right;
	margin-right: 50px;
	margin-bottom: -20px;
	width: 350px;
}

#discord {
	padding-top: 20px;
}

.join {
	display: inline-block;
	background-color: rgba(42, 42, 42, 0.8);
	font-size: 24px;
	color: var(--font-color);
	margin-top: 60px;
	margin-right: 10px;
	margin-bottom: auto;
	padding: 10px;
	border-radius: 10px;
}

.join-info {
	display: block;
	width: 200px;
	font-family: 'Glegoo', serif;
	font-size: 18px;
	margin-top: -5px;
	padding: 0px;
}

.join .title {
	color: var(--accent-color);
	margin-bottom: 5px;
}

#ip {
	padding-right: 5px;
}

.loader {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: block;
	margin:15px auto;
	margin-left: 100px;
	position: relative;
	background: #414141;
	box-shadow: -24px 0 #414141, 24px 0 #414141;
	box-sizing: border-box;
	animation: shadowPulse 2s linear infinite;
	align-self: center;
}

.sub {
	color: #8c8c8c;
}

#clipboard {
	color: var(--font-color);
	display: inline;
	float: right;
	cursor: pointer;
}

#clipboard:active {
	color: var(--accent-color);
}

.infobox {
	position: relative;
	font-family: "Open Sans", sans-serif;
}

.explainer {
	color: #868686;
}

.usertitle .explainer {
	float: right;
}

.data .explainer {
	font-size: 18px;
	margin-left: 5px;
}

.tooltip_wrap, .tooltiptext_wrap, .tooltipinfo_wrap {
    transition: all 0.15s ease;
    padding: 10px;
	backdrop-filter: blur(20px);
    border-radius: 5px;
}

.tooltip_wrap {
	background-color: rgba(24, 24, 24, 0.6);
    color: #fff;
}

.tooltiptext_wrap, .tooltipinfo_wrap {
	background-color: rgba(255, 255, 255, 0.6);
    color: #242424;
}

.tooltipbox .tooltiptitle {
	font-size: 24px;
}

.tooltipbox .description {
	font-size: 18px;
	margin-top: 5px;
	color: #484848;
}

.tooltip_wrap .title {
	display: block;
	width: 100%;
	font-size: 18px;
	margin-bottom: 5px;	
}

.tooltipbox-title {
	font-weight: bold;
	color: #00a9ce;
}

.temp {
	font-size: 24px;
	margin-right: 5px;
}

.visibility {
	display: block;
	width: 100%;
	text-align: right;
	color: #b6b6b6;
}

.playerdata {
	width: 280px;
	margin-top: 5px;
}

.aircraft {
	min-width: 65px;
	padding: 0px 5px;
	color: var(--font-accent-color);
	border-left: 5px solid var(--font-accent-color);
	float: right;
}

video {
	object-fit: cover;
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -99;
}

::-webkit-scrollbar {
    width: 5px;
	height: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(88, 88, 88, .8);
    border-radius: 5px
}

::-webkit-scrollbar-thumb:hover {
    background: #555
}

#statbox-wrapper::-webkit-scrollbar {
	width: 0px;
}

.mission-container {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
  	align-items: flex-start;
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.mission-card {
	background: #292929;
	border-radius: 10px;
	padding: 20px;
	font-family: "Open Sans", sans-serif;
	flex: 1;
}

.mission-card i {
	margin-right: 5px;
	vertical-align: middle;
	font-size: 1.5em;
	color: #00a9ce;
}

.mission-card h3 {
	margin: 0 0 15px 0;
	color: white;
	font-size: 1.2em;
}

.mission-card p {
	margin: 0;
	padding-bottom: 10px;
	line-height: 1.5;
}

.mission-card strong {
	color: var(--accent-color);
}

.radio-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.radio-list li {
	margin: 8px 0;
	padding: 8px 12px;
	background: rgba(60, 60, 60, 0.8);
	border-left: 5px solid #ff9800;
}

.radio-list li strong {
	color: #ff9800;
}

.radio-list .right {
	float: right;
}

@keyframes shadowPulse {
33% {
	background: #414141;
	box-shadow: -24px 0 var(--accent-color), 24px 0 #414141;
}
66% {
	background: var(--accent-color);
	box-shadow: -24px 0 #414141, 24px 0 #414141;
}
100% {
	background: #414141;
	box-shadow: -24px 0 #414141, 24px 0 var(--accent-color);
}
}

@keyframes pulse-red {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.8);
	}
	
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
	}
	
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
	}
}

@keyframes pulse-green {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(51, 217, 178, 0.8);
	}
	
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(51, 217, 178, 0);
	}
	
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(51, 217, 178, 0);
	}
}

@keyframes pulse-white {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
	}
	
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
	}
	
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
	}
}