@import url('fonts.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Besley;
  font-size: 16px;
  font-weight: 400;
  --webkit-font-smoothing: antialias;
  font-smooth: always;
}

.wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto
}

.container {
 display: flex;
}

.side {
 flex: 1;  /* equal width, grow to fill */
}

.side:first-child {
  text-align: right;
}

.center {
 flex: 0;  /* based on content only */
}

.status-bar {
  margin: 10px 0;

  font-size: 12px;
  font-weight: 500;
  font-style: italic;

  align-items: center;
  gap: 10px;
}

.status-bar img {
  position: relative;
  top: 2px;
}

.status-bar .coords {
  color: #ccc;
  padding-right: 10px;
}

.right-now {
  margin-top: 10px;
  margin-bottom: 10px;
  gap: 20px;
  align-items: center;
}

.right-now img {
  transform: scale(1.25);
  transform-origin: center;
  position: relative;
  top: 5px;
}

.right-now .icons {
  position: relative;
}

.right-now .icons .overlay-icon {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.right-now .icons .fog-icon {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
}

.right-now ul,
.right-now ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-type: none;

  font-size: 14px;
  line-height: 1.25em;
}

.right-now .temperature {
  font-size: 50px;
  font-weight: 500;
}

.right-now .temperature .deg {
  margin-right: -5px;
  padding-left: 3px;
}

p {
  text-align: center;
  font-weight: 500;
  line-height: 20px;
  padding-bottom: 20px;
}

.forecast-scrollable {
  /*margin-left: -10px;
  margin-right: -10px;*/

  overflow-x: scroll;
  scrollbar-width: none;
}

.forecast-today {}

.forecast-table {
  border-collapse: collapse;
  border: none;
  border-bottom: 1px solid #ddd;
}

.forecast-table td {
  font-size: 10px;
  text-align: center;
}

.forecast-table .hours td {
  width: 42px;
  min-width: 42px;
  font-weight: 500;
}

.forecast-table .hours sup {
  font-size: 0.65em;
  opacity: 0.75;
  font-weight: 400;
  padding-left: 1px;
  margin-right: -2em;
  position: relative;
  top: 1px;
/*  text-decoration: underline;*/
}

.forecast-table .hours td.size2 {
  width: 28px;
  min-width: 28px;
}

.forecast-table .hours td.size1 {
  width: 14px;
  min-width: 14px;
}

.forecast-1h .forecast-table icons td {
  height: 30px;
}

.forecast-table .temperatures td {
  height: 60px;
  padding: 20px 0 0;
  box-sizing: initial;
  vertical-align: bottom;
}

.forecast-table .temperatures .temp-reading {
  line-height: 20px;
  width: 100%;
  padding-bottom: 5px;
  font-size: 12px;
  font-weight: 500;
}

.forecast-table .temperatures .temp-bars {
  display: flex;
  align-items: flex-end;
}

.forecast-table .temperatures .temp-bar {
  border-top: 1px solid #aaa;
  flex: 1;
  padding-bottom: 10px;
  box-sizing: initial;
}

.precip-1 { background: #EDF9FF }
.precip-2 { background: #D6F5FD }
.precip-3 { background: #B7E7FF }
.precip-4 { background: #92D9FF }
.precip-5 { background: #7ACBF5 }
