@import url(./font/notosansmono.css);
@import url(./font/notosanssymbols.css);
@import url(./font/notosanssymbols2.css);

:root {
	--fonts: 'Noto Sans Mono', 'Noto Sans Symbols', 'Noto Sans Symbols 2', monospace;
}

::selection {
	background: #363;
}

html,
body {
	padding: 0;
	margin: 0;
	overflow: hidden;

	background: black;
	color: white;

	font-family: var(--fonts);
}

#content {
	display: flex;
	align-items: center;
	justify-content: center;

	min-width: 100vw;
	min-height: 100vh;

	opacity: 1;

	&.exit {
		transition: opacity 1.5s ease, visibility 1.5s ease;
		opacity: 0;
	}
}

.skonk {
	position: absolute;
	top: 50px;
	right: 0;

	max-width: 25%;
	height: auto;

	user-select: none;
	pointer-events: none;

	opacity: 1;
	visibility: visible;
	z-index: 1;

	&.perish {
		transition: opacity 3s ease, visibility 3s ease;

		opacity: 0;
		visibility: hidden;
	}
}

#console {
	overflow: auto;

	width: 1000px;
	height: calc(100vh - 50px);
	max-width: calc(100vw - 50px);

	border: 5px solid white;
	border-radius: 10px;

	background: black;
	font-family: var(--fonts);

	scrollbar-color: white transparent;
	scrollbar-width: 5px;
	scrollbar-gutter: stable;

	& .ascii-art {
		line-height: 1.3em;
	}

	& a:any-link {
		color: white;
	}
}

#history {
	display: inline-block;
	padding: 5px;
	padding-bottom: 0;
}


.input-field {
	display: flex;
}
#input-field {
	margin: 0 5px;
	margin-bottom: 100px;
}

.input-container {
	position: relative;
	flex-grow: 1;
}

#input,
.input-highlight {
	position: relative;
	display: inline-block;

	outline: 0;
	width: 0;

	width: 100%;
	height: 100%;

	/* word-break: break-all; */
}

#input {
	position: absolute;
	top: 0;
	left: 0;

	width: 100%;
	height: 100%;

	color: transparent;
	caret-color: white;

	font-size: 1em;
	font-family: var(--fonts);

	resize: none;

	border: 0;
	padding: 0;
	background: transparent;

	&::selection {
		color: white;
	}
}

pre,
span {
	font-size: 1em;
	font-family: var(--fonts);
	margin: 0;
}

audio {
	display: none;
}
