@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  src: url("./fonts/MaterialSymbolsOutlined[FILL,GRAD,opsz,wght].woff2") format("woff");
}

html,
body {
  font-size: 24px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  padding: 0;

  #weather-panel {
    border-radius: 50px;
    box-shadow: #999a 0 0 25px;
    color: #fff;
    font-family: Verdana, sans-serif;
    font-weight: bold;
    height: 500px;
    left: calc(50% - 275px);
    padding: 25px;
    position: absolute;
    text-shadow: #000 1px 1px,
      #000 -1px 1px,
      #000 -1px -1px,
      #000 1px -1px;
    top: calc(50% - 250px);
    width: 500px;
    z-index: 10;

    .material {
      font-family: "Material Symbols Outlined";
      font-weight: normal;
      font-style: normal;
      display: inline-block;
      line-height: 1;
      text-transform: none;
      letter-spacing: normal;
      word-wrap: normal;
      white-space: nowrap;
      direction: ltr;
      vertical-align: text-bottom;
    }

    @supports (-webkit-text-stroke: 1px #000) {
      -webkit-text-stroke: 1px #000;
      -webkit-text-fill-color: #fff;
    }

    #time {
      font-size: 3rem;
      margin-bottom: 1rem;
      text-align: center;

      .material {
        font-variation-settings: "FILL" 0, "wght" 700, "opsz" 24;
        line-height: inherit;
      }
    }

    #hourly,
    #daily {
      display: flex;
      font-size: .7rem;
      justify-content: space-between;
      text-align: center;
    }

    #hourly {
      margin: 1rem 0;
    }

    #daily {
      .daily-slot {
        display: flex;
        flex-direction: column;

        .range {
          white-space: nowrap;
        }

        .uv {
          &.moderate {
            color: yellow;
            -webkit-text-fill-color: yellow;
          }

          &.high {
            color: orange;
            -webkit-text-fill-color: orange;
          }

          &.very-high {
            color: red;
            -webkit-text-fill-color: red;
          }

          &.extreme {
            color: purple;
            -webkit-text-fill-color: purple;
          }
        }
      }
    }

    #current {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }

    section header {
      font-size: 1.5rem;
    }
  }
}