.container {
  padding-top: 30px;
}

h1 {
  margin-bottom: 17px;
}

.refreshed {
  font-size: 80%;
}

.grid > div {
  border: 1px #bbb solid;
  border-radius: 12px;
  margin: 8px 5px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid .title, .grid .humidity {
  font-size: 17px;
}

.grid .temperature {
  white-space: nowrap;
  font-size: 31px;
  display: flex;
  align-items: center;
}

svg.trend {
  width: 20px;
  height: 20px;
  stroke: black;
  stroke-linecap: round;
  stroke-width: 2;
  fill: none;
  margin-right: 7px;
}

svg.trend line {
  stroke-miterlimit: 10;
}

svg.trend polyline {
  stroke-linejoin: round;
}

.grid .humidity {
  background: no-repeat url("./humidity-svgrepo-com.svg");
  background-size: 1.2em;
  background-position: 0 50%;
  padding-left: 1.4em;
  white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
  .grid .humidity {
    filter: invert(1);
  }
  
  .grid .humidity > span {
    filter: invert(1);
  }

  .grid {
    color: #bbb;
  }
}