/**
 * kryptikk.de CSS file
 *


 */

/* terminal theme (from theme bash script) */
:root {
	--color1: #5fffff;
	--color2: #ff87af;
	--color3: #87ff87;
	--color4: #CCC;
	--color5: #ffd7af;
}

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

ul {
	list-style-type: none;
}

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

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

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

.hidden {
	display: none;
}

.float-right {
	float: right;
}

.shadow {
	border: 1px solid #87ff8755; /* color3 */
	box-shadow: 0 0 200px #87ff8734;
}

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

/* layout and design */
body {
	background-color: #000;
	color: var(--color5);
	/*line-height: 18px;*/
	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(--color1);
	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 #87ff8755; /* color3 */
	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(--color5);
	padding: 14px 13px;
	text-decoration: none;
}

#top-nav > ul > li > a .nav-icon {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 6px;
	vertical-align: -2px;
	fill: currentColor;
}

#top-nav > ul > li a:hover {
	background-color: #333;;
}

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

#nav-shell {
	position: relative;
}

.nav-toggle {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nav-toggle-button,
.nav-backdrop {
	display: none;
}

@media (max-width: 650px) {
	#nav-shell {
		height: 44px;
	}

	.nav-toggle-button {
		display: block;
		position: fixed;
		top: 10px;
		left: 10px;
		z-index: 1100;
		background-color: #000;
		border: 1px solid #87ff8755; /* color3 */
		color: var(--color5);
		padding: 6px 10px;
		cursor: pointer;
	}

	#top-nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 220px;
		height: 100vh;
		background-color: #000;
		border-right: 1px solid #87ff8755; /* color3 */
		border-bottom: none;
		margin-bottom: 0;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
		z-index: 1000;
	}

	#top-nav > ul {
		padding-top: 44px;
	}

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

	#top-nav > ul > li > a {
		text-align: left;
		padding: 12px 16px;
	}

	.nav-backdrop {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background: rgba(0, 0, 0, 0.6);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s ease;
		z-index: 900;
	}

	.nav-toggle:checked ~ #top-nav {
		transform: translateX(0);
	}

	.nav-toggle:checked ~ .nav-backdrop {
		opacity: 1;
		pointer-events: auto;
	}
}

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

ul.content-list {
	max-width: 620px;
	padding-left: 22px;
}

ul.content-list li {
	margin-bottom: 6px;
}

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

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

/* terminal display */
pre.terminal {
	padding: 5px;
	background-color: #111;
	min-height: 420px;
	overflow-x: auto;
	line-height: 15px;
}

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

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

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

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

/* tput dim (theme override) */
pre.terminal > code .ansi2 {
	color: #666;
}

/* episodes table */
table {
	width: 100%;
	border-collapse: collapse;
	color: var(--color3);
	font-size: 13px;
}

table caption {
	text-align: left;
	padding: 10px 12px 6px;
	color: var(--color4);
	font-weight: bold;
}

td {
	padding: 1px 12px;
}

td.cover {
	width: 112px;
}

td.cover img {
	display: block;
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 3px;
}

th {
	font-weight: bold;
	padding: 10px 12px;
	text-align: left;
}

tr:nth-child(odd) {
	background-color: #131313;
}

/*
tr:last-child td {
	margin-bottom: 10px;
}
*/

tr:hover {
	background-color: #222;
}

#episodes-table .title > .number {
	color: var(--color4);
}

#episodes-table .title > .name {
	color: var(--color3);
}

#episodes-table .description {
	color: var(--color5);
}

#episodes-table .description > .code {
	color: var(--color2);
}

#episodes-table .link {
	/*
	font-weight: italic;
	color: var(--color5) !important;
	*/
}
