body {
  background: linear-gradient(-45deg, #89f7fe, #66a6ff, #6b52f6, #f9f7fe);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  font-family: "Roboto", sans-serif;
  min-height: 100vh;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


a {
  color: #5d9df1;
  text-decoration:none;
}

.weather-app {
  background: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 45px auto;
  box-shadow: 0 30px 50px rgba(65, 50, 100, 0.08);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(8px);
}

header {
  border-bottom: 1px solid #f9f7fe;
  padding: 0 0 30px 0;
}

.search-form-input {
  background-color: #e4f1fa;
  border: none;
  border-radius: 6px;
  width: 80%;
  font-size: 16px;
  padding: 15px 20px;
}
.search-form-input:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(93, 109, 241, 0.4);
  background-color: #fff;
}

.search-form-button {
    background: linear-gradient(to right, #5d6cf1, #4a9be0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  padding: 15px 30px;
  border: none;
  font-size: 16px;
  margin-left: 5px;
  border-radius: 6px;
  color: white;
  
}
.search-form-button:hover {
    background: linear-gradient(to right, #5d6cf1, #4a9be0);
  cursor: pointer;
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
}

main {
  padding: 30px 0;
}

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

.weather-app-city {
  margin: 0;
  font-size: 38px;
  line-height: 48px;
}

.weather-app-details {
  font-size: 16px;
  color: rgba(33, 57, 66, 0.4);
  line-height: 24px;
  font-weight: 500;
}

.weather-app-details strong {
  color: #a752f6;
}

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

.weather-app-icon {
  width: 88px;
  height: 88px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.weather-app-temperature {
  font-size: 88px;
  font-weight: bold;
  color: #333;
  text-shadow: 2px 2px 10px rgba(93, 109, 241, 0.3);
}


.weather-app-unit {
  margin-top: 6px;
  font-size: 28px;
}

.weather-forecast {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
}


.weather-forecast-date {
  text-align: center;
  color: rgba(39, 33, 66, 0.4);
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 10px;
}

.weather-forecast-icon {
  width: 88px;
  height: 88px;
  display: block;
  margin: 0 auto;
}
.weather-forecast-temperatures {
  text-align: center;
  color: #f65282;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

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

footer {
  border-top: 1px solid #f9f7fe;
  padding: 30px 0 0 0;
  text-align: center;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
}
@media (max-width: 600px) {
  .weather-app {
    margin: 20px;
    padding: 20px;
  }

  .weather-app-city {
    font-size: 28px;
  }

  .weather-app-temperature {
    font-size: 64px;
  }

  .weather-app-unit {
    font-size: 20px;
  }
}