html,
body {
	min-height: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: 'JetBrains Mono', monospace;
	color: #f5f7ff;
	background:
		linear-gradient(rgba(5, 10, 18, 0.58), rgba(5, 10, 18, 0.7)),
		url('https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse1.mm.bing.net%2Fth%2Fid%2FOIP.kvFlWmjSRH9zNTBMnqO9YgHaHQ%3Fpid%3DApi&f=1&ipt=9bf6c58613879f5aab867d92c70b086e0e315279e74a9c2d23b81f2d2eb94c2e&ipo=images') center center / cover fixed no-repeat;
}

.topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 16px 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(5, 10, 18, 0.78);
	backdrop-filter: blur(10px);
}

.topbar-nav {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.topbar-nav a,
.github-link {
	color: #f5f7ff;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: lowercase;
}

.topbar-nav a:hover,
.github-link:hover {
	color: #9cc2ff;
}

.github-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.github-link svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.page-content {
	padding: 32px 24px 48px;
}

.page-content section {
	max-width: min(760px, 100%);
	margin: 0 auto 36px;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-content section:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

#projects,
#cv,
#hobbies {
	max-width: min(720px, 100%);
	margin: 0 auto;
}

p,
img {
	display: block;
	max-width: min(720px, 100%);
	margin: 0 auto 20px;
}

p {
	padding: 14px 18px;
	border-radius: 0;
	background: rgba(7, 12, 20, 0.48);
	backdrop-filter: blur(16px);
	line-height: 1.7;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

h2 {
	max-width: min(720px, 100%);
	margin: 0 auto 12px;
	font-size: 1.1rem;
	text-transform: lowercase;
}

a {
	color: #9cc2ff;
}

a:hover {
	color: #d3e3ff;
}

.placeholder-list {
	max-width: min(720px, 100%);
	margin: 0 auto 24px;
	padding: 0;
	list-style: none;
}

.placeholder-list li {
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	line-height: 1.6;
}

.placeholder-list li strong {
	font-weight: 700;
}

.placeholder-item {
	max-width: min(720px, 100%);
	margin: 0 auto 16px;
	padding: 0 0 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(7, 12, 20, 0.22);
	backdrop-filter: blur(10px);
}

.placeholder-item summary {
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	padding: 12px 0;
	transition: color 0.18s ease;
}

.placeholder-item summary:hover {
	color: #d3e3ff;
}

.placeholder-item summary::-webkit-details-marker {
	display: none;
}

.placeholder-item p {
	margin: 0 0 10px;
	box-shadow: none;
	background: transparent;
	padding: 0;
	backdrop-filter: none;
}

img {
	height: auto;
	border-radius: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

iframe {
	display: block;
	width: min(720px, 100%);
	height: auto;
	aspect-ratio: 16 / 9;
	margin: 12px auto 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

@media (max-width: 640px) {
	.topbar {
		padding: 14px 16px;
	}

	.page-content {
		padding: 24px 16px 40px;
	}
}

