body {
  background-color: #efeef4;
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

a {
  color: #c04362;
  text-decoration: none;
  transition: all 0.3ms ease-in-out;
}

a:hover {
  color: #800080;
}

.weather-app {
  background: rgb(2, 0, 36);
  background: linear-gradient(
    189deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(121, 9, 77, 1) 35%,
    rgba(68, 0, 255, 1) 100%
  );
  max-width: 600px;
  margin: 45px auto;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  border-radius: 20px;
  padding: 30px;
}

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

.search-form-input {
  background-color: #f9f7fe;
  border: none;
  border-radius: 6px;
  width: 80%;
  font-size: 16px;
  padding: 15px 20px;
}

.search-form-button {
  background-color: #800080;
  padding: 15px 30px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  margin-left: 5px;
  color: #ffffff;
  cursor: pointer;
  transition: all 1.3ms ease-in-out;
}

.search-form-button:hover {
  background-color: #b944b9;
  color: #ffffff;
}
.search-form-button:active {
  transform: scale(0.95); /* Example: Shrinks the button when clicked */
  background-color: #c04362; /* Change the background color on click */
}

main {
  padding: 30px 0;
}

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

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

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

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

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

.weather-app-icon {
  width: 88px;
  height: 88px;
}

.weather-app-temperature {
  font-size: 88px;
  line-height: 88px;
  font-weight: bold;
  color: #d9d2e9;
}

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

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

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

.weather-forecast-icon {
  font-size: 38px;
  text-align: center;
}
.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 #efeef4;
  padding: 30px 0 0 0;
  text-align: center;
  font-size: 14px;
  /* color: rgba(0, 0, 0, 0.6); */
  color: #d9d2e9;
}

@media screen and (max-width: 768px) {
  .search-form-input {
    width: 50%;
  }
  /* Hide the spilled day */
  .weather-app {
    overflow: hidden; /* Ensure content stays within the container */
  }
}

.weather-forecast {
  margin: 25px; /* Add spacing between items */
}

/* Reduce font size for better fit */
.weather-forecast-date,
.weather-forecast-icon,
.weather-forecast-temperatures {
  font-size: 12px; /* Adjust font size for smaller screens */
}
