/**
 * Terminal Portfolio CSS
 * Sample terminal style with Dracula theme colors
 */

/* dracula theme colors */
:root {
	--background: #282a36;
	--current-line: #44475a;
	--selection: #44475a;
	--foreground: #f8f8f2;
	--comment: #6272a4;
	--cyan: #8be9fd;
	--green: #50fa7b;
	--orange: #ffb86c;
	--pink: #ff79c6;
	--purple: #bd93f9;
	--red: #ff5555;
	--yellow: #f1fa8c;
}

/* reset */
* {
	margin: 0;
	padding: 0;
}

ul {
	list-style-type: none;
}

/* helper classes */
.center {
	text-align: center;
}

.title {
	color: var(--green);
}

.highlight {
	color: var(--purple);
}

.hidden {
	display: none;
}

.float-right {
	float: right;
}

.shadow {
	border: 1px solid rgba(80, 250, 123, 0.3); /* green with opacity */
	box-shadow: 0 0 200px rgba(80, 250, 123, 0.2);
}

@media (max-width: 650px) {
	.hide-mobile{
		display: none;
	}
}

/* layout and design */
body {
	background-color: var(--background);
	color: var(--foreground);
	font-size: 13px;
}

body, code {
	font-family: "Fira Mono", monospace;
	font-weight: 400;
	font-style: normal;
}

b, strong, h1, h2, h3, h4, h5, h6 {
	font-weight: 900;
}

#container {
	position: relative;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
	max-width: 800px;
	padding: 0 6px;
}

a, a:visited {
	color: var(--cyan);
	text-decoration: none;
}

.logo {
	position: relative;
	float: right;
	clear: both;
	margin-left: 10px;
	margin-bottom: 10px;
}

.self-portrait {
	border-radius: 50%;
}

h1.title {
	margin-bottom: 21px;
}

#top-nav {
	text-align: left;
	border-bottom: 1px solid rgba(80, 250, 123, 0.3); /* green with opacity */
	margin-bottom: 21px;
}

#top-nav > ul {
	list-style: none;
	overflow: hidden;
}

#top-nav > ul > li {
	float: left;
}

#top-nav > ul > li.right {
	float: right;
}

#top-nav > ul > li > a {
	display: block;
	text-align: center;
	color: var(--foreground);
	padding: 14px 13px;
	text-decoration: none;
}

#top-nav > ul > li a:hover {
	background-color: var(--current-line);
}

#top-nav > ul > li .active {
	color: var(--green);
}

p.content {
	max-width: 620px;
}

#socials {
	text-align: center;
	margin-top: 30px;
	margin-bottom: 10px;
}

/* Command buttons styling */
.cmd-btn {
	background: none;
	border: none;
	color: var(--cyan);
	font-family: "Fira Mono", monospace;
	font-size: 13px;
	cursor: pointer;
	text-decoration: none;
	padding: 0;
	margin: 0;
}

.cmd-btn:hover {
	color: var(--pink);
	text-decoration: underline;
}

.footer {
	text-align: center;
	font-size: 12px;
}

/* terminal display - authentic dracula colors */
pre.terminal {
	padding: 10px;
	background-color: var(--background);
	min-height: 420px;
	max-height: 420px;
	overflow-x: auto;
	overflow-y: auto;
	line-height: 15px;
	color: var(--foreground);
}

pre.terminal > code {
	font-size: 13px;
}

/* blinking cursor */
pre.terminal > code::after {
	content: "";
	width: 6px;
	height: 12px;
	background: var(--foreground);
	display: inline-block;
	animation: cursor-blink 1.5s step-start infinite;
}

.no-animation::after {
	animation: none !important;
}

@keyframes cursor-blink {
	50% {
		opacity: 0;
	}
}

/* ANSI color overrides */
pre.terminal > code .ansi2 {
	color: var(--comment);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
	#container {
		padding: 0 10px;
	}
	
	.logo {
		float: none;
		display: block;
		margin: 0 auto 20px;
	}
	
	p.content {
		max-width: 100%;
	}
	
	pre.terminal {
		min-height: 300px;
		font-size: 12px;
	}
}