body {
  font-family: "Roboto", sans-serif;
  background: #f9f7fe;
  margin: 0;
  padding: 20px;
}

.weather-app {
  background: white;
  max-width: 600px;
  margin: 30px auto;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

header {
  border-bottom: 1px solid #f9f7fe;
  padding: 0 0 30px 0;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form-input {
  flex: 1;
  padding: 15px 20px;
  border: 1px solid #f9f7fe;
  border-radius: 8px;
  font-size: 16px;
}

.search-form-input:focus {
  outline: none;
  border-color: #fa7ef0;
}

.search-form-button {
  background: #fa7ef0;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-form-button:hover {
  background: #e441a0;
}

main {
  padding: 30px 0;
}

.weather-app-data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.weather-app-city {
  margin: 0;
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
  color: #d40087;
}

.weather-app-details {
  font-size: 16px;
  color: rgba(39, 33, 66, 0.8);
  line-height: 24px;
  margin: 10px 0 0 0;
}

.weather-app-details strong {
  color: #d40087;
  font-weight: 500;
}

.weather-app-temperature-container {
  display: flex;
  align-items: center;
}

.weather-app-temperature {
  font-size: 88px;
  line-height: 88px;
  font-weight: bold;
  margin-left: 10px;
  color: #272142;
}

.weather-app-unit {
  font-size: 28px;
  margin-top: -30px;
  margin-left: 10px;
  color: #272142;
}

.weather-forecast {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 40px;
  text-align: center;
  color: #272142;
}

footer {
  text-align: center;
  font-size: 14px;
  color: rgba(39, 33, 66, 0.8);
  margin-top: 40px;
}

footer a {
  color: #d40087;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .weather-app {
    margin: 20px auto;
    padding: 20px;
  }

  .weather-app-data {
    flex-direction: column;
    text-align: center;
  }

  .weather-app-temperature-container {
    margin-top: 20px;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form-button {
    width: 100%;
  }
}
