
@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

@media (width > 768px) {
  html {
    font-size: 16px;
  }
}
@media (width <= 768px) {
  html {
    font-size: 12px;
  }
}

body {
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 32px 32px;
  background-repeat: repeat;
  background-position: center center;
}

main {
  width: 95%;
  max-width: 1200px;
  margin: 1.5rem auto;
}
main .section .section-title {
  font-size: 2rem;
}

@media (width <= 768px) {
  .section-title {
    text-align: center;
  }
}
.daily-forecast, .three-hourly-forecast {
  margin-block: 1rem 2rem;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  background: linear-gradient(160deg, #01487e 0%, rgb(0, 22, 40) 100%);
  color: white;
  box-shadow: 0.5rem 0.5rem 0 0 rgba(17, 17, 17, 0.3333333333);
}
.daily-forecast .one-day-forecast, .daily-forecast .three-hour-forecast, .three-hourly-forecast .one-day-forecast, .three-hourly-forecast .three-hour-forecast {
  width: 12.5%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  row-gap: 30px;
  font-size: clamp(0.5rem, 1vw, 1rem);
  border-radius: 1rem;
}
.daily-forecast .one-day-forecast .weather, .daily-forecast .three-hour-forecast .weather, .three-hourly-forecast .one-day-forecast .weather, .three-hourly-forecast .three-hour-forecast .weather {
  height: 1rem;
  position: absolute;
  inset: 35% auto 0 50%;
  transform: translate(-50%, -50%);
}
.daily-forecast .one-day-forecast .icon, .daily-forecast .three-hour-forecast .icon, .three-hourly-forecast .one-day-forecast .icon, .three-hourly-forecast .three-hour-forecast .icon {
  width: 80%;
  height: auto;
  margin-bottom: 20px;
}
.daily-forecast .one-day-forecast .temperature, .daily-forecast .three-hour-forecast .temperature, .three-hourly-forecast .one-day-forecast .temperature, .three-hourly-forecast .three-hour-forecast .temperature {
  position: absolute;
  inset: auto auto 5% 50%;
  transform: translate(-50%, -50%);
}
.daily-forecast .one-day-forecast, .three-hourly-forecast .one-day-forecast {
  box-sizing: border-box !important;
  cursor: pointer;
}
.daily-forecast .one-day-forecast:hover, .three-hourly-forecast .one-day-forecast:hover {
  box-shadow: 0px 0px 10px 2px rgba(165, 180, 255, 0.8);
  transition: all 0.1s;
}

.today {
  justify-content: flex-end !important;
}

.selected {
  box-shadow: 0px 0px 10px 2px rgba(165, 180, 255, 0.8);
}

@media (width <= 768px) {
  .daily-forecast, .three-hourly-forecast {
    flex-direction: column;
  }
  .daily-forecast .one-day-forecast, .daily-forecast .three-hour-forecast, .three-hourly-forecast .one-day-forecast, .three-hourly-forecast .three-hour-forecast {
    width: 100%;
    flex-direction: row;
    font-size: clamp(1rem, 3vw, 1.5rem);
    text-align: center;
  }
  .daily-forecast .one-day-forecast .date, .daily-forecast .three-hour-forecast .date, .three-hourly-forecast .one-day-forecast .date, .three-hourly-forecast .three-hour-forecast .date {
    width: 30%;
  }
  .daily-forecast .one-day-forecast .weather, .daily-forecast .three-hour-forecast .weather, .three-hourly-forecast .one-day-forecast .weather, .three-hourly-forecast .three-hour-forecast .weather {
    width: 25%;
    height: auto;
    position: static;
    transform: none;
  }
  .daily-forecast .one-day-forecast .icon, .daily-forecast .three-hour-forecast .icon, .three-hourly-forecast .one-day-forecast .icon, .three-hourly-forecast .three-hour-forecast .icon {
    width: 25%;
    margin-bottom: 0;
  }
  .daily-forecast .one-day-forecast .temperature, .daily-forecast .three-hour-forecast .temperature, .three-hourly-forecast .one-day-forecast .temperature, .three-hourly-forecast .three-hour-forecast .temperature {
    width: 20%;
    position: static;
    transform: none;
  }
}/*# sourceMappingURL=forecast.css.map */