* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  font-family: sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1E293B;
  color:#A78BFA;
}

.container {
  width: 400px;
  height: min-content;
  // height: 450px;
  background-color: #334155;
  border-radius: 12px;
  padding: 28px;
}

.search-box {
  width: 100%;
  height: min-content;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-box input {
  width: 84%;
  font-size: 20px;
  text-transform: capitalize;
  color: #000;
  background-color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
}

.search-box input::placeholder {
  color: #000;
}

.search-box button {
  width: 46px;
  height: 46px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
} 

.search-box button:hover {
  color: black;
  background-color: lightgray;
}

.weather-body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-block: 20px;
}

.weather-body img {
  width: 60%;
}

.weather-box {
  margin-block: 20px;
  text-align: center;
}

.weather-box .temperature {
  font-size: 40px;
  font-weight: 700;
  position: relative;
  color:#fff;
}

.weather-box .temperature sup {
  font-size: 20px;
  position: absolute;
  font-weight: 550;
  color:#fff;
}

.weather-box .description {
  font-size: 20px;
  font-weight: 510;
  text-transform: capitalize;
  color:#fff;
}

.weather-details {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  color: #fff;
}

.humidity,
.wind {
  display: flex;
  align-items: center;
  
}

.humidity {
  margin-left: 20px;
}

.wind {
  margin-right: 20px;
}

.weather-details i {
  font-size: 31px;
}

.weather-details .text {
  margin-left: 10px;
  font-size: 16px;
  color:#fff;
}

.text span {
  font-size: 20px;
  font-weight: 700;
}

.location-not-found {
  margin-top: 20px;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.location-not-found h1 {
  font-size: 20px;
  color: #fff;
  margin-block-end: 15px;
}

.location-not-found img {
  width: 80%;
}

.weather-box #locations-input {
  font-size: 20px;
  font-weight: 550;
  color:#fff;
}


