@import url('../../media/styles/root.css');
body {
	font-family: 'SourceCodePro', Arial, sans-serif;
	margin: 2em;
	/*background: #000000; */
	color: #ffffff;
	overflow-x: hidden;
	overflow-y: auto;
}

h1 {
	margin-bottom: 1em;
	font-size: 2rem;
}
.service {
	width: 95%;
	border: 1px solid #ccc;
	padding: 0.5em 1em 1em;
	margin-bottom: 1em;
	border-radius: 4px;
	/* background: #111; */
	transition: background 0.2s;
}
.service[open] {
	background: var(--bg-color);
}
.line {
	font-family: monospace;
	font-size: 1rem;
}
.service > summary {
	font-size: 1.4rem;
	font-weight: bold;
	margin: 0;
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-left: 1.4rem;
	transition: background 0.2s;
	padding: 0.5em 0.5em 0.5em 1.4rem;
	border-radius: 2px;
}
.service > summary:hover {
	background: rgba(255, 0, 119, 0.1);
}
.service > summary::before,
.line > summary::before {
	content: '>';
	position: absolute;
	left: 0;
	transition: transform 0.2s ease;
	color: #ff0077;
}
.service[open] > summary::before,
.line[open] > summary::before {
	transform: rotate(90deg);
}
.line > summary {
	font-size: 1.2rem;
	font-weight: normal;
	padding-left: 1.2em;
}
.service > summary::-webkit-details-marker,
.line > summary::-webkit-details-marker {
	display: none;
}
.val-string {
	color: #6fcf97;
}
.val-number {
	color: #56ccf2;
}
.val-boolean {
	color: #f2c94c;
}
.val-null {
	color: #828282;
}
.val {
	color: #ff0077;
}
.service ul {
	margin: 0.5em 0 0 1em;
}

.service .line {
	margin: 0.2em 0;
}
.service .line .key {
	font-weight: bold;
}
.service .line .val {
	margin-left: 0.3em;
	color: #ff0077;
	padding: 0 0.2em;
	border-radius: 2px;
}
a {
	color: #ff0077;
	cursor: pointer;
	word-break: break-all;
}
::selection {
	color: black;
	background-color: #ff0077;
}

@media (max-width: 768px) {
	body {
		margin: 1em;
	}

	h1 {
		font-size: 1.5rem;
		margin-bottom: 0.75em;
	}

	.service {
		padding: 0.5em 0.75em 0.75em;
		margin-bottom: 0.75em;
		border-radius: 3px;
	}

	.service > summary {
		font-size: 1.1rem;
		padding: 0.4em 0.4em 0.4em 1.2rem;
	}

	.line > summary {
		font-size: 1rem;
		padding-left: 1em;
	}

	.service ul {
		margin: 0.4em 0 0 0.75em;
	}

	.line {
		font-size: 0.9rem;
	}
}

@media (max-width: 480px) {
	body {
		margin: 0.75em;
	}

	h1 {
		font-size: 1.3rem;
		margin-bottom: 0.5em;
	}

	.service {
		padding: 0.4em 0.5em 0.5em;
		margin-bottom: 0.5em;
	}

	.service > summary {
		font-size: 1rem;
		padding: 0.3em 0.3em 0.3em 1rem;
	}

	.line > summary {
		font-size: 0.9rem;
		padding-left: 0.8em;
	}

	.service ul {
		margin: 0.3em 0 0 0.5em;
	}

	.line {
		font-size: 0.8rem;
	}

	.service .line {
		margin: 0.15em 0;
	}
}
