@import "https://cdn.bootcdn.net/ajax/libs/weather-icons/2.0.12/css/weather-icons.min.css";
@import "https://fonts.font.im/css?family=Lato:300";

html, body {
  overflow: hidden;
  margin: 0;
  padding: 0;
}
html, body, .background {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  /* display: flex;
  align-items: flex-end; */
}

html {
  background: #fff;
}

body {
    background-color: #262626; 
}



.container {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  position: relative;
  background: #eee;
  background: linear-gradient(240deg, rgba(150, 50, 50, 0.3), rgba(0, 0, 200, 0));
}
#roadCanvas{
  z-index: 9999;
  position: absolute;
  left: 0px;
  bottom: 0px;
  border: 0;
  /* pointer-events: none; */
  background: transparent;
  image-rendering: -webkit-optimize-contrast !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

#roadCanvas:focus,
#roadCanvas:focus-visible {
  outline: none !important;
}
nav ul {
  width: 10px;
  height: 100vh;
  margin: 0;
  list-style-type: none;
  padding: 20px;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999 !important;
  justify-content: center;
  flex-wrap: nowrap;
  align-content: flex-start;
  align-items: flex-start;
  row-gap: 20px;
}
nav li a {
  display: block;
  /* width: 50px; */
  text-align: center;
  color: #aaa;
  cursor: pointer;
}
nav li a:hover {
  color: #444;
}
nav li a.active {
  color: #4444ff;
}

#card {
  box-shadow: none;
  overflow: hidden;
  width: 100vw;
  padding: 0;
  height: 100vh;
  min-height: 100vh;
  margin: 0;
  border-radius: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
#card .details {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  color: #888;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  -webkit-box-pack: justify;
          justify-content: space-between;
  -webkit-transition: color 2s ease;
  transition: color 2s ease;
  display: none !important;
}
.thunder #card .details {
  color: #ddd;
}
#card .details .right {
  text-align: right;
}
#card .details #date {
  margin: 4px 0;
}
#card .details #summary {
  font-weight: 600;
  font-size: 22px;
}
#card .details .temp {
  font-size: 60px;
  line-height: 60px;
}
#card .details .temp span {
  font-size: 18px;
  line-height: 30px;
  vertical-align: top;
  margin-left: 5px;
}

.weather {
  background-color: #DAE3FD;
  /* -webkit-transition: background-color 2s ease;
  transition: background-color 2s ease; */
  -webkit-transition: background-color 1s  cubic-bezier(0.4, 0, 0.2, 1);
  transition: background-color 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.thunder .weather {
  background-color: #9FA4AD;
}
.rain .weather {
  background-color: #D8D8D8;
}
.sun .weather {
  background-color: #ccccff;
}
.moon .weather {
  /* background: radial-gradient(circle at 50% 30%,#f5af19 0%,#f12711 30%,#7b2c6e 60%,#1a2a6c 100%  );
  background: linear-gradient(180deg,#0f2027, #203a43,#c31432,#ff4e50 ); */
  background: -webkit-linear-gradient(180deg,#0f172a,#1e1b4b,#5b247a,#e94e77,#f8a35e);
  background: linear-gradient(180deg,#0f172a,#1e1b4b,#5b247a,#e94e77,#f8a35e);
  animation: gradientFadeIn 1.5s ease forwards;
}
.weather #inner {
  background-color: white;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, rgba(255, 255, 255, 0.5)), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
}
.weather .cloud {
  -webkit-transition: fill 2s ease;
  transition: fill 2s ease;
}
.weather #cloud1 {
  fill: #efefef;
}
.thunder .weather #cloud1 {
  fill: #9FA4AD;
}
.moon .weather #cloud1 {
  fill: #e89a6e;
}
.weather #cloud2 {
  fill: #E6E6E6;
}
.thunder .weather #cloud2 {
  fill: #8B8E98;
}
.moon .weather #cloud2 {
  fill: #a45c6e;
}
.weather #cloud3 {
  fill: #D5D5D5;
}
.thunder .weather #cloud3 {
  fill: #7B7988;
}
.moon .weather #cloud3 {
  fill: #6b4c7a;
}

#outer, #back {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
}

@keyframes moonBreathing {
    0%, 100% { filter: drop-shadow(0 0 5px #f6edbd) drop-shadow(0 0 15px rgba(246, 237, 189, 0.6)); }
    50% { filter: drop-shadow(0 0 15px #f6edbd) drop-shadow(0 0 30px rgba(246, 237, 189, 0.9)); }
}
.moon-with-glow {
    animation: moonBreathing 3s ease-in-out infinite;
}
@keyframes gradientFadeIn {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}