@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700&family=Nunito:wght@400;600;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Nunito', sans-serif;
  background: radial-gradient(circle at top, #153a86 0%, #071633 42%, #000000 100%);
  min-height: 100vh;
  overflow: auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #f6fbff;
}

.header h4 {
  color: #fefeff;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 0.02em;
  font-family: 'Baloo 2', cursive;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}
.app-main {
  min-height: 10vh;
  width: min(92vw, 520px);
  margin: 42px auto;
  padding: 24px 22px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(244, 251, 255, 0.95), rgba(215, 233, 255, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(5px);
}
.app-main > * {
  margin-bottom: 20px;
}
.input-box {
  width: 100%;
  background: #ffffff;
  color: #1f2d44;
  font-weight: 600;
  border: none;
  font-size: 1.4rem;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  outline: none;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-box:focus {
  border-color: #4e7ddf;
  box-shadow: 0 0 0 4px rgba(78, 125, 223, 0.2);
}

.weather-body {
  color: #fff;
  padding: 20px 16px;
  line-height: 2rem;
  border-radius: 14px;
  display: none;
  background: radial-gradient(circle at top, #153a86 0%, #071633 42%, #000000 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.location-deatils {
  font-weight: bold;
}
.weather-status {
  padding: 20px;
}
.temp {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 20px 0px;
  text-shadow: 2px 4px rgba(0, 0, 0, 0.1);
}
.weather {
  margin-top: 25px;
  font-size: 1.9rem;
  margin-bottom: 10px;
}
.min-max {
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 15px;
}

.day_details {
  padding: 20px;
}
.sun-detail,
.basic {
  font-size: 1rem;
}
#weather-icon {
  color: black;
}

@media screen and (max-width: 800px) {
  .app-main {
    width: 94%;
    padding: 16px 12px;
  }
  body {
    min-height: 100vh;
  }
  .header h4 {
    font-size: 2.1rem;
  }
}
