/* this website */
/* flex */
/* font-size */
/* color */
/* margin */
/* padding */
/* 动画 */
/* other */
.whmax {
  width: 100%;
  height: 100%;
}
.weather_main {
  padding: 4rem 7rem 4rem 20rem;
}
.weather_main_main {
  max-width: 1440px;
  width: 100%;
}
.weather_pagetop {
  background: #fff;
  border-radius: 2rem;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
/* 天气头部区域 */
.weather_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.weather_header .weather_city h2 {
  font-size: 3.6rem;
  color: #121F3F;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.weather_header .weather_city span {
  font-size: 1.6rem;
  color: #666;
}
.weather_header .weather_temp {
  display: flex;
  align-items: center;
}
.weather_header .weather_temp .temp_icon {
  width: 8rem;
  height: 8rem;
  margin-right: 1.5rem;
}
.weather_header .weather_temp .temp_icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.weather_header .weather_temp .temp_num h1 {
  font-size: 4.5rem;
  color: #121F3F;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.weather_header .weather_temp .temp_num span {
  font-size: 1.6rem;
  color: #666;
}
/* 当前天气详细信息区域 */
.weather_detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f7f9fc;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3rem;
}
.weather_detail .detail_item {
  display: flex;
  align-items: center;
  width: 32%;
  margin-right: 3rem;
}
.weather_detail .detail_item .detail_icon {
  margin-right: 1rem;
}
.weather_detail .detail_item .detail_icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.weather_detail .detail_item .detail_info p {
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.weather_detail .detail_item .detail_info h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #121F3F;
}
/* 今日概览区域 */
.weather_overview .overview_title {
  margin-bottom: 1.5rem;
}
.weather_overview .overview_title h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #121F3F;
}
.weather_overview .overview_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: rgba(231, 240, 253, 0.6);
  border-radius: 1rem;
  padding: 2rem;
}
.weather_overview .overview_content .overview_item {
  display: flex;
  align-items: center;
  width: 33%;
  margin-bottom: 1.5rem;
}
.weather_overview .overview_content .overview_item .item_icon {
  width: 2.8rem;
  height: 2.8rem;
  margin-right: 1rem;
}
.weather_overview .overview_content .overview_item .item_icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.weather_overview .overview_content .overview_item .item_info p {
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 0.4rem;
}
.weather_overview .overview_content .overview_item .item_info h4 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #121F3F;
}
/* 未来7天预报区域 */
.weather_forecast {
  margin-bottom: 3rem;
}
.weather_forecast .forecast_title {
  margin-bottom: 1.5rem;
}
.weather_forecast .forecast_title h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #121F3F;
}
.weather_forecast .forecast_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f7f9fc;
  border-radius: 1rem;
  padding: 2rem;
  overflow-x: auto;
}
.weather_forecast .forecast_content::-webkit-scrollbar {
  height: 0.4rem;
}
.weather_forecast .forecast_content .forecast_item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-width: 10rem;
  padding: 0 1rem;
  position: relative;
}
.weather_forecast .forecast_content .forecast_item:not(:last-child):after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.06);
}
.weather_forecast .forecast_content .forecast_item .item_day {
  text-align: center;
  margin-bottom: 1.2rem;
}
.weather_forecast .forecast_content .forecast_item .item_day p {
  font-size: 1.6rem;
  font-weight: 500;
  color: #121F3F;
  margin-bottom: 0.3rem;
}
.weather_forecast .forecast_content .forecast_item .item_day span {
  font-size: 1.4rem;
  color: #666;
}
.weather_forecast .forecast_content .forecast_item .item_icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
}
.weather_forecast .forecast_content .forecast_item .item_icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.weather_forecast .forecast_content .forecast_item .item_desc {
  margin-bottom: 1rem;
}
.weather_forecast .forecast_content .forecast_item .item_desc p {
  font-size: 1.4rem;
  color: #666;
  text-align: center;
}
.weather_forecast .forecast_content .forecast_item .item_temp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 6rem;
}
.weather_forecast .forecast_content .forecast_item .item_temp p {
  font-size: 1.6rem;
}
.weather_forecast .forecast_content .forecast_item .item_temp p.high {
  color: #ff5722;
  font-weight: 500;
  margin-right: 1rem;
}
.weather_forecast .forecast_content .forecast_item .item_temp p.low {
  color: #2196f3;
}
/* 气象详情区域 */
.weather_metrics {
  margin-bottom: 3rem;
}
.weather_metrics .metrics_title {
  margin-bottom: 1.5rem;
}
.weather_metrics .metrics_title h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #121F3F;
}
.weather_metrics .metrics_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.weather_metrics .metrics_content .metrics_item {
  width: 24%;
  background-color: #f7f9fc;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}
.weather_metrics .metrics_content .metrics_item .item_icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
}
.weather_metrics .metrics_content .metrics_item .item_icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.weather_metrics .metrics_content .metrics_item .item_name {
  font-size: 1.6rem;
  color: #666;
  margin-bottom: 1rem;
}
.weather_metrics .metrics_content .metrics_item .item_value {
  font-size: 1.8rem;
  font-weight: 500;
  color: #121F3F;
}
/* 生活指数区域 */
.weather_life .life_title {
  margin-bottom: 1.5rem;
}
.weather_life .life_title h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #121F3F;
}
.weather_life .life_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.weather_life .life_content .life_item {
  width: 32%;
  background-color: #f7f9fc;
  border-radius: 1rem;
  padding: 2rem;
}
.weather_life .life_content .life_item .item_icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
}
.weather_life .life_content .life_item .item_icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.weather_life .life_content .life_item .item_name {
  font-size: 1.8rem;
  font-weight: 500;
  color: #121F3F;
  margin-bottom: 1rem;
}
.weather_life .life_content .life_item .item_desc {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.6;
}
/* 响应式适配 */
@media screen and (max-width: 1280px) {
  .weather_header .weather_city h2 {
    font-size: 3.2rem;
  }
  .weather_header .weather_temp .temp_icon {
    width: 7rem;
    height: 7rem;
  }
  .weather_header .weather_temp .temp_num h1 {
    font-size: 4.5rem;
  }
}
@media screen and (max-width: 1024px) {
  .weather_detail {
    flex-wrap: wrap;
  }
  .weather_detail .detail_item {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .weather_detail .detail_item:last-child {
    margin-bottom: 0;
  }
  .weather_overview .overview_content .overview_item {
    width: 50%;
  }
  .weather_metrics .metrics_content {
    flex-wrap: wrap;
  }
  .weather_metrics .metrics_content .metrics_item {
    width: 49%;
    margin-bottom: 1rem;
  }
  .weather_life .life_content {
    flex-wrap: wrap;
  }
  .weather_life .life_content .life_item {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .weather_life .life_content .life_item:last-child {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 768px) {
  .weather_header {
    flex-direction: column;
    align-items: flex-start;
  }
  .weather_header .weather_city {
    margin-bottom: 2rem;
  }
  .weather_overview .overview_content .overview_item {
    width: 100%;
  }
  .weather_metrics .metrics_content .metrics_item {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .weather_main {
    padding: 4rem 2rem;
  }
}
