
header {
	padding: 0.25rem 2rem;
	margin: 0 0 1rem 0;
	background: #eee;
}

header h1:before {
	content: '';
	display: inline-block;
	width: 32px;
	height: 32px;
	background: url(/android-chrome-192x192.png) 50% 50% / 100% auto no-repeat;
	transform: rotateZ(-10deg) translate(0, 3px);
}

#stats {
	padding: 0.125rem 0 0.5rem;
}

#stats dl {
	margin: 0;
}

#stats dd {
	margin-bottom: 0;
}

.diff {
	mix-blend-mode: difference;
	color: #fff;
}

#hex {
	max-width: 144px;
}

#families {
	max-width: 234px;
}

.swatch {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	width: 64px;
	border: 1px solid #ced4da;
}

.swatch:hover {
	box-shadow: 0 0 0 .25rem rgba(49, 132, 253, .5);
}

.swatch [type="color"] {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

#colors th {
	white-space: nowrap;
}

#colors {
	display: none;
}

#colors.loaded {
	display: block;
}


@media (min-width: 992px) {

	header {
		padding: 1rem 2rem;
	}
}