* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: 'Georgia', serif;
	color: #eaeaea;
	background: url('/img/bg.webp') no-repeat center center;
	background-size: cover;
	background-attachment: fixed;
	position: relative;
	overflow-x: hidden;
	font-size: 13px;
}

#stars {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 80%;
	z-index: 0;
	pointer-events: none;
}

.topRight {
	position: absolute;
	top: 20px;
	right: 20px;
	color: #aaa;
	font-size: 19px;
	cursor: pointer;
	z-index: 100;
}

.topRight img {
	position: relative;
	z-index: 100;
	width: 24px;
}

.content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
	text-align: center;
	padding-top: 60px;
	padding-bottom: 60px;
}

.logo {
	width: 400px;
	max-width: 640px;
	margin-bottom: 6px;
	/* filter: drop-shadow(0 0 10px #000);*/ 

	filter: drop-shadow(0 0 6px rgba(140, 180, 255, 0.60));
	transition: filter 0.2s ease;
}


/*
.subtitle {
	font-size: 15px;
	color: #ccc;
	margin-bottom: 48px;
	font-style: italic;
}*/

.subtitle {
	color: #ccc;
	text-align: center;
	font-size: 14px;
	text-shadow: 0 0 3px rgba(140, 180, 255, 0.15);
}

.buttons {
	display: flex;
	justify-content: center;
	gap: 32px;
	margin-top: 50px;
}

@media (max-height: 500px) {
	.buttons {
		margin-top: 5px;
	}
	.content {
		padding-bottom: 5px;
	}
}

@media (max-height: 600px) {
	.buttons {
		margin-top: 20px;
	}
	.content {
		padding-bottom: 30px;
	}
}

footer {
	position: relative;
	width: 100%;
	text-align: center;
	font-size: 13px;
	color: #aaa;
	z-index: 2;
	padding: 20px 0;
}

.btn {
	padding: 13px 20px;
	font-family: 'Georgia', serif;
	font-weight: bold;
	font-size: 16px;
	color: #f2f2f2;
	text-decoration: none;
	text-shadow: 0 0 1px #000;

	border: 4px solid #000;
	border-radius: 0;

	box-shadow:
		inset 0 0 8px rgba(150, 200, 255, 0.4),
		inset 0 0 1px rgba(200, 230, 255, 0.25),
		0 0 0 2px #1f1f1f;

	transition: all 0.2s ease-in-out;
	display: inline-block;
}

.btn:hover {
	background: linear-gradient(to bottom, #1a1d20, #0e0e0e);
	color: #ffffff;
	border-color: #111;

	box-shadow:
		inset 0 0 10px rgba(150, 210, 255, 0.3),     /* glow dovnitř */
		inset 0 0 30px rgba(100, 160, 255, 0.1),     /* měkký přechod dovnitř */
		0 0 0 2px #5fa0c8,                          /* ten tvůj modrý rámeček */
		0 0 6px rgba(95, 160, 200, 0.6);            /* vnější glow */

	text-shadow: 0 0 2px rgba(200, 240, 255, 0.3);
	transition: all 0.2s ease-in-out;
}

@media (max-width: 500px) {
	.btn {
		background: linear-gradient(to bottom, #121212, #000000);
	}
}

.logoLine {
	width: 500px;
	height: 2px;
	margin: -2px 0px 10px 0px;
	background: radial-gradient(circle, rgba(150,200,255,0.6) 0%, rgba(90,130,180,0.3) 40%, transparent 100%);
}

#langSwitch {
	filter: drop-shadow(0 0 2px #444);
	opacity: 0.7;
	transition: all 0.2s ease;
	width: 24px;
}

#langSwitch:hover {
	opacity: 1;
	transform: scale(1.1);
}

#langMenu {
	position: absolute;
	top: 36px;
	right: 0;
	padding: 10px;
	box-sizing: border-box;
	display: none;
	width: 165px;
}

#langMenu .btn {
	display: block;
	width: 100%;
	margin-bottom: 8px;
	box-sizing: border-box;
	font-size: 13px;
}

#langMenu .btn:last-child {
	margin-bottom: 0;
}

#langMenu a:hover {
	background: #111;
	color: #fff;
}

/*******************
 * contact */
.contactBlock {
	margin-top: 40px;
	text-align: left;
	color: #ccc;
	font-size: 16px;
	line-height: 1.8;
	font-family: 'Georgia', serif;
}

.contactBlock p {
	margin-bottom: 20px;
}

.contactBlock strong {
	display: block;
	margin-bottom: 6px;
	font-size: 18px;
	color: #fff;
	text-shadow: 0 0 2px #888;
}

.contactBlock a {
	color: #9fcdfb;
	text-decoration: none;
	transition: all 0.2s ease;
}

.contactBlock a:hover {
	color: #ffffff;
	text-shadow: 0 0 6px rgba(150, 200, 255, 0.6);
}


/***********************
 * projekty */
.projectList {
	margin-top: 40px;
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}

.projectItem {
	width: 100%;
	max-width: 660px;
	margin: 0 auto 48px auto;
	overflow: hidden;
}

.projectLogo {
	float: left;
	width: 150px;
/*	margin-right: 24px;*/
	text-align: center;
	position: relative;
}

.projectLogo img {
	display: block;
	margin: 10px;
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
	filter: drop-shadow(0 0 4px rgba(150, 200, 255, 0.3));
	transition: all 0.2s ease;
}

.projectLogo a:hover img {
	filter: drop-shadow(0 0 6px rgba(150, 220, 255, 0.6));
	transform: scale(1.03);
}

.projectLogo span {
	display: inline-block;
	font-size: 20px;
	font-weight: bold;
	color: #8fc7ff;
	line-height: 1.2;
	width: 100%;
	text-align: center;
	transition: all 0.2s ease;
	margin: 10px;
}

.projectLogo a:hover span {
	text-shadow: 0 0 6px rgba(150, 220, 255, 0.6);
	transform: scale(1.05);
}

.projectText {
	overflow: hidden;
	max-width: 680px;
}

.projectText h2 {
	margin: 0 0 8px 20px;

	color: #fff;
	font-size: 16px;
	text-shadow: 0 0 3px rgba(200, 240, 255, 0.2);
	text-align: left;
}

.projectText p {
	margin: 6px 0;
	margin-left: 20px;
	line-height: 1.6;
	color: #ccc;
	text-align: left;
}

p.link {
	color: #ccc;
	text-align: center;
	clear: both;
}

.projectText a,
p.link a {
	color: #9fcdfb;
	text-decoration: none;
	display: inline-block;
	margin-top: 8px;
	transition: all 0.2s ease;
}

.projectText a:hover,
p.link a:hover {
	color: #ffffff;
	text-shadow: 0 0 4px rgba(100, 160, 255, 0.6);
}

.clear {
	clear: both;
}


footer a {
	color: #4f6c90;
	text-decoration: none;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

footer a:hover {
	color: #ffffff;
	text-shadow: 0 0 4px rgba(120, 180, 255, 0.3);
}

#signature {
	position: absolute;
	z-index: 90;
	right: 10px;
	bottom: 5px;
	font-size: 13px;
	font-style: italic;
	color: #2e3b50; /* temná, studená modrošedá */
}

#signature a {
	color: inherit;
	text-decoration: none;
}

#signature a:hover {
	color: #9fcdfb;
	text-shadow: 0 0 4px rgba(120, 180, 255, 0.3);
}


/**********************
 * console */

#tConsole {
	position: absolute;
	top: 0;
	left: 0;
	background: #000;
	color: #66ffcc;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	padding: 4px 10px;
	z-index: 60;
	overflow: hidden;
	cursor: pointer;
}

.consoleLine {
/*	white-space: nowrap; */
	display: block;
}

.consoleInputLine {
	white-space: nowrap; 

}

.consoleLine.blinking::after {
	content: '_';
	display: inline-block;
	margin-left: 3px;
	animation: blink 1s steps(1) infinite;
}

@keyframes blink {
	0%, 50% { opacity: 1; }
	50.01%, 100% { opacity: 0; }
}

.consoleInput {
	background: transparent;
	border: none;
	outline: none;
	color: #66ffcc;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	width: 80%;
	caret-color: #66ffcc;
}


/*****************************
 * error 404 */
.errorWrap {
	text-align: center;
	margin-top: 48px;
}

.errorWrap h2 {
	font-size: 40px;
	color: #ccc;
	letter-spacing: 1.6px;
	margin-bottom: 4px;
}

.errorWrap p {
	font-size: 17px;
	color: #bbb;
	line-height: 26px;
	margin-bottom: 32px;
}

.errorWrap p em {
	color: #999;
	font-style: italic;
}

