html {
	font-size: 16px;
	font-family: Roboto, sans-serif;
	box-sizing: border-box;
}

*, 
*::before,
*::after {
  box-sizing: inherit;
}

body {
	padding: 30px 60px;
}

h1 {
	text-align: center
}

p {
	letter-spacing: 0.8px;
	text-align: center;
}

div.code-toolbar {
	position: relative;
	width: min(100%, 700px);
	height: fit-content;
	margin: 30px auto;
}

pre {
	font-size: 0.9rem;
	position: relative;
	background-color: #f4f5f7;
	margin: 0;
	padding-top: 50px !important;
	top: -7px;
	color: #172b4d;
	border: 1px solid #dfe1e6;
	border-radius: 5px;
	width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
	scrollbar-color: #888 transparent;
	scrollbar-gutter: stable;
	cursor: text;
}

pre:hover {
	scrollbar-width: thin;
}

div.code-toolbar > .toolbar {
	position: relative;
	width: 100%;
	padding: 5px 10px 0;
	top: 0;
	left: 0;
	opacity: 1 !important;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 0.6rem;
}

div.code-toolbar > .toolbar .lang-label {
	font-size: 1.3rem !important;
	display: block;
	position: absolute;
	top: 0.3rem;
	left: 0.6rem;
	pointer-events: none;
}

div.code-toolbar > .toolbar button,
div.code-toolbar > .toolbar .lang-label {
	background: transparent; 
	box-shadow: none !important;
}

div.code-toolbar > .toolbar button:hover {
	border-color: #666;
	transform: translateY(-1px);
}

div.code-toolbar svg {
	width: 1.3rem;
	height: 1.3rem;
}

.copy-to-clipboard-button[data-copy-state="copy-success"] {
	border-color: #22c55e;
}

@media screen and (max-width: 600px) {
	body {
		padding: 10px;
	}

	pre {
		font-size: 0.6rem;
	}

	div.code-toolbar > .toolbar { 
		grid-template-columns: 80% 10% 10%;
	}
}

@media screen and (max-width: 400px) {
	/*pre {
		overflow-x: visible;
	}*/

	/*pre code {
		white-space: pre-wrap !important;
	}*/

	div.code-toolbar > .toolbar { 
		grid-template-columns: 70% 15% 15%;
	}
}
