@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");

body {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  background-attachment: fixed;
  font-family: "Roboto", sans-serif;
  min-height: 100vh;
}

a {
  color: #a78bfa;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #c4b5fd;
}

.weather-app {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 600px;
  margin: 45px auto;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 36px;
  color: #fff;
}

header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 0 28px 0;
}

.search-form-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  width: 75%;
  font-size: 15px;
  padding: 14px 20px;
  color: #fff;
  font-family: "Roboto", sans-serif;
  outline: none;
  transition:
    border-color 0.25s,
    background 0.25s;
}

.search-form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-form-input:focus {
  border-color: #a78bfa;
  background: rgba(255, 255, 255, 0.15);
}

.search-form-button {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  padding: 14px 26px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  margin-left: 8px;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.45);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  letter-spacing: 0.02em;
}

.search-form-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.6);
}

.search-form-button:active {
  transform: translateY(0);
}

main {
  padding: 28px 0;
}

.weather-app-data {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.weather-app-city {
  margin: 0;
  font-size: 38px;
  line-height: 48px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(167, 139, 250, 0.4);
}

.weather-app-details {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 24px;
  font-weight: 400;
  margin-top: 6px;
}

.weather-app-details strong {
  color: #f472b6;
  font-weight: 700;
}

.weather-app-temperature-container {
  display: flex;
  align-items: flex-start;
}

.weather-app-icon {
  font-size: 44px;
  margin-top: 22px;
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.6));
}

.weather-app-temperature {
  font-size: 88px;
  margin-left: 10px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 40px rgba(167, 139, 250, 0.5);
  line-height: 1;
}

.weatehr-app-unit {
  margin-top: 16px;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
}

.weather-forecast {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 20px 10px;
  gap: 6px;
}

.weather-forecast-date {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.weather-forecast-icon {
  width: 88px;
  height: 88px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.weather-forecast-temperatures {
  text-align: center;
  color: #f472b6;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  gap: 2px;
}

.weather-forecast-temperature {
  padding: 0 8px;
}

.weather-forecast-temperature strong {
  color: #fff;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0 0 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}
