/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
@import url("https://fonts.googleapis.com/css2?family=Mohave:ital,wght@0,300..700;1,300..700&display=swap");
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

:root {
  font-size: 62.5%;
}

body {
  font-family: "Mohave", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: #efefef;
  font-size: 1.5rem;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

main {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-x: auto;
  overflow-y: hidden;
}

#weather {
  position: relative;
  display: flex;
  width: max-content;
  min-width: 100%;
  height: 100%;
}
#weather .hour-wrapper {
  position: relative;
  cursor: pointer;
}
#weather .hour-wrapper .secondary {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}
#weather .hour-wrapper[aria-expanded=true] .secondary {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
#weather .hour-wrapper:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
@media (prefers-reduced-motion: reduce) {
  #weather .hour-wrapper .secondary {
    transition: none;
  }
}
#weather .hour-wrapper.isDay {
  background: #99bac9;
}
#weather .hour-wrapper.isNight {
  background: hsl(240, 32%, 19%);
}
#weather .hour-wrapper {
  display: grid;
  grid-template-rows: 60px 1fr 1fr 1.2fr 1fr;
  flex: 0 0 75px;
}
#weather .hour-wrapper section {
  display: grid;
  text-align: center;
  padding: 10px 2px 0 2px;
}
#weather .hour-wrapper section.date {
  box-sizing: border-box;
  padding: 4px 2px;
  font-size: 1.4rem;
  line-height: 1.1;
  grid-template-rows: 1fr 1fr;
}
#weather .hour-wrapper section.date.isDay {
  background: #99bac9;
  color: #222;
}
#weather .hour-wrapper section.date.isNight {
  background: hsl(240, 32%, 19%);
  color: #efefef;
}
#weather .hour-wrapper section.date {
  text-transform: uppercase;
}
#weather .hour-wrapper section.date .special-time {
  font-weight: 700;
}
#weather .hour-wrapper section.temp {
  position: relative;
}
#weather .hour-wrapper section.temp .temp-vis {
  position: absolute;
  inset: 0 1px;
}
#weather .hour-wrapper section.temp .temp-vis .temp,
#weather .hour-wrapper section.temp .temp-vis .dewPoint {
  position: absolute;
  inset: 0;
}
#weather .hour-wrapper section.temp .temp-vis .temp {
  background: hsla(0, 0%, 100%, 0.2);
}
#weather .hour-wrapper section.temp .temp-vis .dewPoint {
  background-image: radial-gradient(hsla(200, 50%, 50%, 0.3), transparent);
  background-size: 4px 4px;
}
#weather .hour-wrapper section.weather {
  background: transparent;
}
#weather .hour-wrapper section.weather .weatherIcon {
  display: grid;
  place-items: center;
  height: 64px;
  color: inherit;
}
#weather .hour-wrapper section.weather .weatherIcon .wi {
  font-size: 24px;
}
#weather .hour-wrapper section.precip {
  position: relative;
}
#weather .hour-wrapper section.precip .precip-vis {
  position: absolute;
  inset: 2px;
}
#weather .hour-wrapper section.precip .precip-vis .rain,
#weather .hour-wrapper section.precip .precip-vis .snow {
  position: absolute;
  inset: 0;
}
#weather .hour-wrapper section.precip .precip-vis .rain {
  background: rgba(0, 0, 255, 0.2);
}
#weather .hour-wrapper section.precip .precip-vis .snow {
  background-image: radial-gradient(rgba(0, 255, 255, 0.4666666667), transparent);
  background-size: 4px 4px;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}

main {
  flex: 1;
  min-height: 0;
  height: auto;
}

.topBar, .bottomBar {
  flex: none;
  box-sizing: border-box;
  background: hsl(272, 10%, 30%);
  color: #efefef;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.topBar {
  position: relative;
  min-height: calc(48px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  z-index: 5;
}

.bottomBar {
  min-height: calc(40px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  justify-content: space-around;
}

.topBar button, .locationStatus button {
  background: transparent;
  color: inherit;
  border: 0;
  padding: 10px;
  cursor: pointer;
  text-align: left;
}

#locationPanel {
  position: absolute;
  top: 100%;
  left: 0;
  width: min(360px, 100vw);
  box-sizing: border-box;
  padding: 12px;
  background: hsl(272, 10%, 30%);
  border-bottom: 1px solid hsl(12, 82%, 62%);
  max-height: 65dvh;
  overflow-y: auto;
}
#locationPanel label {
  display: block;
  margin-bottom: 8px;
}
#locationPanel input {
  width: 100%;
  box-sizing: border-box;
  background: #222;
  color: #efefef;
  border: 1px solid #99bac9;
  padding: 10px;
}
#locationPanel button {
  display: block;
  width: 100%;
}
#locationPanel button:hover, #locationPanel button:focus-visible {
  background: rgba(255, 255, 255, 0.0823529412);
}

.locationStatus {
  position: absolute;
  top: calc(48px + env(safe-area-inset-top));
  right: 0;
  z-index: 6;
  margin: 0;
  padding: 8px;
  background: hsl(272, 10%, 30%);
}

.locationAttribution {
  display: block;
  margin-top: 10px;
  font-size: 1.1rem;
}
.locationAttribution a {
  color: inherit;
}

.date {
  --header-night: #31454D;
  --header-day: #99BAC8;
  --header-twilight-dark: #596A70;
  --header-twilight-light: #718E9A;
}
.date.isDay {
  --header-phase: day;
}
.date.isNight {
  --header-phase: night;
}
.date.isDawn {
  --header-phase: dawn;
}
.date.isDusk {
  --header-phase: dusk;
}
.date .heading-label {
  color: #C2C6CA;
}
.date .heading-time {
  color: #efefef;
  font-weight: 300;
}
.date .date-change {
  color: hsl(12, 82%, 62%);
}

.wind {
  width: 100%;
  color: var(--black);
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.wind__speeds--speed {
  font-size: 2.25rem;
  font-weight: 700;
}

.windArrow {
  display: grid;
  place-items: center;
}
.windArrow .wi {
  display: inline-block;
  width: 1em;
  height: 1em;
  font-size: 36px;
  line-height: 1;
  transform-origin: center;
}

.barbWrapper {
  display: grid;
  place-items: center;
}
.barbWrapper .wind-barb,
.barbWrapper .calm {
  align-self: center;
  margin: 0 auto;
  transform-origin: center left;
}
.barbWrapper .wind-barb {
  width: 15px;
  border-left: solid 1px #efefef;
  height: 45px;
  display: flex;
  flex-direction: column;
}
.barbWrapper .wind-barb .fifty,
.barbWrapper .wind-barb .ten,
.barbWrapper .wind-barb .five {
  margin-bottom: 7px;
}
.barbWrapper .wind-barb .fifty {
  width: 0px;
  height: 0px;
  background: transparent;
  border-style: solid;
  border-width: 7.5px;
  border-color: #efefef transparent transparent #efefef;
}
.barbWrapper .wind-barb .five,
.barbWrapper .wind-barb .ten {
  width: 15px;
  border-top: solid 1px #efefef;
  transform: rotate(-35deg) translate(-1px);
  transform-origin: top left;
}
.barbWrapper .wind-barb .five {
  width: 7.5px;
}
.barbWrapper .wind-barb .five:only-child {
  margin-top: 7.5px;
}
.barbWrapper .calm {
  width: 15px;
  height: 15px;
  border: double 10px #efefef;
  border-radius: 50%;
}

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