/* Flavor Theme - Custom Styles */

/* Base font */
body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Prose content styles for article body */
.prose-content h1 { font-size: 2rem; font-weight: 700; margin: 1.5em 0 0.5em; line-height: 1.3; }
.prose-content h2 { font-size: 1.5rem; font-weight: 600; margin: 1.5em 0 0.5em; line-height: 1.3; }
.prose-content h3 { font-size: 1.25rem; font-weight: 600; margin: 1.25em 0 0.5em; line-height: 1.4; }
.prose-content h4 { font-size: 1.125rem; font-weight: 600; margin: 1em 0 0.5em; line-height: 1.4; }

.prose-content p { margin: 1em 0; }

.prose-content a {
	color: #059669;
	text-decoration: underline;
	text-decoration-color: rgba(5, 150, 105, 0.3);
	text-underline-offset: 2px;
	transition: text-decoration-color 0.2s;
}
.prose-content a:hover {
	text-decoration-color: #059669;
}

.prose-content ul,
.prose-content ol {
	margin: 1em 0;
	padding-left: 1.5em;
}
.prose-content li { margin: 0.25em 0; }

.prose-content blockquote {
	border-left: 3px solid #059669;
	margin: 1.5em 0;
	padding: 0.5em 1em;
	color: #6b7280;
	font-style: italic;
}

.prose-content pre {
	background: #1f2937;
	color: #e5e7eb;
	border-radius: 0.5rem;
	padding: 1rem;
	overflow-x: auto;
	margin: 1.5em 0;
	font-size: 0.875rem;
	line-height: 1.7;
}

.prose-content code {
	font-size: 0.875em;
	background: #f3f4f6;
	padding: 0.125em 0.375em;
	border-radius: 0.25rem;
}

.prose-content pre code {
	background: none;
	padding: 0;
	border-radius: 0;
}

.prose-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
	margin: 1.5em 0;
}

.prose-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
}
.prose-content th,
.prose-content td {
	border: 1px solid #e5e7eb;
	padding: 0.5em 0.75em;
	text-align: left;
}
.prose-content th {
	background: #f9fafb;
	font-weight: 600;
}

.prose-content hr {
	border: none;
	border-top: 1px solid #e5e7eb;
	margin: 2em 0;
}

/* Dark mode prose overrides */
`@media` (prefers-color-scheme: dark) {
	.prose-content code {
		background: `#374151`;
	}
	.prose-content blockquote {
		color: `#9ca3af`;
	}
	.prose-content th {
		background: `#1f2937`;
	}
	.prose-content th,
	.prose-content td {
		border-color: `#374151`;
	}
}

/* Üveg hatású doboz (Glassmorphism) */
.glass-box {
    background: rgba(17, 24, 39, 0.6); /* Fekete/sötétkék áttetsző szín */
    backdrop-filter: blur(12px); /* EZ csinálja az üveg homályosítását! */
    -webkit-backdrop-filter: blur(12px); /* Safari böngésző támogatása */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Nagyon vékony, áttetsző fehér keret */
    border-radius: 1rem; /* Lekerekített sarkok */
    padding: 2.5rem; /* Belső térköz, hogy a szöveg ne érjen a széléhez */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5); /* Finom árnyék a térhatásért */
    
    /* Középre igazítás és szélesség */
    max-width: 800px; 
    margin: 3rem auto; 
    color: #f3f4f6; /* Világos betűszín */
}

/* Hogy a benne lévő linkek és címsorok is jól nézzenek ki a sötét üvegen */
.glass-box h1, .glass-box h2, .glass-box h3 {
    color: #ffffff;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background-color: #000;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}




.glass-box {
    background: rgba(17, 24, 39, 0.6); /* Sötét, áttetsző háttér */
    backdrop-filter: blur(12px); /* Ez adja a homályos üveg hatást */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Vékony keret */
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    /* Középre igazítás és méretezés */
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
    z-index: 10; /* Hogy biztosan a videó felett legyen */
}



/* Üveg hatású doboz (Glassmorphism) */
.glass-box {
    background: rgba(17, 24, 39, 0.6); /* Sötét, áttetsző háttér, hogy átlátszódjon a videó */
    backdrop-filter: blur(12px); /* Ez adja a homályos, elegáns üveg hatást */
    -webkit-backdrop-filter: blur(12px); /* Safari támogatás */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Vékony, világos keret */
    border-radius: 1rem; /* Lekerekített sarkok */
    padding: 2.5rem; /* Belső margó */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5); /* Mélységi árnyék */
    
    /* Középre igazítás és méretezés */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}














