* {
	cursor:url('/images/cursor.png'),auto!important;
}

html, body {
	height:100%;
	margin:0;
	padding:0;
}

@font-face {
	font-family:'HeliosCond';
	src:url('../fonts/HeliosCond-bold.woff2')format('woff2');
	font-weight:bold;
	font-style:normal;
	font-display:swap;
}

@font-face {
	font-family:'HeliosCondC';
	src:url('../fonts/helioscondc-bold-webfont.woff2')format('woff2');
	font-weight:bold;
	font-style:normal;
	font-display:swap;
}

body {
	background-image:url('../images/bg.jpg');
	background-size:cover;
	background-position:center;
	font-family:'HeliosCond',sans-serif;
	display:flex;
	flex-direction:column;
	margin:0;
}

.logo-background {
	width:100%;
	height:20vh;
	display:flex;
	justify-content:center;
	align-items:center;
	position:relative;
	z-index:1;
}

.logo-background::before {
	content:"";
	display:block;
	padding-top:25%;
}

.logo {
	width:100%;
	height:100%;
	object-fit:contain;
}

.navbar {
	display:flex;
	flex-direction:row;
	justify-content:space-evenly;
	align-items:center;
	padding:2.5% 25%;
	min-height:2vh;
	/*background-image: linear-gradient(180deg, rgba(16, 40, 40, 0.9), rgba(21, 51, 59, 0.85), rgba(18, 69, 73, 0.7), rgba(38, 109, 103, 0.5));*/
	color: white;
}

.navbar a {
	display:flex;
	justify-content:center;
	align-items:center;
	text-align:center;
	font-size:1.8vh;
	width:23vh;
	height:4vh;
	color:white;
	text-decoration:none;
	border-radius:2vh;
	/*border: 0.3vh solid rgb(158, 155, 104);*/
	padding:1vh;
	/*box-shadow:0 0.4vh 0.8vh rgba(0, 0, 0, 0.2);*/
	transition:transform 0.3s ease,box-shadow 0.3s ease;
}

.navbar a:hover {
	transform:scale(1.05);
	/*box-shadow:0 0.6vh 1.2vh rgba(0, 0, 0, 0.3);*/
}

.navbar > a:first-child {
	background:linear-gradient(to top,rgb(80, 10, 0),rgba(255, 50, 0, 0.9));
	border:0.3vh solid rgb(158, 155, 104);
}

.navbar > a:first-child:hover {
	background:linear-gradient(to top,rgba(255, 50, 0, 0.9),rgb(80, 10, 0));
	border:0.3vh solid rgb(158, 155, 104);
}

.navbar a:nth-child(2) {
	background-image:url(../images/button1.png);
	background-size:100%;
	background-position:center;
	background-repeat:no-repeat;
}

.navbar a:nth-child(2):hover {
	background-image:url(../images/button1.png);
	background-size:100%;
	background-position:center;
	background-repeat:no-repeat;
}

.navbar a:nth-child(3) {
	background-image:url(../images/button1.png);
	background-size:100%;
	background-position:center;
	background-repeat:no-repeat;
}

.navbar a:nth-child(3):hover {
	background-image:url(../images/button1.png);
	background-size:100%;
	background-position:center;
	background-repeat:no-repeat;
}

.navbar a:nth-child(4) {
	background-image:url(../images/button1.png);
	background-size:100%;
	background-position:center;
	background-repeat:no-repeat;
}

.navbar a:nth-child(4):hover {
	background-image:url(../images/button1.png);
	background-size:100%;
	background-position:center;
	background-repeat:no-repeat;
}

.modal {
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0, 0, 0, 0.7);
	z-index:1000;
	justify-content:center;
	align-items:center;
}

.modal-content {
	background-image:linear-gradient(0deg,rgba(4, 32, 42, 0.9),rgba(21, 51, 59, 0.85),rgba(18, 69, 73, 0.7),rgba(38, 109, 103, 0.5)),url(../images/b-top_bg.png);
	background-size:108% 100%;
	background-position:center;
	background-repeat:no-repeat;
	padding:4vh 3vh 3vh;
	border-radius:1vh;
	text-align:center;
	position:relative;
}

.modal-content a {
	display:flex;
	justify-content:center;
	align-items:center;
	text-align:center;
	font-size:2.5vh;
	width:25vh;
	height:5vh;
	background-image:url(../images/button1.png);
	background-size:100%;
	background-position:center;
	background-repeat:no-repeat;
	color:white;
	text-decoration:none;
	border-radius:2vh;
	padding:1vh;
	margin:1vh auto;
	box-shadow:0 0.4vh 0.8vh rgba(0, 0, 0, 0.2);
	transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-content a:hover {
	transform:scale(1.05);
	box-shadow:0 0.6vh 1.2vh rgba(0, 0, 0, 0.3);
	/*background:linear-gradient(to top,rgba(29, 163, 114, 0.5),rgba(16, 110, 85, 0.7),rgba(4, 59, 37, 0.9),rgba(3, 59, 25, 1));*/
}

.close-btn {
	width:5cqh;
	height:5cqh;
	position:absolute;
	top:-2.5vh;
	right:-2.3vh;
	cursor:pointer;
	background-image:url('../images/close-cropped.svg');
	background-size:cover;
	object-fit:cover;
}

.close-btn:hover {
	transform:scale(1.15);
}

h1 {
	background-image:url(../images/button.jpg);
	background-size:100%;
	background-position:center;
	background-repeat:no-repeat;
	font-family:'HeliosCondC',sans-serif;
	font-size:2.2vh;
	text-align:center;
	padding: 0.4vh;
	margin:2vh 0;
	color:white;
}

h2 {
	font-family:'HeliosCondC',sans-serif;
	font-size:2.5vh;
	text-align:center;
	margin:2vh 0;
	color:white;
}

main {
	background-image:url('../images/bodytop_bc.png'),url('../images/bodybot_bc.jpg');
	background-size:100% 50%;
	background-position:center 0%,center 95%;
	background-repeat:no-repeat,no-repeat;
	width: 50%;
	height: 0;
	margin:0 auto;
	padding:1.2vh;
	color:white;
	flex-grow:1;
	display:grid;
	grid-template-columns:64% 34%;
	gap:2%;
}

.main-left {
	grid-column: 1;
	min-width: 0;
	width: 100%;
	height: 95%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.news-content-wrapper {
	position: relative;
	min-height: 50%;
	margin: 1vh 2vh 1vh 2vh;
	flex: 1;
	display: flex;
	flex-direction: column;
	background: 
		url('../images/b-newstop_bg.jpg') top center / 100% auto no-repeat,
		url('../images/b-newsbot_bg.jpg') bottom center / 100% auto no-repeat,
		url('../images/b-newsrepeat_bg.png') center / 100% 100% no-repeat;
}

#news-container {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	min-height: 0;
	position: relative;
	z-index: 2;
	scrollbar-width: thin;
	scrollbar-color: #66c0f4 #1b2838;
}

#news-container::-webkit-scrollbar {
	width: 0.6vh;
}

#news-container::-webkit-scrollbar-track {
	background: #1b2838;
	border-radius: 0.3vh;
}

#news-container::-webkit-scrollbar-thumb {
	background: #66c0f4;
	border-radius: 0.3vh;
	transition: background 0.2s ease;
}

#news-container::-webkit-scrollbar-thumb:hover {
	background: #4a9cd4;
}

.steam-news-article {
	box-sizing: border-box;
	margin: 1.5vh 1.5vh 1.5vh 1.5vh;
	overflow-wrap: break-word;
}

.news-header {
	border-bottom: 0.2vh solid #66c0f4;
	padding-bottom: 2vh;
	margin-bottom: 2.5vh;
	text-align: center;
}

.news-title {
	color: #66c0f4;
	font-size: 3vh;
	margin: 0 0 1.5vh 0;
}

.news-date {
	color: #8f98a0;
	font-size: 1.5vh;
	background: rgba(59, 89, 116, 0.3);
	padding: 0.6vh 12vh;
	border-radius: 15vh;
	display: inline-block;
}

.news-content {
	font-size: 2.2vh;
}

.news-content p {
	margin: 1.6vh 0;
	color: #c6d4df;
}

.news-content p img {
	max-width: 100%;
	height: auto;
	margin: 2vh 0;
	border-radius: 0.6vh;
	border: 0.2vh solid #3d5c7d;
	display: block;
}

.news-footer {
	border-top: 2vh solid #3d5c7d;
	padding-top: 2vh;
	margin-top: 3vh;
	text-align: center;
}

.original-link {
	color: #66c0f4;
	text-decoration: none;
	font-weight: 500;
	padding: 10px 20px;
	background: rgba(102, 192, 244, 0.1);
	border: 1px solid #66c0f4;
	border-radius: 4px;
	transition: all 0.3s ease;
	display: inline-block;
}

.original-link:hover {
	color: #ffffff;
	background: rgba(102, 192, 244, 0.2);
	border-color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(102, 192, 244, 0.3);
}

.news-error {
	text-align: center;
	padding: 50px 20px;
	color: #ff6633;
	background: rgba(255, 102, 51, 0.1);
	border-radius: 8px;
	border: 1px solid #ff6633;
}

.error-detail {
	font-size: 14px;
	color: #8f98a0;
	margin-top: 10px;
	font-style: italic;
}

.main-right {
	grid-column:2;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.monitoring-content-wrapper {
	position: relative;
	min-height: 50%;
	margin: 1vh 2vh 3vh 2vh;
	flex: 1;
	display: flex;
	flex-direction: column;
	background: 
		url('../images/b-newstop_bg.jpg') top center / 100% auto no-repeat,
		url('../images/b-newsbot_bg.jpg') bottom center / 100% auto no-repeat,
		url('../images/b-newsrepeat_bg.png') center / 100% 100% no-repeat;
}

#monitoring-container {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	min-height: 0;
	position: relative;
	z-index: 2;
	scrollbar-width: thin;
	scrollbar-color: #66c0f4 #1b2838;
}

#monitoring-container::-webkit-scrollbar {
	width: 0.6vh;
}

#monitoring-container::-webkit-scrollbar-track {
	background: #1b2838;
	border-radius: 0.3vh;
}

#monitoring-container::-webkit-scrollbar-thumb {
	background: #66c0f4;
	border-radius: 0.3vh;
	transition: background 0.2s ease;
}

#monitoring-container::-webkit-scrollbar-thumb:hover {
	background: #4a9cd4;
}

.status {
	display:flex;
	justify-content:center;
	align-items:center;
	max-width:23vh;
	margin:3vh auto;
	padding:1.5vh;
	border:0.3vh solid #ccc;
	border-radius:1vh;
	background-color:rgba(255, 255, 255, 0.1);
	box-shadow: 0 0.2vh 0.5vh rgba(0, 0, 0, 0.2);
	font-size:2vh;
	text-align:center;
}

.status img {
	width:6vh;
	height:6vh;
	margin-left:3vh;
	object-fit:contain;
}

.footer {
	display:flex;
	flex-direction:row;
	justify-content:space-between;
	align-items:center;
	padding:1vh 3vh;
	background-image:linear-gradient(0deg,rgba(4, 32, 42, 0.9),rgba(21, 51, 59, 0.85),rgba(18, 69, 73, 0.7),rgba(38, 109, 103, 0.5));
	color:white;
	z-index:1;
	position:relative;
}

.footer p {
	text-align:center;
	font-size:1.8vh;
}

.social-icons {
	display:flex;
	justify-content:center;
	margin-top:0.1vh;
}

.social-icon {
	color:white;
	margin:0 0.5vh;
	text-decoration:none;
	transition:opacity 0.3s ease;
}

.social-icon:hover {
	opacity:0.7;
}

.language-dropdown {
	position:absolute;
	top:2.5vh;
	right:2.5vh;
	z-index:1000;
}

.language-dropdown::before {
	content:'';
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-image:url(../images/button2.png);
	background-size:100%;
	background-position:center;
	background-repeat:no-repeat;
	z-index:-1;
	transition:background-image 0.3s ease;
}

.language-dropdown:hover::before {
	background-image:url(../images/button1.png);
	background-size:cover;
}

.language-dropdown select {
	padding:0.7vh 3.5vh 0.5vh 1.8vh;
	border-radius:1vh;
	background-color:transparent;
	color:white;
	cursor:pointer;
	font-size:1.8vh;
	transition:all 0.3s ease;
	appearance:none;
	-webkit-appearance:none;
	-moz-appearance:none;
	background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
	background-repeat:no-repeat;
	background-position:right 0.2vh center;
	background-size:2vh;
	position:relative;
	z-index:1;
}

.language-dropdown select:hover {
	background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
}

.language-dropdown select:focus {
	outline:none;
}

.language-dropdown select option {
	background-color:rgba(0, 0, 0, 0.8);
	color:white;
}

@media (max-width: 1200px) {
	.navbar {
		padding: 0.5% 5.5%;
	}
	main {
		grid-template-columns: 1fr;
		gap: 2vh;
		width: 80%;
	}
	.main-left, .main-right {
		grid-column: 1;
	}
	.footer p {
		font-size: 1.7vh;
	}
}

@media (max-width: 992px) {
	.navbar {
		padding: 2.5% 3.5%;
	}
	.navbar a {
		font-size: 2.5cqh;
		height: 8cqh;
		width: 100%;
		border-radius: 3cqh;
	}
	.navbar > a:first-child {
		height: 7.7cqh;
	}
	.navbar > a:first-child:hover {
		height: 7.7cqh;
	}
	.navbar a:nth-child(2) {
		background-size: 98% 98%;
		background-repeat: no-repeat;
	}
	.navbar a:nth-child(2):hover {
		background-size: 98% 98%;
		background-repeat: no-repeat;
	}
	.navbar a:nth-child(3) {
		background-size: 98% 98%;
		background-repeat: no-repeat;
	}
	.navbar a:nth-child(3):hover {
		background-size: 98% 98%;
		background-repeat: no-repeat;
	}
	.navbar a:nth-child(4) {
		background-size: 98% 98%;
		background-repeat: no-repeat;
	}
	.navbar a:nth-child(4):hover {
		background-size: 98% 98%;
		background-repeat: no-repeat;
	}
}

@media (max-width: 768px) {
	.navbar {
		padding: 2.5% 3.5%;
	}
	.navbar a {
		font-size: 2.5cqh;
		height: 8cqh;
		width: 100%;
		border-radius: 2.5cqh;
	}
	.footer p {
		font-size: 1.5vh;
	}
}

@media (max-width: 576px) {
	.navbar {
		padding: 3.5% 1.5%;
	}
	.navbar a {
		font-size: 2.5cqw;
		height: 6cqw;
		width: 100%;
		border-radius: 3cqw;
	}
	.navbar > a:first-child {
		height: 5.7cqw;
	}
	.navbar > a:first-child:hover {
		height: 5.7cqw;
	}
}

@media (max-width: 400px) {
	.navbar {
		padding: 3.5% 2.5%;
	}
	.navbar a {
		font-size: 2.5cqw;
		height: 6cqw;
		width: 100%;
		border-radius: 3cqw;
	}
	.navbar > a:first-child {
		height: 5.7cqw;
	}
	.navbar > a:first-child:hover {
		height: 5.7cqw;
	}
}