* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background: #101630;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.weather-app {
  width: 380px;
  background: #1b213b;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.weather-app-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

/* Search bar */
.search-box {
  display: flex;
  gap: 8px;
}
.search-box input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  outline: none;
  background: #2a3358;
  color: #fff;
  font-size: 14px;
}

.search-box input {
  flex: 1;
}

.search-box button {
  background: #3c4e88;
  border: none;
  color: #fff;
  padding: 0 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s;
}

.search-box button:hover {
  background: #4e63b5;
}

/* Current weather */
.current-weather {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
}

.location h1 {
  font-size: 28px;
}

.location p {
  font-size: 14px;
  color: #aaa;
}

.temp-icon h2 {
  font-size: 50px;
}

.temp-icon img {
  width: 70px;
}

/* Air conditions */
.air-conditions {
  background: #2a3358;
  border-radius: 10px;
  margin-top: 20px;
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
}

.condition p {
  font-size: 13px;
  color: #aaa;
}

.condition h3 {
  font-size: 18px;
}

/* Forecast */

.forecast-section {
  margin-top: 30px;
  text-align: left;
  font-size: 13px;
  color: #aaa;
}

.daily-forecast {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 25px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
}

.forecast-day {
  text-align: center;
  font-family: "Roboto", sans-serif;
}

.day-name {
  font-weight: 500;
  margin-bottom: 5px;
}

.forecast-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}

.forecast-temps {
  font-size: 14px;
}

.forecast-temps .max {
  font-weight: 600;
  margin-right: 4px;
}

.forecast-temps .min {
  opacity: 0.6;
}

.footer {
  text-align: center;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #2f3a5e;
  font-size: 12px;
  color: #aaa;
  line-height: 1.3;
}

.footer a {
  color: #4e8fff;
  text-decoration: none;
  font-weight: 500;
}
