* {
  margin: 0;
  padding: 0;
  font-family: Poppins, sans-serif;
}

#page {
  height: 100vh;
  padding: 0 50px;
  background: linear-gradient(#ffffffe8, #00000096), url("../images/weather.jpg");
  background-size: cover;
  background-position: center;
  overflow: scroll;
}

.logo {
  background: #fff;
  border-radius: 0 0 25px 25px;
  width: fit-content;
  padding: 10px;
}

.logo p {
  font-size: 45px;
  font-weight: 800;
  width: auto;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px 0;
  gap: 10%;
}

.bar h2 {
  font-weight: 900;
  color: #fff;
}

.search-form {
  display: flex;
  justify-content: space-around;
  width: 35%;
}

.input-city {
  width: 70%;
  border-radius: 35px;
  border: 2px solid#000;
  background: #f7f7f7;
  text-align: center;
  float: right;
}

.search-btn {
  width: 25%;
  height: 35px;
  border-style: none;
  border-radius: 35px;
  transition: 0.2s;
}

.search-btn:hover {
  background-color: #313131;
  color: white;
}

.current-weather {
  font-weight: 700;
}

.temp-details {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: center;
  gap: 1%;
  height: 25%;
  align-items: center;
}

.temp-box {
  display: flex;
  align-items: center;
  font-size: 175px;
  backdrop-filter: blur(4px);
  background: linear-gradient(#f7f7f727, #ffffffb4);
  border-radius: 55px;
  justify-content: center;
  height: 250px;
  margin: 2%;
  transition: 1s;
  cursor: pointer;
}

.temp-box:hover {
  transform: translateY(-5px);
}

.temp-box:active {
  transform: scale(1.2);
}

.temp1 {
  width: fit-content;
}

.thermometer {
  height: 150px;
}

.cloud-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  background: #fff;
  border-radius: 50px;
  height: 18rem;
  width: 45%;
  margin: 1%;
  padding: 1%;
}

.cloud-img {
  height: 160px;
}

.humidity {
  font-size: 20px;
}

.weather-desc {
  font-size: 25px;
}

.wind-speed {
  font-size: 15px;
}

.current-weather {
  text-align: center;
}

.weather-rad {
  font-size: 30px;
}

.hum-desc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 10px 50px;
  justify-content: center;
  align-items: center;
  height: 10%;
  width: 35%;
}

.box1,
.box2,
.box3,
.box4 {
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  background: linear-gradient(#f7f7f770, rgba(255, 255, 255, 0.863));
  border-radius: 20px;
  padding: 15px;
  height: 40%;
  gap: 3%;
  margin: 2px;
}

.box1,
.box2 {
  background: white;
}

.cloud-desc-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3%;
  padding: 0 0 8px;
}

.humidity-img {
  height: 30px;
}

.desc-img {
  height: 35px;
}

.wind-speed-img {
  height: 30px;
}

.location-sec {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.other-locations {
  width: 100%;
  height: 150px;
  backdrop-filter: blur(4px);
  background: #f7f7f73a;
  border-radius: 20px;
  font-size: 100px;
}

.gauge {
  height: 30px;
}

.radiator {
  height: 30px;
}

.accessories {
  display: flex;
  flex-direction: row;
}

.location {
  backdrop-filter: blur(1px);
  background: linear-gradient(#f7f7f74b, #ffffffc2);
  width: 15%;
  height: 80%;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.2s;
}
.other-locations {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.location:hover {
  transform: translateY(-50px) scale(2);
  background: linear-gradient(#1f1f1f83);
  z-index: 3;
  color: white;
}

.error {
  font-size: 20px;
  color: red;
}


@media screen and (max-width: 770px) {
  #page {
    background: linear-gradient(#ffffffe8, #00000096), url("../images/weather_app_back.png");
    padding: 0 5%;
  }

  .logo {
    position: sticky;
    top: 0;
    z-index: 2;
    backdrop-filter: blur(2px);
    background-color: #ffffff5b;
    display: flex;
    justify-self: center;
  }

  .logo p {
    font-size: 38px;
    color: #00000088;
  }

  .temp-details {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .temp-box {
    font-size: 70px;
    height: 150px;
    border-radius: 30px;
  }

  .thermometer {
    height: 80px;
  }

  .cloud-box {
    width: fit-content;
    padding: 0 30px;
  }

  .cloud-desc-box p {
    font-size: 30px;
  }

  .hum-desc {
  }

  .bar {
    flex-direction: column;
    gap: 5px;
    align-items: center;
  }

  .search-form {
    width: 100%;
  }

  .accessories {
    flex-direction: column;
    align-items: center;
  }

  .location-sec {
    width: 90%;
  }

  .other-locations {
    flex-direction: column;
    height: auto;
    padding: 5% 0;
  }

  .location {
    width: 80%;
    height: 100px;
    margin: 1% 0;
  }
}
