*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  background: #d3f9b5;
  font-family: "Fredoka", sans-serif;
}
.weather-app {
  background: white;
  width: 100%;
  max-width: 775px;
  margin: 20px auto;
  padding: clamp(16px, 4vw, 30px);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.09);
  border-radius: 16px;
}
header {
  border-bottom: 1px solid #f0f7ea;
  padding: 0 0 30px 0;
}

.title-header {
  display: flex;
  gap: clamp(8px, 2vw, 20px);
  margin-bottom: 15px;
  align-items: center;
  transform: translate(clamp(20px, 8vw, 60px), 0px);
  scale: clamp(0.8, 2vw + 0.6, 1);
}
.mascot dotlottie-wc {
  width: clamp(55px, 10vw, 85px);
  height: clamp(55px, 10vw, 85px);
}
.title {
  font-family: "Pacifico", cursive;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
}

.search-form {
  font-family: "Quicksand", sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-form-input {
  background: #f0f7ea;
  border: none;
  border-radius: 6px;
  width: auto;
  line-height: 20px;
  flex: 1 1 auto;
  padding: 15px 20px;
  font-size: 16px;
}
.search-form-button {
  background: #d3f9b5;
  color: #657765;
  border: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  flex: 0 1 auto;
  padding: 15px clamp(16px, 4vw, 60px);
  transition: all 0.3s ease;
}
.search-form-button:hover {
  background: #fffcb6;
  box-shadow: 0 0 8px #fcf56f;
  cursor: pointer;
}

main {
  padding: 30px 0;
}
.weather-app-data {
  display: flex;
  justify-content: space-between;
}
.weather-app-city {
  margin: 0;
  font-size: 42px;
}
.weather-app-details {
  font-size: 16px;
  line-height: 20px;
}
.weather-description {
  display: inline-block;
  white-space: nowrap;
}
.weather-conditions {
  white-space: nowrap;
}
.humidity,
.windSpeed {
  color: #ff677d;
  font-weight: bold;
}
.large-temperature-display {
  display: flex;
  align-items: baseline;
  transform: translateY(0.15em);
  gap: 0.13em;
  white-space: nowrap;
  line-height: 1;
  font-size: clamp(42px, 10vw, 90px);
}
.temp-icon {
  width: 1em;
  transform: translate(0.15em, -0.1em);
}
.temp-main {
  font-size: 1.1em;
  transform: translateY(-0.2em);
}
.temp-unit {
  font-size: 0.4em;
  transform: translateY(-1.75em);
}
.weather-forecast {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
}

.weather-forecast-date {
  text-align: center;
  color: #d5aaff;
  font-size: 16px;
  line-height: 20px;
}
.weather-forecast-icon {
  width: 80%;
  display: block;
  margin: 0 auto;
}
.weather-forecast-temps {
  font-size: 16px;
  color: #ff677d;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}
.weather-forecast-temp {
  padding: 0 6px;
}

footer {
  border-top: 1px solid #f0f7ea;
  padding: 15px 0 0 0;
  text-align: center;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}
a {
  font-family: "Quicksand", sans-serif;
  color: #657756;
  font-weight: bold;
}
