@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");

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

html body {
  background: #3a3a3a;
  color: rgb(209, 226, 241);
}

.view-port {
  width: 100dvw;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.headline {
  display: flex;
  width: 95%;
  font-size: 1.5em;
  margin-top: 20px;
  margin-bottom: 40px;
}

.box {
  background-color: #616161;
  width: 95%;
  padding: 10px;
  border: 2px solid rgb(160, 160, 160);
  border-radius: 10px;
}

.current {
  display: flex;
  flex-direction: row;
  width: 95%;
  align-items: start;
  margin-bottom: 30px;
}

.currentTemp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 50%;
  gap: 10px;
  padding-left: 15px;
}

.currentTemp > #temp {
  font-size: 3em;
}

.currentTemp > #feelsLike {
  font-size: 1.5em;
}

.currentTime {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 50%;
  gap: 10px;
}

.currentTime > #date {
  font-size: 1.75em;
}

.currentTime > #time {
  font-size: 1.5em;
}

#verlauf-time {
  display: flex;
  gap: 20px;
  overflow: scroll;
}

#verlauf-time .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  padding: 5px;
}

#verlauf-time .item-current {
  background: #8d8d8d;
}

.sun {
  display: flex;
  justify-content: space-around;
}

.sunrise {
  width: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.sunset {
  width: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.sunrise img {
  width: 64px;
}

.sunset img {
  width: 64px;
}

.daten {
  display: flex;
  justify-content: space-around;
}

.humidity {
  width: 33%;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 10px;
}

.humidity img {
  width: 64px;
}

.wind {
  width: 33%;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.uv {
  width: 33%;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.uv img {
  width: 64px;
}

.wind img {
  width: 64px;
}

.pictogram {
  width: 64px;
}

.hourlyTemperature img,
.hourlyRainrisk img {
  width: 25%;
}

.hourlyTemperature,
.hourlyRainrisk {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.9em;
  width: 100%;
}

.currentWeatherPictogram {
  width: 128px;
}

.forecast {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: scroll;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
  &::-webkit-scrollbar {
    display: none;
  }
}

.ubuntu-mono-regular {
  font-family: "Ubuntu Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.ubuntu-mono-regular-italic {
  font-family: "Ubuntu Mono", monospace;
  font-weight: 400;
  font-style: italic;
}

.ubuntu-mono-bold {
  font-family: "Ubuntu Mono", monospace;
  font-weight: 700;
  font-style: normal;
}

.ubuntu-mono-bold-italic {
  font-family: "Ubuntu Mono", monospace;
  font-weight: 700;
  font-style: italic;
}

@media (max-width: 480px) {
  .currentTime {
    display: none;
  }

  .daten {
    font-size: 0.75em;
  }

  .currentTemp > #feelsLike {
    font-size: 1em;
  }

  .headline {
    font-size: 0.9em;
  }

  .sunrise img {
    width: 32px;
  }

  .sunset img {
    width: 32px;
  }

  .humidity img {
    width: 32px;
  }

  .uv img {
    width: 32px;
  }

  .wind img {
    width: 32px;
  }
}
