* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	min-height: 100%;
}

body {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	min-height: 100vh;
	padding: 48px 16px 32px;
	background: #111111;
	color: #ededed;
	font-family: Inter, sans-serif;
	gap: 28px;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: #ffffff;
}

.icon {
	font-family: 'Material Symbols Outlined';
	font-weight: normal;
	font-style: normal;
	line-height: 1;
	display: inline-block;
	font-size: 0.9em;
	margin-left: 6px;
	vertical-align: -2px;
	color: #8a8a8a;
}

header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: min(36rem, 100%);
}

header img {
	height: 28px;
	width: auto;
}

header p {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8a8a8a;
}

error-notice {
	width: min(36rem, 100%);
	background: #7f1d1d;
	color: #ffffff;
	padding: 12px 16px;
	font-size: 14px;
}

error-notice:empty {
	display: none;
}

main {
	width: min(36rem, 100%);
	flex-grow: 1;
}

.site + .site {
	margin-top: 40px;
}

.site h1 {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8a8a8a;
}

.endpoint {
	margin-top: 22px;
}

.endpoint h3 {
	font-size: 15px;
	font-weight: 500;
}

status-bar {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 3px;
	margin-top: 10px;
	user-select: none;
}

status-bar-entry {
	display: block;
	flex: 1 1 0;
	width: 0;
	height: 28px;
	position: relative;
}

status-bar-entry[data-status="outage"] {
	background: #ef4444;
}

status-bar-entry[data-status="highly-degraded"] {
	background: #f97316;
}

status-bar-entry[data-status="degraded"] {
	background: #eab308;
}

status-bar-entry[data-status="healthy"] {
	background: #47d17a;
}

status-bar-entry[data-status="none"] {
	background: #2a2a2a;
}

status-bar-entry > div {
	position: absolute;
	left: 50%;
	bottom: 100%;
	transform: translate(-50%, 0);
	opacity: 0;
	pointer-events: none;
	padding: 8px 10px;
	background: #1a1a1a;
	border: 1px solid #2a2a2a;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	width: max-content;
	max-width: 280px;
	font-size: 12px;
	z-index: 1;
	user-select: text;
}

status-bar-entry > div strong {
	font-weight: 500;
}

status-bar-entry > div em {
	font-style: normal;
	color: #8a8a8a;
}

status-bar-entry:hover > div,
status-bar-entry:focus > div {
	pointer-events: initial;
	transform: translate(-50%, -6px);
	opacity: 1;
}

status-bar-entry:hover > div {
	z-index: 2;
}
