/*

	Emerald
	Librería JavaScript
	v4.1.1
	2025 (c) OKZGN
	
	:STYLES
*/
:root {
	--main-color: #318964;
	--secondary-color: #8de6c1;
	--subtitle-color: #ffc;
	--text-color: #fff;
	--black-color: #000;
	--light-color: rgba(255, 255, 255, 0.5);
	--light2-color: rgba(255, 255, 255, 0.25);
	--light3-color: rgba(255, 255, 255, 0.75);
	--shadow-color: rgba(0, 0, 0, 0.5);
}
*, ::after, ::before {
    outline: 0;
    border: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

	scrollbar-color: var(--secondary-color) var(--black-color);
	scrollbar-width: thin;

    scroll-behavior: smooth;
    transition: all 0.125s;

    font-family: "A", -apple-system, BlinkMacSystemFont,
    "Segoe UI", system-ui, Roboto, Oxygen-Sans, Ubuntu, Cantarell,
    "Helvetica Neue", sans-serif;

    font-size: inherit;
    word-spacing: 0.25rem;
    line-height: 1.25;
    color-scheme: light;
    accent-color: var(--secondary-color);
}
:active, :focus {
    outline: 0;
    -webkit-tap-highlight-color: transparent;
}
::selection {
    opacity: 1;
    background: var(--black-color);
    color: var(--text-color);
}
::placeholder {
    color: var(--black-color);
    opacity: 0.5;
}
::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
}
::-webkit-scrollbar-thumb { background: var(--secondary-color); }
::-webkit-scrollbar-track { background: var(--black-color); }
html, body {
	width: 100%;
	height: 100%;
}
body {
	overflow-x: hidden;
	background-color: var(--main-color);
	color: var(--text-color);
}
body, input, select, textarea, button { font: normal 1rem helvetica; }
a {
	color: var(--secondary-color);
	text-decoration: none;
}
a:hover, a:focus, a:active {
	background-color: var(--subtitle-color);
	outline: 0.25rem solid var(--subtitle-color);
	color: var(--black-color);
	text-decoration: underline;
}
h1 {
	font-size: 2rem;
	padding: 1rem;
}
h1 img { max-width: 15rem; }
h1 span {
	font-size: 0.9rem;
	align-self: center;
	margin-left: 1rem;
}
nav {
	border-top: 1px solid var(--light-color);
	border-bottom: 1px solid var(--light-color);
	padding: 1rem;
}
h1, nav, section {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
h3 {
	font-size: 1.5rem;
	font-weight: normal;
	color: var(--subtitle-color);
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
}
h4 {
	color: var(--secondary-color);
	margin-bottom: 1rem;
}
h4 span { font-size: 1.25rem; }
h4 > i, h4 > b {
	font-size: 1.5rem;
	color: var(--text-color);
	display: inline-block;
	margin-right: 0.25rem;
}
h4 > b { color: var(--light-color) !important; }
footer {
	margin-top: 1rem;
	text-align: center;
	padding: 1rem 0 2rem;
}
nav ul { display: flex; }
nav li { margin: 0.5rem 1rem; }
@media screen and (max-width: 640px){
	nav ul { flex-flow: column; }
}
section, article, .spaces { margin-bottom: 3rem; }
pre {
	background-color: var(--shadow-color);
	padding: 1rem;
	margin-top: 0.5rem;
	max-height: 20rem;
	overflow: auto;
}
button {
	cursor: pointer;
	padding: 0.5rem 1rem;
	background: var(--secondary-color);
	border: 0;
	font-weight: bold;
	display: flex;
	justify-content: center;
	align-items: center;
}
button:hover, button:active, button:focus {
	background-color: var(--subtitle-color);
	color: var(--black-color);
}
button[data-code] {
	float: right;
	font-size: 0.85rem;
}
h5 {
	margin-top: 1rem;
	font-size: 1.125rem;
	font-weight: bold;
	color: var(--secondary-color);
}
h5 + p { margin-top: 0.5rem; }
ul { list-style: none; }
h3, .spaces { padding: 0 25vw; }
@media screen and (max-width: 960px){ h3, .spaces { padding: 0 12.5vw; } }
@media screen and (max-width: 640px){ h3, .spaces { padding: 0 1rem; } }
.spaces { justify-content: flex-start; } 
.spaces article {
	border: 1px solid var(--light2-color);
	padding: 1rem;
}
.spaces li { margin-top: 0.5rem; }
.spaces ul { padding-bottom: 1rem; }
.spaces ul + h5 { margin-top: 0.5rem !important; }
.spaces li:before, .spaces li ul li:before { content: '—'; }
.spaces li > i, .spaces li > b {
	display: inline-block;
	margin: 0 0.25rem;
	color: var(--light3-color);
}
.spaces li > b { margin-right: 1rem; }
.spaces li ul { padding-left: 3rem; }
.descriptive li::before { margin-right: 0.5rem; }
.margin-bottom { margin-bottom: 1rem; }

.copy_code::before, .test_code::before { margin-right: 0.5rem; }

.test_code::before {
	content: '>';
	font-size: 1.125rem;
	line-height: 0;
}

.copy_code::before {
	content: '';
	width: 0.75rem;
	height: 0.75rem;
	border: 1px solid var(--black-color);
}

#code *, #console *, #result, pre *, .spaces li > i, .spaces li > b { font: normal 1rem 'Courier New', Courier, monospace; }
#playground { margin-bottom: 1rem; }
#output + button { padding: 1rem; }
#code, #output {
	height: 25rem;
	margin-bottom: 1rem;
}
#code {
	width: calc(60% - 1rem);
	margin-right: 1rem;
}
#output {
	width: 40%;
	background: var(--shadow-color);
	color: var(--text-color);
	overflow: auto;
	display: flex;
	flex-flow: column;
	justify-content: center;
}
@media screen and (max-width: 960px){
	section { flex-flow: column; }
	#code, #output { width: 100% !important; }
}
#output > * { align-self: center; }
#output .space {
	display: inline-block;
	width: 1rem;
	height: 1rem;
}
#console, #result {
	overflow: auto;
	width: 100%;
	height: calc(50% - 3rem - 1px);
}
#console { padding: 0; }
#console .record {
	display: block;
	margin-bottom: 0.5rem;
}
#console .log { background: rgba(255, 255, 255, 0.05); }
#console .info { background: rgba(0, 0, 255, 0.125); }
#console .info .argument:first-child { color: #99ffff; }
#console .warn { background: rgba(255, 255, 0, 0.125); }
#console .warn .argument:first-child { color: #ffff99; }
#console .error { background: rgba(255, 0, 0, 0.25); }
#console .error .argument:first-child { color: #ff9999; }
#console .argument {
	display: inline-block;
	vertical-align: top;
	margin-right: 1px;
	padding: 0.5rem 1rem;
	background: rgba(255, 255, 255, 0.05);
}
#result { line-height: 1.5; }
#output h4 {
	width: 100%;
	padding: 1rem;
	height: 3rem;
	font-weight: bold;
	border-bottom: 1px solid var(--light-color);
	color: var(--light-color);
	margin-bottom: 0 !important;
}
#output div { padding: 1rem 1rem 0 1rem; }
blockquote {
	margin-bottom: 0.5rem;
	text-align: center;
	padding: 0 1rem 0.5rem 1rem;
	width: 100%;
	display: block;
}
#functions + section {
	justify-content: flex-start;
}
#functions + section ol {
	padding-left: 3rem;
}
#functions + section li::before {
	content: '';
}
#functions + section ol a b {
	color: var(--text-color) !important;
}
#functions + section ol a:hover b,
#functions + section ol a:active b,
#functions + section ol a:focus b {
	color: var(--main-color) !important;
}
@media screen and (max-width: 640px){
	#functions + section ol { padding-left: 2rem; }
}