html {
  scroll-behavior: smooth;
}

body {
  height: 100vh;
  width: 100%;
  background-image: url("../assets/bg.png");
  /* background-repeat: no-repeat; */
  object-fit: cover;
  background-size: cover;
  background-position: bottom;
}

.whather-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}
.current-whather-section .city {
  color: #fff;
  font-size: 25px;
  line-height: 41px;
  font-weight: 400;
  text-align: center;
}
.current-whather-section .temp {
  font-weight: 200;
  font-size: 96px;
  line-height: 70px;
  text-align: center;
  color: #fff;
  padding: 5px 0;
}
.current-whather-section .temp-fil,
.temp-h-l {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  letter-spacing: 0.38px;
  color: rgba(235, 235, 245, 0.6);
  text-transform: capitalize;
}
.temp-h-l {
  color: #fff;
}

.house-image-wrapper {
  width: 360px;
  height: 360px;
}

.house-image-wrapper img {
  width: 100%;
  height: 100%;
}

.bottom-app-bar {
  width: 100%;
  position: fixed;
  bottom: 0;

  /* background-color: red; */
}

.bottom-app-bar-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image: url("../assets/rectangle_364.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 0 2rem;
  position: relative;
}
.bottom-app-bar-bottom button {
  background: transparent;
  border: none;
}

.add-btn-wrapper {
  background-image: url("../assets/subtract.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;

  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* .add-btn-wrapper button {
  height: 235px;
  width: 100%;
} */
.weather-switcher-wrapper {
  background: linear-gradient(
    167.57deg,
    rgba(46, 51, 90, 0.26) -4.68%,
    rgba(28, 27, 51, 0.26) 95.45%
  );
  box-shadow: inset 0px 1px 0px #ffffff;
  backdrop-filter: blur(25px);
  width: 100%;
  height: 200px;
  border-top-left-radius: 44px;
  border-top-right-radius: 44px;
  padding: 0 2rem;
  padding-top: 5px;
  position: absolute;
  bottom: 75%;
  height: 13rem;
  transition: height 0.5s, width 0.5s;

  /* display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; */
}

/* .weather-switcher-wrapper::-webkit-scrollbar {
  width: 0;
} */

.weather-switcher-wrapper.active-weather {
  bottom: 75%;
  height: fit-content;
  max-height: 30rem;
  overflow-y: auto;
}

.weather-btn-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto !important;
  height: fit-content;
  display: none;
  height: 150px;
  max-height: 150px;
  transform: rotateX(180deg);
  margin-bottom: 20px;
  /* width: 100%; */
}

.weather-btn-wrapper::-webkit-scrollbar {
  width: 0;
}

.weather-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(72, 49, 157, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 5px 4px 10px rgba(0, 0, 0, 0.25),
    inset 1px 1px 0px rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 12px 8px;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 20px;
  color: #ffffff;
  min-width: 60px;
  transform: rotateX(180deg);

  /* gap: 16px; */
}

.hour-image {
  width: 24px;
}

.daily-image {
  width: 24px;
}

.current-whather-wrapper img {
  display: none;
}

.left-arrow,
.right-arrow {
  background: transparent;
  display: none;
  border: none;
  background: linear-gradient(168.44deg, #2e335a 1.62%, #1c1b33 95.72%);
  box-shadow: 40px 60px 150px 0px rgba(59, 38, 123, 0.7);

  height: 50px;
  width: 50px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.weather-hour-wrapper .weather-btn-wrapper {
  display: none;
}

.weather-hourly-weekly-buttons {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  /* padding: 10px 0; */
  padding-bottom: 10px;
}

.weather-hourly-weekly-buttons button {
  background-color: transparent;
  border: none;
  color: whitesmoke;
  border-bottom: 1px solid black;
}

.weather-hourly-weekly-buttons button.active {
  border-color: whitesmoke;
}

.weather-daily-wrapper {
  display: none;
}

.bottom-arrow-button {
  background: transparent;
  border: none;
  width: 100%;
  margin: 0 auto;
  transition: width 0.5s, height 0.5s, transform 0.5s;
}

.bottom-arrow-button img {
  width: 35px;
  height: 20px;
}

.bottom-arrow-button._rotate {
  transform: rotate(180deg);
}

.inner-bottom-bar {
  display: grid;
  grid-template-columns: repeat(2, 150px);
  gap: 10px;
  width: 100%;
  padding: 0;
  padding-bottom: 20px;
  margin-left: -10px;
}

.card-more-weather {
  border: 1px solid #42397b;
  color: #685f81;
  border-radius: 20px;
  padding: 10px 20px;
  background: #271f49;
  height: 150px;
}

.card-more-weather h3 {
  color: #fff;
  font-size: 25px;
}

.right-side {
  display: none;
}

@media screen and (min-width: 700px) {
  body {
    background: linear-gradient(168.44deg, #2e335a 1.62%, #1c1b33 95.72%);
    box-shadow: 40px 60px 150px 0px rgba(59, 38, 123, 0.7);
  }

  .large-view-display {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }

  .right-side {
    display: block;
    padding: 2rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    padding-bottom: 8rem !important;
  }

  .right-side > div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .house-image-wrapper {
    display: none;
  }
  .weather-switcher-wrapper {
    display: none;
  }

  .weather-hour-wrapper .weather-btn-wrapper {
    background: transparent;
    box-shadow: none;
    position: static;
    backdrop-filter: none;
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    overflow-x: auto;
  }

  .weather-daily-wrapper .weather-btn-wrapper {
    background: transparent;
    box-shadow: none;
    position: static;
    backdrop-filter: none;
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    overflow-x: auto;
  }

  .bottom-app-bar-bottom {
    background: url("../assets/Rectangle_364_large.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
  }

  .current-whather-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .current-whather-wrapper img {
    display: block;
    width: 130px;
  }
  .left-arrow,
  .right-arrow {
    display: block;
  }
  .weather-hour-wrapper {
    display: flex;
    align-items: center;
    padding: 0 10px;
  }

  .weather-daily-wrapper {
    display: flex;
    align-items: center;
    padding: 0 10px;
    /* padding-bottom: 8rem; */
  }
}

@media screen and (min-width: 1055px) {
  .large-view-display {
    display: grid;
    grid-template-columns: 800px 1fr;
    /* overflow-x: hidden; */
    padding-bottom: 8rem;
  }

  .right-side {
    display: block;
  }

  .inner-bottom-bar {
    /* place-items: center; */
    /* height: 100vh; */
    margin-left: 20px;
  }
}
