body,
html {
	margin: 0;
	padding: 0;
	font-family: "Roboto Mono", -apple-system, BlinkMacSystemFont, "Segoe UI",
		Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
		"Segoe UI Symbol";
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
}

a {
	border-bottom: 1px dotted;
	text-decoration: none;
	color: currentColor;
}

.container {
	color: #fff;
	background-color: #9c9c9c;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;

	transition: background-color 1.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.container--inverted {
	color: #4a4a4a;
}

h1,
h2 {
	margin: 0;
	font-weight: 300;
}

.container--GOOD {
	background-color: #6ec96e;
}

.container--MODERATE {
	background-color: #dfdc58;
}

.container--UNHEALTHY-SENSITIVE {
	background-color: #ff9745;
}

.container--UNHEALTHY {
	background-color: #cb2d2d;
}

.container--VERY-UNHEALTHY {
	background-color: #6b003f;
}

.container--HAZARDOUS {
	background-color: #4f0101;
}

.aqi-value {
	font-size: 7.5rem;
	font-weight: 700;
	line-height: 1;
}

.aqi-text-value {
	font-size: 2.25rem;
	text-align: center;
	line-height: 1.2;
	margin-top: 1rem;
}

.container--VERY-UNHEALTHY .aqi-text-value {
	font-size: 2rem;
}

.aqi-text-value__extra {
	font-size: 1rem;
}

.location {
	margin-top: 5rem;
	margin-bottom: 1rem;
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
	background-color: transparent;
	border: 0;
	color: #fff;
	line-height: 1.5;
	text-align: center;
}

.attribution,
.github-link,
.offline-message,
.update-time {
	font-size: 0.75rem;
}

.attribution {
	margin-top: 1rem;
	opacity: 0.8;
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
}

.github-link {
	position: absolute;
	top: 1rem;
	right: 1rem;
}

.offline-message {
	position: absolute;
	top: 6rem;
	opacity: 0;
	transition: opacity 0.5s cubic-bezier(0, 0, 0.2, 1);
}

.offline-message.offline {
	opacity: 1;
}
