body {
  font-family: "Martian Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  background: #1d1d1d;
  height: 100vh;
  filter: blur(1.1px) saturate(90%);
  margin: 0;
}

p {
  margin: 0;
  padding: 0;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #00308a;
  margin: 0 auto;
}

.internal-container {
  background: linear-gradient(
    180deg,
    rgba(0, 48, 138, 1) 25%,
    rgba(245, 96, 37, 0.9) 100%
  );
  width: 100%;
  height: 100%;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 10;
  height: 100%;
  width: 100%;
}

.header {
  display: flex;
  background: linear-gradient(
    180deg,
    rgba(0, 48, 138, 0) 33%,
    rgba(245, 96, 37, 0.9) 0%,
    rgba(0, 48, 138, 0) 95%
  );
  justify-content: space-between;
  padding: 60px 0 0 40px;
  align-items: center;
}

.left-header {
  display: flex;
  gap: 35px;
  align-items: center;
}

.center-header {
  padding: 0 0 0 170px;
}

.right-header {
  display: flex;
  background: linear-gradient(
    320deg,
    #00308a 0%,
    #00308a 65%,
    #8da4e800 0,
    #8da4e800 55%
  );
  padding: 35px 50px 35px 0;
  align-items: center;
}

.logo {
  height: 150px;
  filter: drop-shadow(8px 8px 0 #000);
}

.bears {
  height: 85px;
  filter: drop-shadow(2px 2px 0 #000);
}

.title {
  color: #e64100;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    4px 4px 0px #000000;
  font-size: 36px;
  letter-spacing: -0.1em;
  transform: scaleY(1.2);
  text-align: left;
  width: 150px;
}

.weather-app {
  max-width: 1000px;
  margin: -5px auto 0 auto;
  background: #354e84;
  box-shadow: inset #ffffff40 0px 2px 20px 20px;
}

.current-weather {
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    4px 4px 0px #000000;
  font-size: 36px;
  letter-spacing: -0.05em;
  transform: scaleY(1.2);
  text-align: left;
}

#location-name {
  color: #e64100;
}

#status {
  display: none;
}

.card {
  background: transparent;
}

.weather-icon {
  transform: scaleY(0.85);
  width: 200px;
  filter: drop-shadow(4px 4px 0 #000);
}

#current-weather {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 95px;
  height: 100%;
  padding: 110px 0;
}

.current-weather__main div {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

#current-temp {
  padding-bottom: 5px;
  font-size: 50px;
}

#current-condition {
  padding-bottom: 10px;
}

.current-weather__details {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 40px;
  width: 45%;
  margin-right: 50px;
}
.current-weather__details p {
  width: 100%;
}
.current-weather__details span {
  float: right;
}

.datetime {
  font-size: 26px;
  text-transform: uppercase;
  text-align: right;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    4px 4px 0px #000000;
}
.datetime__time {
  width: max-content;
}
.screen {
  display: none;
}
.screen.is-active {
  display: block;
}
.video-container > .screen-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}
#screen-effect {
  width: 100%;
  height: 100%;
  position: relative;
  pointer-events: none;
}

.screen-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.screen-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#screen-effect canvas {
  position: absolute;
  inset: 0;
  z-index: 9998;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.screen-container canvas.snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10002;
  opacity: 0.1;
  pointer-events: none;
  mix-blend-mode: screen;
}

#screen-effect canvas.vcr {
  opacity: 0.35;
}
.sound-toggle {
  position: fixed;
  bottom: 80px;
  right: 80px;
  z-index: 99999;
  width: 65px;
  height: 65px;
  border: 2px solid #0b162a;
  border-radius: 50%;
  background: #a1caee;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 13px;
  box-shadow: 2px 2px 0 #000;
}
.sound-toggle img {
  width: 35px;
}
.sound-toggle.is-hidden {
  display: none;
}

.observations-section {
  display: flex;
  flex-direction: column;
  padding: 40px 20px 70px 40px;
}
.observation-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr 0.75fr;
  align-items: center;
  padding: 8px 0;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    4px 4px 0px #000000;
  font-size: 32px;
  letter-spacing: -0.05em;
  transform: scaleY(1.2);
  text-transform: uppercase;
}
.observation-row:first-child {
  font-size: 28px;
}
.observation-city {
  text-align: left;
}

.observation-temp {
  display: flex;
  justify-content: flex-end;
  width: 80%;
}

.observation-condition {
  text-align: left;
}

.observation-wind {
  display: flex;
  justify-content: space-between;
  width: 110px;
}
.observation-row:first-child .observation-wind {
  justify-content: flex-end;
}

.almanac-section {
  display: flex;
  flex-direction: column;
  padding: 50px 0 0 0;
  gap: 80px;
}
.almanac-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 50px;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    4px 4px 0px #000000;
  font-size: 32px;
  letter-spacing: -0.05em;
  transform: scaleY(1.2);
}
.almanac-row:nth-child(2) {
  background: grey;
  padding: 8px 0px 50px;
}
.sun-row {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}
.sun-row:nth-child(1) {
  align-items: flex-start;
}
.sun-row:nth-child(2) {
  align-items: center;
}
.sun-row:nth-child(3) {
  align-items: flex-end;
}
#sun-day-today,
#sun-day-tomorrow {
  color: #e64100;
  font-size: 36px;
}
.moon {
  flex-direction: column;
  align-items: flex-start;
}
.moon-group {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
}
.moon-title {
  padding: 20px 0 25px 50px;
  color: #e64100;
  font-size: 36px;
}
.moon-item {
  width: 160px;
}
.moon-icon {
  transform: scaleY(0.85);
}
.moon-icon img {
  width: 100%;
}
.local-forecast-section {
  padding: 100px 50px 320px;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    4px 4px 0px #000000;
  font-size: 32px;
  letter-spacing: -0em;
  transform: scaleY(1.2);
  line-height: 46px;
  text-align: left;
}
.forecast-section {
  height: 100%;
  padding: 40px;
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  height: 100%;
}

.forecast-day {
  min-height: 620px;
  padding: 18px;
  border: 8px solid #050505;
  outline: 6px solid #ffffff;
  background: linear-gradient(
    to bottom,
    #8fa7e6 0%,
    #8fa7e6 12.5%,

    #7a92e2 12.5%,
    #7a92e2 25%,

    #657dde 25%,
    #657dde 37.5%,

    #4f67d9 37.5%,
    #4f67d9 50%,

    #3952d3 50%,
    #3952d3 62.5%,

    #233dcc 62.5%,
    #233dcc 75%,

    #1a2f8a 75%,
    #1a2f8a 87.5%,

    #0b162a 87.5%,
    #0b162a 100%
  );
  display: grid;
  grid-template-rows: auto 1fr auto 1fr;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}
.forecast-date,
.forecast-condition,
.forecast-label,
.forecast-number {
  margin: 0;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    3px 3px 0px #000000;
  font-size: 32px;
  letter-spacing: -0.05em;
  transform: scaleY(1.2);
}

.forecast-date {
  align-self: start;
  color: #e64100;
  text-transform: uppercase;
}

.forecast-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.forecast-icon {
  width: 100%;
  image-rendering: auto;
  filter: drop-shadow(4px 4px 0 #000);
}

.forecast-condition {
  padding-top: 28px;
}

.forecast-temps {
  align-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.forecast-temp {
  display: grid;
  gap: 38px;
}

.forecast-label {
}

.forecast-label--high {
  color: #e64100;
}

.forecast-label--low {
  color: #91a9ff;
}

.forecast-number {
}

.radar-section {
  position: absolute;
  width: 80%;
  height: 65%;
  overflow: hidden;
  border: 4px solid #000;
  z-index: -1;
}

.radar-image {
  position: absolute;
  inset: -100px 0 0 0;
  width: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  filter: saturate(1.25) contrast(1.25) brightness(0.85);
}

.radar-header {
  position: absolute;
  height: 120px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 48px;
  box-sizing: border-box;
  background: #3a2b80;
  right: 0px;
}

.radar-logo {
  width: 130px;
  height: 90px;
  border-radius: 18px;
  background: #263ef3;
  border: 5px solid #e6e6ff;
  box-shadow: 6px 6px 0 #000;
  display: grid;
  place-items: center;
  color: white;
  font-size: 20px;
  line-height: 0.9;
  text-align: center;
  text-shadow: 3px 3px 0 #000;
}

.radar-title {
  display: grid;
  color: #ffff72;
  font-size: 34px;
  line-height: 1.05;
  text-align: left;
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    5px 5px 0 #000;
}

.radar-legend {
  margin-left: auto;
  color: white;
  text-align: center;
  font-size: 26px;
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    4px 4px 0 #000;
}

.legend-bar {
  display: grid;
  grid-template-columns: repeat(5, 42px);
  height: 34px;
  border: 3px solid #000;
}

.legend-bar span {
  display: block;
}

.legend-green-light {
  background: #75ee75;
}
.legend-green {
  background: #33ad55;
}
.legend-yellow {
  background: #fff25a;
}
.legend-orange {
  background: #f7931e;
}
.legend-red {
  background: #dc1c13;
}

.legend-labels {
  display: flex;
  justify-content: space-between;
  margin-top: -4px;
}
@media (max-width: 1000px) {
  .logo {
    height: 136px;
  }
  .title {
    font-size: 33px;
  }
  .right-header {
    padding: 35px 50px 34px 0;
  }
  .center-header {
    display: none;
  }
  .datetime {
    font-size: 24px;
  }
}
@media (max-width: 800px) {
  .header {
    flex-direction: column;
    width: 100%;
    padding: 0;
    background: linear-gradient(180deg, rgba(0, 48, 138, 0) 0%, rgba(245, 96, 37, 0.9) 0%, rgba(0, 48, 138, 0) 95%);
  }
  .right-header {
    padding: 0 50px 15px 0;
    width: 100%;
    background: transparent;
    justify-content: flex-end;
  }
  .left-header {
    gap: 22px;
    width: 100%;
    justify-content: center;
    padding-top: 30px;
  }
  .logo {
    height: 95px;
  }
  .title {
    font-size: 24px;
    width: 135px;
    text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    3px 3px 0px #000000;
  }
  .datetime {
    font-size: 16px;
  }
  #current-weather {
    flex-direction: column;
    font-size: 21px;
    gap: 5px;
    padding: 50px 0;
    text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    3px 3px 0px #000000;
  }
  #current-temp {
    font-size: 35px;
  }
  #current-weather > div.current-weather__main > div > p:nth-child(4) {
    display: none;
  }
  .current-weather__main div {
    gap: 5px;
  }
  .weather-icon {
    width: 90px;
  }
  .current-weather__details {
    margin: 0;
    gap: 5px;
    width: 70%;
  }
  #current-weather > div.current-weather__main > div :nth-child(1) {
    order: 2;
    grid-column: 1;
    grid-row: 1;
  }
  #current-weather > div.current-weather__main > div :nth-child(2) {
    order: 3;
    grid-column-start: 1;
    grid-column-end: 3;
    text-align: center;
  }
  #current-weather > div.current-weather__main > div :nth-child(3) {
    order: 1;
    grid-column: 2;
    grid-row: 1;
  }
  #current-weather > div.current-weather__details > p:nth-child(5) {
    display: none;
  }
  .current-weather__main {
    height: 100px;;
  }
  .current-weather__main div {
    gap: 5px;
    display: grid;
    align-items: center;
    justify-items: center;
    height: 90px;
    max-width: 160px;
    grid-template-columns: 50% 50%;
    grid-template-rows: 70% 30%;
  }
  .observations-section {
    padding: 10px 15px;
  }
  body > div > div.internal-container > div > div.weather-app > div.screen.screen--observations.is-active > section > div:nth-child(2) {
    display: none;
  }
  .screen--observations {
    height: 70vh;
  }
  body > div > div.internal-container > div > div.weather-app > div.screen.screen--observations > section > div:nth-child(4) > span.observation-city {
    font-size: 14px;
  }
  .observation-row {
    font-size: 15px;
    text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0px #000000;
    padding:4px 0;
  }
  .moon {
    font-size: 15px;
    text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0px #000000;
  }
  .observation-row:first-child {
    font-size: 12px;
  }
  .almanac-section {
    flex-direction: column;
    padding: 20px 0 150px 0;
    gap: 40px;
  }
  body > div > div.internal-container > div > div.weather-app > div.screen.screen--almanac.is-active > section > div:nth-child(1) {
    font-size: 15px;
    text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0px #000000;
  }
  #sun-day-today, #sun-day-tomorrow {
    font-size: 18px;
    text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0px #000000;
  }
  .moon-title{
    font-size: 20px;
    text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    2px 2px 0px #000000;
  }
  .moon-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    row-gap: 18px;
    margin: 0 auto;
    max-width: 330px;
  }
  .moon-item {
  width: 70px;
  }
  .moon-title {
    padding: 10px 0 15px 50px;
  }
  .moon-icon img {
    width: 82%;
  }
  .almanac-row:nth-child(2) {
    padding: 5px 0 100px;
  }
  .local-forecast-section {
    text-shadow: -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    3px 3px 0px #000000;
    font-size: 16px;
    line-height: 27px;
    padding: 75px 50px 320px;
  }
  .screen--forecast {
    height: 70vh;
  }
  #forecast > article:nth-child(3) {
    display: none;
  }
  .forecast-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .forecast-day {
    height: 85%;
    min-height: unset;
    border: 6px solid #050505;
    outline: 4px solid #ffffff;
  }
  .forecast-date, .forecast-condition, .forecast-label, .forecast-number {
    font-size: 22px;
  }
  .forecast-condition {
    padding-top: 5px;
  }
  .forecast-temp {
    gap: 10px;
  }
  .forecast-section {
    padding: 15px;
  }
  .radar-section {
    width: 100%;
    height: 90%;
  }
  .radar-image {
    inset: -20px 0 0 0;
    height: 100%;
  }
  .radar-legend {
    margin: 0;
    font-size: 18px;
  }
  .radar-header {
    width: 100%;
    justify-content: center;
    right: unset;
    padding: 0;
    height: 110px;
  }
}