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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #0f0; }
html { scrollbar-color: #0f0 #000; }

body {
	background: #000;
	color: #0f0;
	font-family: monospace;
	font-size: 16px;
	line-height: 1.2;
	min-height: 100vh;
	padding: 50px 10px 10px;
	overflow-x: hidden;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding: 10px;
	background: #000;
	border-bottom: 1px solid #0f0;
	z-index: 100;
}

a, a:visited {
	color: #0f0;
}

header a {
	text-decoration: none;
	margin-right: 20px;
}

header a:first-child {
	margin-left: 10px;
}

header a::before { content: ''; }

header a:hover::before { content: '> '; }

#terminal { word-wrap: break-word; }

#output div { white-space: pre-wrap; }

#input-line { display: flex; }

.prompt { margin-right: 8px; }

#cmd {
	flex: 1;
	background: transparent;
	border: none;
	color: #0f0;
	font: inherit;
	outline: none;
	caret-color: #0f0;
}

.cmd-line { color: #0f0; }

#output img { max-width: 200px; margin: 5px 0; }

.ascii-small { display: none; }

@media (max-width: 1175px) {
	.ascii-large { display: none; }
	.ascii-small { display: block; }
}

@media (max-width: 480px) {
	.ascii-small { font-size: 8px; line-height: 1; }
}

main {
	max-width: 800px;
	line-height: 1.6;
}

h1 {
	font-size: 24px;
	margin-bottom: 5px;
	font-weight: normal;
}

h2 {
	font-size: 18px;
	margin: 30px 0 15px;
	font-weight: normal;
	border-bottom: 1px solid #0f0;
	padding-bottom: 5px;
}

h3 {
	font-size: 16px;
	font-weight: normal;
	margin-bottom: 10px;
}

.tagline {
	color: #0a0;
	margin-bottom: 20px;
}

section { margin-bottom: 30px; }

.job { margin-bottom: 20px; }

.job-header {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.job-title { font-weight: bold; }

.job-date { color: #0a0; }

.job-company { margin-bottom: 10px; }

.job ul, .skill-list, .contact-list {
	list-style: none;
	margin-left: 20px;
}

.job li::before, .skill-list li::before, .contact-list li::before {
	content: '> ';
}

.project {
	margin-bottom: 15px;
}

.project-title {
	font-weight: bold;
}

.project p {
	margin-left: 20px;
	color: #0a0;
}

.skills {
	display: flex;
	gap: 60px;
	flex-wrap: wrap;
}

.contact-list li {
	margin-bottom: 10px;
}

.label {
	display: inline-block;
	min-width: 80px;
}
