/*! weather-service v1.0.0 | (c) 2021 bnjmnrsh@gmail.com | MIT License | git+ssh://git@github.com/bnjmnrsh-projs/Weather-Service.git */
/**
 * Reset
 * https://piccalil.li/blog/a-modern-css-reset/
*/
/* Box sizing rules */
@import url("https://fonts.googleapis.com/css2?family=Turret+Road:wght@700&display=swap");
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
	list-style: none;
}

/* Set core root defaults */
html:focus-within {
	scroll-behavior: smooth;
}

/* Set core body defaults */
body {
	min-height: 100vh;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
	text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
	display: block;
	max-width: 100%;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
	font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}

	*,
*::before,
*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}
/**
 * Base color and greyscale properties.
 * You likely want to use theme varrabiles instead of these.
*/
:root {
	--grey-0: hsl(13, 7%, 100%, 0.9);
	--grey-1: hsla(13, 7%, 96%, 0.9);
	--grey-2: hsla(13, 7%, 78%, 0.9);
	--grey-3: hsla(13, 7%, 70%, 0.9);
	--grey-4: hsla(13, 7%, 60%, 0.9);
	--grey-5: hsla(13, 7%, 50%, 0.9);
	--grey-6: hsla(13, 7%, 40%, 0.9);
	--grey-7: hsla(13, 7%, 30%, 0.9);
	--grey-8: hsla(13, 7%, 20%, 0.9);
	--grey-9: hsla(13, 7%, 12%, 0.9);
	--grey-10: hsla(13, 7%, 8%, 0.9);
	--grey-solid-0: hsl(13, 7%, 100%);
	--grey-solid-1: hsla(13, 7%, 96%);
	--grey-solid-2: hsla(13, 7%, 78%);
	--grey-solid-3: hsla(13, 7%, 70%);
	--grey-solid-4: hsla(13, 7%, 60%);
	--grey-solid-5: hsla(13, 7%, 50%);
	--grey-solid-6: hsla(13, 7%, 40%);
	--grey-solid-7: hsla(13, 7%, 30%);
	--grey-solid-8: hsla(13, 7%, 20%);
	--grey-solid-9: hsla(13, 7%, 12%);
	--grey-solid-10: hsla(13, 7%, 8%);
	--red-1: hsla(9, 95%, 30%, 0.7);
	--red-2: hsla(9, 95%, 50%, 0.7);
	--red-3: hsla(9, 100%, 70%, 0.7);
	--red-4: hsla(9, 100%, 85%, 0.7);
	--orange-1: hsla(33, 95%, 30%, 0.7);
	--orange-2: hsla(33, 95%, 50%, 0.7);
	--orange-3: hsla(33, 95%, 70%, 0.7);
	--orange-4: hsla(33, 95%, 85%, 0.7);
	--yellow-1: hsla(60, 95%, 25%, 0.7);
	--yellow-2: hsla(60, 95%, 50%, 0.7);
	--yellow-3: hsla(60, 95%, 70%, 0.7);
	--yellow-4: hsla(60, 95%, 85%, 0.7);
	--green-1: hsla(144, 95%, 25%, 0.7);
	--green-2: hsla(144, 95%, 50%, 0.7);
	--green-3: hsla(144, 95%, 70%, 0.7);
	--green-4: hsla(144, 95%, 85%, 0.7);
	--cyan-1: hsla(176, 95%, 25%, 0.7);
	--cyan-2: hsla(176, 95%, 50%, 0.7);
	--cyan-3: hsla(176, 95%, 70%, 0.7);
	--cyan-4: hsla(176, 95%, 85%, 0.7);
	--blue-1: hsla(195, 95%, 30%, 0.7);
	--blue-2: hsla(195, 95%, 50%, 0.7);
	--blue-3: hsla(195, 95%, 70%, 0.7);
	--blue-4: hsla(195, 95%, 85%, 0.7);
	--red-solid-1: hsla(9, 95%, 30%);
	--red-solid-2: hsla(9, 95%, 50%);
	--red-solid-3: hsla(9, 100%, 70%);
	--red-solid-4: hsla(9, 100%, 85%);
	--orange-solid-1: hsla(33, 95%, 30%);
	--orange-solid-2: hsla(33, 95%, 50%);
	--orange-solid-3: hsla(33, 95%, 70%);
	--orange-solid-4: hsla(33, 95%, 85%);
	--yellow-solid-1: hsla(60, 95%, 25%);
	--yellow-solid-2: hsla(60, 95%, 50%);
	--yellow-solid-3: hsla(60, 95%, 70%);
	--yellow-solid-4: hsla(60, 95%, 85%);
	--green-solid-1: hsla(144, 95%, 25%);
	--green-solid-2: hsla(144, 95%, 50%);
	--green-solid-3: hsla(144, 95%, 70%);
	--green-solid-4: hsla(144, 95%, 85%);
	--cyan-solid-1: hsla(176, 95%, 25%);
	--cyan-solid-2: hsla(176, 95%, 50%);
	--cyan-solid-3: hsla(176, 95%, 70%);
	--cyan-solid-4: hsla(176, 95%, 85%);
	--blue-solid-1: hsla(195, 95%, 30%);
	--blue-solid-2: hsla(195, 95%, 50%);
	--blue-solid-3: hsla(195, 95%, 70%);
	--blue-solid-4: hsla(195, 95%, 85%);
}

:root {
	/* Fluid Type Scale: 1.125 Major Second
	   * https://utopia.fyi/blog/css-modular-scales/
	   * https://utopia.fyi/type/calculator?c=320,16,1.2,1140,24,1.25,4,1,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l
	  */
	--step--3: clamp(0.48rem, 0.43rem + 0.26vw, 0.61rem);
	--step--2: clamp(0.58rem, 0.5rem + 0.37vw, 0.77rem);
	--step--1: clamp(0.69rem, 0.59rem + 0.52vw, 0.96rem);
	--step-0: clamp(0.83rem, 0.69rem + 0.72vw, 1.2rem);
	--step-1: clamp(1rem, 0.8rem + 0.98vw, 1.5rem);
	--step-2: clamp(1.2rem, 0.94rem + 1.32vw, 1.88rem);
	--step-3: clamp(1.44rem, 1.09rem + 1.76vw, 2.34rem);
	--step-4: clamp(1.73rem, 1.26rem + 2.35vw, 2.93rem);
	--step-5: clamp(2.07rem, 1.45rem + 3.1vw, 3.66rem);
}

/**
 * General utility classes
*/
/** Screen reader only styles */
button.c-toggle input[type=checkbox],
label.c-toggle input[type=checkbox],
.sr-only:not(:focus):not(:active) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}

.wrapper {
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--scale-500);
	padding-left: var(--scale-500);
}

/** Conditional js enabled styles */
html.js-disabled .js-enabled {
	display: none;
	visibility: hidden;
}

html:not(.error.js-disabled) body .js-disabled {
	display: none;
	visibility: hidden;
}

/**
 * Data Scales
*/
[data-temp="0"] {
	background-color: var(--blue-2) !important;
	--icon-fill-color: var(--theme-white);
}

[data-temp="1"] {
	background-color: var(--cyan-2) !important;
	--icon-fill-color: var(--grey-8);
}

[data-temp="2"] {
	background-color: var(--green-2) !important;
	--icon-fill-color: var(--grey-8);
}

[data-temp="3"] {
	background-color: var(--yellow-2) !important;
	--icon-fill-color: var(--grey-8);
}

[data-temp="4"] {
	background-color: var(--orange-2) !important;
	--icon-fill-color: var(--grey-8);
}

[data-temp="5"] {
	background-color: var(--red-2) !important;
	--icon-fill-color: var(--theme-white);
}

/* Animations */
@keyframes rotating {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}
/* stylelint-disable */
@keyframes loading {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
/* stylelint-enable */
/* Delayed fade-in */
/*

h1 {
    @include fade-in('800ms', '300ms');
}
*/
@keyframes wait {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}
@keyframes fade-in {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
/**
 * Global styles
 */
html,
body {
	height: 100%;
}

hr {
	display: block;
	max-width: 500px;
	height: 1px;
	margin: get-size(900) auto;
	background: var(--color-stroke);
	border: none;
}

img {
	height: auto;
}

:focus {
	outline: 2px solid transparent;
	box-shadow: 0 0 0 3px var(--blue-3), 0 0 0 2px var(--blue-2);
}

body {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	width: 80%;
	min-height: 100vh;
	margin: 0 auto;
	scroll-behavior: smooth;
}

main {
	flex: 1;
	min-width: 80%;
	max-width: 10rem;
	margin-bottom: 3rem;
}
@media screen and (max-width: 545px) {
	main {
		width: 100%;
		max-width: inherit;
	}
}

.app {
	margin: 0.5rem;
	background-color: var(--bg-lt);
	border-radius: var(--bdradius-lg);
}

@media screen and (max-width: 545px) {
	.site-footer {
		display: none;
	}
}
@media screen and (min-width: 1500px) {
	main {
		width: 50rem;
		min-width: 50rem;
		max-width: 50rem;
	}
}
/**
 * Theme styles
 */
:root {
	--color-mode: "light";
	--theme-white: var(--grey-0);
	--theme-black: var(--grey-10);
	--text: var(--grey-9);
	--bg-lt: var(--grey-1);
	--bg: var(--grey-2);
	--bg-md: var(--grey-3);
	--bg-dk: var(--gray-6);
	--bg-vdk: var(--grey-7);
	--bg-lite: var(--text);
	background-color: var(--bg-md);
	--icon-bg: var(--grey-7);
	--icon-accent: var(--grey-6);
	--temp-0: var(--blue-2);
	--temp-1: var(--cyan-2);
	--temp-2: var(--green-2);
	--temp-3: var(--yellow-2);
	--temp-4: var(--orange-2);
	--temp-5: var(--red-2);
	--uv-0: var(--blue-3);
	--uv-1: var(--cyan-3);
	--uv-2: var(--green-3);
	--uv-3: var(--yellow-2);
	--uv-4: var(--orange-2);
	--uv-5: var(--red-2);
	--bdradius-lg: 10px;
	--bdradius-md: 6px;
	--bdradius-sm: 2px;
	--bg-error: var(--red-solid-1);
	--bg-warnihg: var(--orange-solid-3);
	--bg-success: var(--green-solid-2);
	--bg-nutral: var(--blue-solid-3);
}
@media (prefers-color-scheme: dark) {
	:root {
		--color-mode: "dark";
	}
}

@media (prefers-color-scheme: dark) {
	:root:not([data-user-color-scheme]) {
		--text: var(--theme-white);
		--bg-lt: var(--grey-6);
		--bg: var(--grey-7);
		--bg-md: var(--grey-8);
		--bg-dk: var(--grey-9);
		--bg-vdk: var(--grey-9);
		--icon-bg: var(--grey-8);
		--icon-accent: var(--grey-4);
	}
	:root:not([data-user-color-scheme]) html {
		color: var(--text);
	}
	:root:not([data-user-color-scheme]) svg {
		fill: var(--text);
	}
}
:root[data-user-color-scheme=dark] {
	--text: var(--theme-white);
	--bg-lt: var(--grey-6);
	--bg: var(--grey-7);
	--bg-md: var(--grey-8);
	--bg-dk: var(--grey-9);
	--bg-vdk: var(--grey-9);
	--icon-bg: var(--grey-8);
	--icon-accent: var(--grey-4);
}
:root[data-user-color-scheme=dark] html {
	color: var(--text);
}
:root[data-user-color-scheme=dark] svg {
	fill: var(--text);
}

/**
* Base fonts & typography
*/
@font-face {
	font-weight: 300;
	font-family: system;
	font-style: normal;
	src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"), local(".LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Light"), local("Roboto-Light"), local("DroidSans"), local("Tahoma");
}
html {
	font-size: 100%;
	/* 16px */
}

body {
	color: var(--text);
	font-weight: 400;
	font-family: system, sans-serif;
	line-height: 1.4;
}

p {
	margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5 {
	margin: 3rem 0 1.38rem;
	font-weight: 800;
	font-family: "Turret Road", system, sans-serif;
	line-height: 1.3;
}

h1 {
	margin-top: 0;
	margin-bottom: 0.1em;
	font-size: var(--step-4);
}

h2 {
	font-size: var(--step-3);
}

h3 {
	font-size: var(--step-2);
}

h4 {
	font-size: var(--step-1);
}

h5 {
	font-size: var(--step-0);
}

small,
.text_small {
	font-size: var(--step--1);
}

a {
	color: inherit;
	text-decoration: none;
}
a:hover, a:focus {
	text-decoration: underline;
}

ul.unstyled {
	margin: 0;
	padding: 0;
	list-style: none;
}

/**
* Fluid type utlis
*/
.ft-0 {
	font-size: var(--step-0);
}

.ft-1 {
	font-size: var(--step-1);
}

.ft-2 {
	font-size: var(--step-2);
}

.ft-3 {
	font-size: var(--step-3);
}

.ft-4 {
	font-size: var(--step-4);
}

.ft-5 {
	font-size: var(--step-5);
}

.c-masthead {
	margin-top: 3rem;
}
.c-masthead a {
	display: inline-block;
}

/**
 * Page footer styles
*/
.c-site-footer {
	display: flex;
	justify-content: center;
	width: 100vw;
	padding: 0.5rem 0;
	color: var(--bg-lt);
	font-size: var(--step--1);
	text-align: center;
	background-color: var(--bg-vdk);
}
.c-site-footer .wrap {
	margin: 1rem 0;
}
.c-site-footer a {
	color: currentColor;
}
.c-site-footer a:hover, .c-site-footer a:focus {
	text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-user-color-scheme=light]) .c-site-footer {
		color: var(--grey-3);
		background-color: var(--bg-dk);
	}
}
/**
* Button and checkbox toggles
*/
button.c-toggle {
	background: none;
	border: none;
}
button.c-toggle .toggle {
	pointer-events: none;
}

button.c-toggle,
label.c-toggle {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	/* stylelint-disable no-descending-specificity */
}
button.c-toggle .toggle,
label.c-toggle .toggle {
	display: flex;
	flex-direction: row;
	width: 50px;
	height: 25px;
	margin-left: 1em;
	vertical-align: middle;
	background-color: var(--grey-2);
	border: 1px solid var(--grey-4);
	border-radius: 1em;
	cursor: pointer;
	transition: transform 0.1s linear;
}
button.c-toggle .toggle::after,
label.c-toggle .toggle::after {
	position: absolute;
	width: 21px;
	height: 21px;
	margin: 1px;
	background-color: var(--theme-white);
	border: 1px solid var(--theme-white);
	border-radius: 1em;
	box-shadow: 2px 5px 10px -2px rgba(0, 0, 0, 0.2);
	transition: transform 0.1s linear;
	content: "";
}
@media screen and (prefers-reduced-motion: reduce) {
	button.c-toggle .toggle::after,
label.c-toggle .toggle::after {
		position: absolute;
		width: 21px;
		height: 21px;
		margin: 1px;
		background-color: var(--theme-white);
		border: 1px solid var(--theme-white);
		border-radius: 1em;
		box-shadow: 2px 5px 10px -2px rgba(0, 0, 0, 0.2);
		transition: none;
		content: "";
	}
}
@media screen and (prefers-reduced-motion: reduce) {
	button.c-toggle .toggle,
label.c-toggle .toggle {
		display: flex;
		flex-direction: row;
		width: 50px;
		height: 25px;
		margin-left: 1em;
		vertical-align: middle;
		background-color: var(--grey-2);
		border: 1px solid var(--grey-4);
		border-radius: 1em;
		cursor: pointer;
		transition: none;
	}
	button.c-toggle .toggle::after,
label.c-toggle .toggle::after {
		position: absolute;
		width: 21px;
		height: 21px;
		margin: 1px;
		background-color: var(--theme-white);
		border: 1px solid var(--theme-white);
		border-radius: 1em;
		box-shadow: 2px 5px 10px -2px rgba(0, 0, 0, 0.2);
		transition: transform 0.1s linear;
		content: "";
	}
}
button.c-toggle[aria-pressed] > .toggle,
button.c-toggle input[type=checkbox]:checked + .toggle,
label.c-toggle[aria-pressed] > .toggle,
label.c-toggle input[type=checkbox]:checked + .toggle {
	background-color: var(--green-2);
	border-color: var(--green-2);
}
button.c-toggle[aria-pressed] > .toggle::after,
button.c-toggle input[type=checkbox]:checked + .toggle::after,
label.c-toggle[aria-pressed] > .toggle::after,
label.c-toggle input[type=checkbox]:checked + .toggle::after {
	border-color: var(--theme-white);
	transform: translateX(24px);
	transition: transform 0.1s linear;
}
@media screen and (prefers-reduced-motion: reduce) {
	button.c-toggle[aria-pressed] > .toggle::after,
button.c-toggle input[type=checkbox]:checked + .toggle::after,
label.c-toggle[aria-pressed] > .toggle::after,
label.c-toggle input[type=checkbox]:checked + .toggle::after {
		border-color: var(--theme-white);
		transform: translateX(24px);
		transition: none;
	}
}
button.c-toggle:disabled > .toggle,
button.c-toggle input[type=checkbox]:disabled + .toggle,
label.c-toggle:disabled > .toggle,
label.c-toggle input[type=checkbox]:disabled + .toggle {
	cursor: not-allowed;
	opacity: 0.5;
	pointer-events: none;
}
button.c-toggle:focus,
button.c-toggle input[type=checkbox]:focus,
label.c-toggle:focus,
label.c-toggle input[type=checkbox]:focus {
	outline: 2px solid transparent;
	box-shadow: none;
}
button.c-toggle:focus:not(:focus-visible) > .toggle,
button.c-toggle input[type=checkbox]:focus:not(:focus-visible) + .toggle,
label.c-toggle:focus:not(:focus-visible) > .toggle,
label.c-toggle input[type=checkbox]:focus:not(:focus-visible) + .toggle {
	box-shadow: none;
}
button.c-toggle:focus > .toggle,
button.c-toggle input[type=checkbox]:focus + .toggle,
label.c-toggle:focus > .toggle,
label.c-toggle input[type=checkbox]:focus + .toggle {
	outline: none;
	box-shadow: 0 0 0 3px var(--blue-3), 0 0 0 2px var(--blue-2);
}

/* stylelint-enable no-descending-specificity */
button {
	padding-right: 0.8rem;
}
button > * {
	vertical-align: middle;
}
button svg {
	display: inline-flex;
	align-self: center;
	fill: currentColor;
}
button.rounded {
	border-radius: 90px;
}

/**
* Theme toggle
*/
button.c-theme-toggler {
	margin: 0.5rem auto;
	/* stylelint-ignore csstools/use-nesting */
	/* stylelint-unignore csstools/use-nesting */
}
button.c-theme-toggler .toggle {
	margin-left: 0;
	background-color: var(--grey-6);
	background-image: url("data:image/svg+xml,%3Csvg enable-background='new 0 0 30 30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='m7.91 14.48c0-.96.19-1.87.56-2.75s.88-1.63 1.51-2.26 1.39-1.14 2.27-1.52 1.8-.57 2.75-.57h1.14c.16.04.23.14.23.28l.05.88c.04 1.27.49 2.35 1.37 3.24s1.94 1.37 3.19 1.42l.82.07c.16 0 .24.08.24.23v.98c.01 1.28-.3 2.47-.93 3.56s-1.48 1.95-2.57 2.59c-1.08.63-2.27.95-3.55.95-.97 0-1.9-.19-2.78-.56s-1.63-.88-2.26-1.51-1.13-1.39-1.5-2.26c-.35-.88-.54-1.8-.54-2.77zm1.83 0c0 .76.15 1.48.45 2.16.3.67.7 1.24 1.19 1.7s1.05.82 1.69 1.08c.63.27 1.28.4 1.94.4.58 0 1.17-.11 1.76-.34s1.14-.55 1.65-.96.94-.93 1.31-1.57.6-1.33.71-2.09c-1.63-.34-2.94-1.04-3.92-2.1s-1.55-2.3-1.7-3.74c-.96.06-1.82.35-2.61.88-.78.53-1.39 1.2-1.82 2.02s-.65 1.67-.65 2.56z' fill='yellow' /%3E%3C/svg%3E");
	border: 1px solid var(--grey-4);
}
button.c-theme-toggler[aria-pressed] > .toggle {
	background-color: var(--green-1);
	background-image: url("data:image/svg+xml,%3Csvg enable-background='new 0 0 30 30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='m4.4 14.9c0-.2.1-.4.2-.6.2-.2.4-.2.6-.2h2c.2 0 .4.1.6.2.2.2.2.4.2.6s0 .5-.2.6c-.2.2-.3.2-.6.2h-2c-.2 0-.4-.1-.6-.2-.1-.1-.2-.3-.2-.6zm2.8 6.9c0-.2.1-.4.2-.6l1.5-1.4c.1-.2.4-.2.6-.2s.4.1.6.2.2.3.2.6c0 .2-.1.5-.2.6l-1.4 1.4c-.4.3-.8.3-1.2 0-.2-.1-.3-.3-.3-.6zm0-13.8c0-.2.1-.4.2-.6.2-.2.4-.2.6-.2s.4.1.6.2l1.4 1.5c.2.1.2.4.2.6s-.1.4-.2.6-.4.2-.6.2-.4-.1-.6-.2l-1.3-1.5c-.2-.1-.3-.4-.3-.6zm2.6 6.9c0-.9.2-1.8.7-2.6s1.1-1.4 1.9-1.9 1.7-.7 2.6-.7c.7 0 1.4.1 2 .4s1.2.6 1.7 1.1.8 1 1.1 1.7c.3.6.4 1.3.4 2 0 .9-.2 1.8-.7 2.6s-1.1 1.4-1.9 1.9-1.7.7-2.6.7-1.8-.2-2.6-.7-1.4-1.1-1.9-1.9-.7-1.6-.7-2.6zm1.7 0c0 1 .3 1.8 1 2.5s1.5 1 2.5 1 1.8-.4 2.5-1 1-1.5 1-2.5-.4-1.8-1-2.5c-.7-.7-1.5-1-2.5-1s-1.8.3-2.5 1-1 1.6-1 2.5zm2.6 7.8c0-.2.1-.4.2-.6s.4-.2.6-.2.4.1.6.2.2.4.2.6v2c0 .2-.1.5-.2.6s-.4.2-.6.2-.4-.1-.6-.2c-.2-.2-.2-.4-.2-.6zm0-15.5v-2c0-.2.1-.4.2-.6s.4-.3.6-.3.4.1.6.2.2.4.2.6v2.1c0 .2-.1.4-.2.6s-.3.2-.5.2-.4-.1-.6-.2-.3-.4-.3-.6zm5.6 13.2c0-.2.1-.4.2-.6s.3-.2.6-.2c.2 0 .4.1.6.2l1.5 1.4c.2.2.2.4.2.6s-.1.4-.2.6c-.4.3-.8.3-1.2 0l-1.5-1.4c-.2-.2-.2-.4-.2-.6zm0-10.9c0-.2.1-.4.2-.6l1.4-1.5c.2-.2.4-.2.6-.2s.4.1.6.2c.2.2.2.4.2.6s-.1.5-.2.6l-1.5 1.5c-.2.2-.4.2-.6.2s-.4-.1-.6-.2-.1-.4-.1-.6zm2.2 5.4c0-.2.1-.4.2-.6.2-.2.4-.2.6-.2h2c.2 0 .4.1.6.3s.3.4.3.6-.1.4-.3.6-.4.2-.6.2h-2c-.2 0-.4-.1-.6-.2s-.2-.4-.2-.7z' fill='yellow' /%3E%3C/svg%3E");
	border: 1px solid var(--grey-6);
}

.no-js .c-theme-toggler {
	display: none;
}

/**
* General apearance of inital loading state across components
*/
.loading {
	cursor: progress;
}

.loading-bg {
	background: linear-gradient(89deg, var(--bg-lt), var(--bg-md), var(--bg-md), var(--bg-md));
	background-size: 200% 100%;
	animation: loading 10s ease-in-out infinite;
	/* @media Rules */
}
@media screen and (prefers-reduced-motion: reduce) {
	.loading-bg {
		background: linear-gradient(89deg, var(--bg-lt), var(--bg-md), var(--bg-md), var(--bg-md));
		background-size: 200% 100%;
		animation: none;
	}
}
@media (prefers-color-scheme: dark) {
	.loading-bg {
		background: linear-gradient(89deg, var(--bg-lt), var(--bg-md), var(--bg-md), var(--bg-md));
		background-size: 200% 100%;
		animation: loading 10s ease-in-out infinite;
	}
}

/**
* Main application screen
*/
/**
 * HUD Component Styles
*/
.c-hud {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0.2rem 0.3rem;
	padding: 2rem;
	background-color: var(--bg-lt);
	border-radius: var(--bdradius-lg) var(--bdradius-lg) var(--bdradius-sm) var(--bdradius-sm);
	box-shadow: var(--bg-dk) 1px 1px 1px;
}
.c-hud h3 {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	margin: 0;
}
.c-hud .weather-icon {
	width: 25%;
	height: auto;
}
.c-hud ul {
	display: flex;
	flex-direction: column;
	font-family: "Turret Road", sans-serif;
}
.c-hud ul li {
	margin: 0 auto;
}
.c-hud ul li :not(button) :first-child {
	margin-bottom: 0.4rem;
	padding-bottom: 0.2rem;
	font-size: var(--step--1);
	border-bottom: 1px solid var(--text);
}
.c-hud ul li.error {
	margin: 0 auto;
	padding: 0 1rem;
	background: var(--bg-error);
	border-radius: var(--bdradius-sm);
	animation: wait 3000ms, fade-in 300ms 3000ms;
}
.c-hud.error {
	padding-bottom: 1.5rem;
	color: var(--grey-solid-1);
	background-color: var(--bg-vdk);
}
.c-hud.error li {
	margin: 0.3rem auto;
}
.c-hud.error .weather-icon {
	width: 20.5%;
	height: auto;
}
.c-hud.loading {
	background: radial-gradient(ellipse at top, var(--temp-3), var(--temp-0)), radial-gradient(ellipse at center, var(--temp-5), var(--temp-4), var(--temp-3), var(--temp-2), var(--temp-1), var(--temp-0));
	background-size: 400% 400%;
	animation: loading 60s ease infinite;
}
.c-hud.loading .loading-icon {
	display: inline-block;
	width: 25%;
	height: auto;
	margin: 0 auto;
	animation: rotating 30s linear infinite;
}
@media screen and (prefers-reduced-motion: reduce) {
	.c-hud.loading .loading-icon {
		animation: none;
	}
}
@media screen and (prefers-reduced-motion: reduce) {
	.c-hud.loading {
		background: radial-gradient(ellipse at top, var(--temp-3), var(--temp-0)), radial-gradient(ellipse at center, var(--temp-5), var(--temp-4), var(--temp-3), var(--temp-2), var(--temp-1), var(--temp-0));
		background-size: 400% 400%;
		animation: none;
	}
}
@media screen and (prefers-reduced-motion: reduce) {
	.c-hud.loading .section-hud,
.c-hud.loading .loading-icon {
		animation: none;
	}
}
@media screen and (max-width: 545px) {
	.c-hud {
		padding: 1.5rem;
	}
	.c-hud .loading-icon {
		width: calc(var(--step-5) * 2.7);
		height: calc(var(--step-5) * 2.7);
	}
}
@media screen and (min-width: 1500px) {
	.c-hud .loading-icon {
		width: calc(var(--step-5) * 3);
		height: calc(var(--step-5) * 3);
	}
}

/**
 * Details component top-level styles
*/
/**
* Icon syles
*/
.weather-icon {
	filter: invert(95%) hue-rotate(180deg) drop-shadow(2px 3px 1px var(--grey-7));
}

.c-details {
	--icon-fill-color: var(--theme-white);
}

.inline-icon {
	display: inline-block;
	width: auto;
	height: 1.8rem;
	padding: 2px;
	background-color: var(--icon-bg);
	border: 1px solid var(--grey-3);
	border-radius: 15px;
	transition: transform 1s ease;
}
@media screen and (prefers-reduced-motion: reduce) {
	.inline-icon {
		display: inline-block;
		width: auto;
		height: 1.8rem;
		padding: 2px;
		background-color: var(--icon-bg);
		border: 1px solid var(--grey-3);
		border-radius: 15px;
		transition: none;
	}
}

span.inline-icon {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--grey-3);
}

.icon-spin {
	animation: rotating 60s ease infinite;
}
@media screen and (prefers-reduced-motion: reduce) {
	.icon-spin {
		animation: none;
	}
}

.text-icon {
	width: 2em;
	height: 2em;
}

/**
* Current feels-like component styles
*/
.c-feels-like [data-temp="0"] {
	--icon-fill-color: var(--theme-white);
}
.c-feels-like [data-temp="1"] {
	--icon-fill-color: var(--grey-8);
}
.c-feels-like [data-temp="2"] {
	--icon-fill-color: var(--grey-8);
}
.c-feels-like [data-temp="3"] {
	--icon-fill-color: var(--grey-8);
}
.c-feels-like [data-temp="4"] {
	--icon-fill-color: var(--grey-8);
}
.c-feels-like [data-temp="5"] {
	--icon-fill-color: var(--theme-white);
}

/**
* Current UV component styles
*/
.c-uv-index {
	--icon-fill-color: var(--grey-8);
}
.c-uv-index [data-uv="0"] {
	background-color: var(--blue-3) !important;
}
.c-uv-index [data-uv="1"] {
	background-color: var(--cyan-3) !important;
}
.c-uv-index [data-uv="2"] {
	background-color: var(--green-3) !important;
}
.c-uv-index [data-uv="3"] {
	background-color: var(--yellow-3) !important;
}
.c-uv-index [data-uv="4"] {
	background-color: var(--orange-3) !important;
}
.c-uv-index [data-uv="5"] {
	background-color: var(--red-3) !important;
}

/**
* Current feels-like component styles
*/
.c-cloud-cover [data-cloud="0"] {
	background-color: var(--blue-3) !important;
	--icon-fill-color: var(--grey-8);
}
.c-cloud-cover [data-cloud="1"] {
	background-color: var(--blue-4) !important;
	--icon-fill-color: var(--grey-8);
}
.c-cloud-cover [data-cloud="2"] {
	background-color: var(--cyan-3) !important;
	--icon-fill-color: var(--grey-8);
}
.c-cloud-cover [data-cloud="3"] {
	background-color: var(--grey-1) !important;
	--icon-fill-color: var(--grey-9);
}
.c-cloud-cover [data-cloud="4"] {
	background-color: var(--grey-5) !important;
	--icon-fill-color: var(--theme-white);
}
.c-cloud-cover [data-cloud="5"] {
	background-color: var(--grey-8) !important;
	--icon-fill-color: var(--theme-white);
}

/**
* Current feels-like component styles
*/
.c-precipitation {
	--temp-0: var(--blue-2);
	--temp-1: var(--cyan-2);
	--temp-2: var(--green-2);
	--temp-3: var(--yellow-2);
	--temp-4: var(--orange-2);
	--temp-5: var(--red-2);
}
.c-precipitation .inline-icon {
	border: none;
}
.c-precipitation svg {
	--icon-fill-color: var(--cyan-4);
}

/**
* Windspeed component styles
*/
.c-windspeed .inline-icon {
	border: none;
}

/**
* Current visibility component styles
*/
.c-details .c-visibility {
	--distance: 0%;
	--scale-bg: hsla(195, 100%, 69%, 0.509);
	display: flex;
	flex: 1 1 100%;
	flex-direction: column;
	justify-content: space-between;
}
.c-details .c-visibility .visibility-wrap {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
	margin: 0.3rem 0 0.5rem 0;
}
.c-details .c-visibility .visibility-wrap * {
	align-self: center;
}
.c-details .c-visibility .visibility-wrap .inline-icon {
	margin-top: -0.3em;
	border: none;
}
.c-details .c-visibility .scale {
	position: relative;
	width: calc(100% + 1.6rem);
	height: 1.5rem;
	margin: 0 -0.5rem -0.5rem -0.5rem;
	overflow: hidden;
	font-size: 0.6em;
	background-color: var(--scale-bg);
	background-image: url(../svg/graph.svg);
	background-position: left -1px bottom -1px;
	border-top: 1px solid var(--bg-md);
	border-bottom-right-radius: var(--bdradius-sm);
	border-bottom-left-radius: var(--bdradius-sm);
	transition: transform 0.5s ease;
}
@media screen and (prefers-reduced-motion: reduce) {
	.c-details .c-visibility .scale {
		position: relative;
		width: calc(100% + 1.6rem);
		height: 1rem;
		margin: 0 -0.5rem -0.5rem -0.5rem;
		overflow: hidden;
		font-size: 0.6em;
		background-color: var(--scale-bg);
		background-image: url(../svg/graph.svg);
		background-position: left -1px bottom -1px;
		border-top: 1px solid var(--bg-md);
		border-bottom-right-radius: var(--bdradius-sm);
		border-bottom-left-radius: var(--bdradius-sm);
		transition: none;
	}
}
.c-details .c-visibility .scale::before, .c-details .c-visibility .scale::after {
	position: absolute;
	top: 0.3rem;
	z-index: 1;
	box-sizing: content-box !important;
	color: var(--theme-black);
}
.c-details .c-visibility .scale::before {
	left: 0.6rem;
	content: "0 |";
}
.c-details .c-visibility .scale::after {
	right: 1rem;
	content: "| 5km/3.11mi";
}
.c-details .c-visibility .scale .distance {
	position: absolute;
	z-index: 0;
	width: calc(100% - (10px - 0.6rem));
	height: 200%;
	padding-left: 10px;
	overflow: hidden;
	background: linear-gradient(to left, var(--theme-white) calc(var(--distance) - 20px), rgba(255, 255, 255, 0) calc(var(--distance) + 20px));
	background-repeat: no-repeat;
	border-right: 80px solid var(--theme-white);
	animation: distance-loading 2s ease forwards;
	will-change: transform;
}
@media screen and (prefers-reduced-motion: reduce) {
	.c-details .c-visibility .scale .distance {
		position: absolute;
		z-index: 0;
		width: calc(100% - (10px - 0.6rem));
		height: 200%;
		padding-left: 10px;
		overflow: hidden;
		background: linear-gradient(to left, var(--theme-white) calc(var(--distance) - 20px), rgba(255, 255, 255, 0) calc(var(--distance) + 20px));
		background-repeat: no-repeat;
		border-right: 80px solid var(--theme-white);
		animation: none;
		will-change: transform;
	}
}

@keyframes distance-loading {
	0% {
		transform: translateX(150%);
	}
	100% {
		transform: translateX(0%);
	}
}
@media screen and (max-width: 545px) {
	.c-details .c-visibility .scale {
		height: 1rem;
		margin: 0 -0.5rem -0.4rem -0.5rem;
	}
}
/**
 * Current Sun rise-set & moon component styles
*/
.c-sun-rise-set {
	--icon-fill-color: var(--grey-8);
}
.c-sun-rise-set .inline-icon {
	background-color: var(--yellow-3);
}

.c-moonphase .inline-icon.moon {
	background-color: var(--yellow-3);
}

@media screen and (max-width: 545px) {
	.inline-icon.svg-wi-sunrise {
		margin-bottom: 0;
	}

	.inline-icon.svg-wi-sunset {
		margin-bottom: 0;
	}

	.inline-icon.moon {
		margin-bottom: 0;
	}
}
.c-details {
	font-family: "Ubuntu Mono", Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, "Courier New", monospace;
}
.c-details .left-col {
	display: inline-block;
	max-width: 70%;
	padding-right: 0.3rem;
}
.c-details ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0.15rem;
}
.c-details ul li {
	display: flex;
	flex: 1 0 auto;
	align-items: center;
	justify-content: space-between;
	min-height: 1.8rem;
	margin: 0.2rem;
	padding: 0.5rem 0.8rem;
	text-align: left;
	background-color: var(--bg-lt);
	border-radius: var(--bdradius-sm);
	box-shadow: var(--bg-dk) 1px 1px 2px;
}
.c-details.error .inline-icon, .c-details.loading .inline-icon {
	background-color: var(--bg-dk);
	border: 1px solid transparent;
}
.c-details.error .c-visibility .scale, .c-details.loading .c-visibility .scale {
	opacity: 0.3;
}
.c-details.error .c-visibility .scale::before, .c-details.error .c-visibility .scale::after, .c-details.loading .c-visibility .scale::before, .c-details.loading .c-visibility .scale::after {
	content: "";
}
.c-details.error ul li:nth-child(1), .c-details.error ul li:nth-child(2), .c-details.error ul li:nth-child(3), .c-details.error ul li:nth-child(4), .c-details.loading ul li:nth-child(1), .c-details.loading ul li:nth-child(2), .c-details.loading ul li:nth-child(3), .c-details.loading ul li:nth-child(4) {
	min-height: 3.8rem;
}
@media screen and (max-width: 545px) {
	.c-details.error .c-details ul li:nth-child(1),
.c-details.error .c-details ul li:nth-child(2),
.c-details.error .c-details ul li:nth-child(3),
.c-details.error .c-details ul li:nth-child(4), .c-details.loading .c-details ul li:nth-child(1),
.c-details.loading .c-details ul li:nth-child(2),
.c-details.loading .c-details ul li:nth-child(3),
.c-details.loading .c-details ul li:nth-child(4) {
		min-height: auto;
	}
}
.c-details.error .inline-icon {
	background-color: var(--bg-vdk);
}
.c-details.error .loading-bg {
	background: var(--bg-vdk);
	animation: none;
}
@media screen and (max-width: 545px) {
	.c-details {
		max-height: 40vh;
		overflow-x: scroll;
		font-size: var(--step--1);
	}
	.c-details ul li {
		padding: 0.4rem 0.8rem;
	}
}

@media (prefers-color-scheme: dark) {
	:root:not([data-user-color-scheme=dark]) .loading .inline-icon {
		background-color: var(--bg-vdk);
	}
}
/**
* Forecast component styles
*/
.c-forecast {
	font-family: "Ubuntu Mono", Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, "Courier New", monospace;
	margin: 0.2rem 0.3rem;
	text-align: center;
}
.c-forecast h4 {
	margin: 0.3rem;
	text-align: left;
}
.c-forecast h5 {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}
.c-forecast ul {
	display: flex;
	flex-direction: row;
	overflow-y: scroll;
	scroll-snap-type: y mandatory;
}
.c-forecast ul li {
	display: flex;
	flex-direction: column;
	align-content: center;
	align-items: center;
	justify-content: space-around;
	width: 50%;
	min-width: 100px;
	min-height: 8rem;
	margin-right: 0.3rem;
	padding: 0.3rem;
	background-color: var(--bg-md);
	border-radius: var(--bdradius-sm);
	box-shadow: var(--bg-dk) 1px 1px 2px;
	scroll-snap-align: start end;
}
.c-forecast ul li:first-child {
	border-bottom-left-radius: var(--bdradius-lg);
}
.c-forecast ul li:last-child {
	margin-right: 0.1rem;
	border-bottom-right-radius: var(--bdradius-lg);
}
.c-forecast ul li.error {
	width: 100%;
}
.c-forecast ul .forecast-description {
	margin-top: 0;
	font-size: var(--step--1);
}
.c-forecast ul .weather-icon {
	width: 80%;
	height: auto;
}
.c-forecast .error {
	color: var(--grey-solid-1);
	background-color: var(--bg-vdk);
}
.c-forecast.loading ul {
	overflow: hidden;
}
.c-forecast.loading .weather-icon {
	width: 75%;
	background-color: var(--bg-md);
	border-radius: 3rem;
	filter: none !important;
}
@media (prefers-color-scheme: dark) {
	.c-forecast.loading .weather-icon {
		background-color: var(--bg-vdk);
	}
}

@media screen and (max-width: 545px) {
	.c-forecast .weather-icon {
		width: 45%;
		height: auto;
	}
}
/**
* Screens component, including errors
*/
.c-screen {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0.2rem 0.3rem;
	padding: 2rem;
	text-align: left;
	word-wrap: break-word;
	-ms-word-break: break-all;
	word-break: break-word;
	word-break: break-all;
	overflow-wrap: break-word;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
	background-color: var(--bg-lt);
	border-radius: var(--bdradius-lg);
	box-shadow: var(--bg-dk) 1px 1px 1px;
}
.c-screen h3 {
	display: inline-block;
	margin-bottom: 1rem;
	text-align: center;
}
.c-screen .errors-wrap {
	padding: 1rem;
	overflow-y: scroll;
	background: var(--bg-vdk);
	border-radius: var(--bdradius-sm);
}
.c-screen .screen-icon {
	max-width: 50%;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-user-color-scheme=dark]) code {
		color: var(--theme-white);
	}
}
@media screen and (max-width: 545px) {
	.errors-screen {
		padding: 1.5rem;
	}
}

/*# sourceMappingURL=main.css.map */