@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  top: 20px;
  left: 50%;
  position: absolute;
  transform: translate(-50%, 0);
  background-color: #ede7f9;
}

#container {
  /* border: 1px solid black; */
  text-align: center;
  padding: 20px 20px 25px 20px;
  background-color: white;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 1px 2px 10px 4px #d0bbff;
  width: 350px;
}

#heading {
  color: #6f3fd6;
  margin-bottom: 20px;
}

#heading2 {
  display: none;
  color: #6f3fd6;
  justify-content: space-between;
}

#heading2 #icon {
  margin-top: 7px;
}

#btn {
  background-color: #8758ec;
  color: white;
  font-size: 20px;
  padding: 5px 20px;
  border-radius: 8px;
  border: none;
}

#btn:hover {
  background-color: #6f3fd6;
}

#location-details {
  text-align: start;
  padding: 0 10px;
}

.fields {
  margin-top: 10px;
  font-size: 20px;
  text-transform: capitalize;
}

.data-text {
  color: rgb(57, 57, 57);
}

#city {
  margin-top: 20px;
}

#loading {
  background-color: #e5dbfb;
  font-size: 20px;
  padding: 10px 20px;
  border-radius: 10px;
  color: red;
  margin-top: 40px;
  display: none;
}

#cross-icon {
  font-size: 30px;
  border: 1px solid white;
  padding: 0;
  border-radius: 5px;
  border: 2px solid #e8ddff;
}

#cross-icon:hover {
  border: 2px solid #6f3fd6;
  border-radius: 5px;
}

#location-logo {
  font-size: 150px;
  padding: 25px;
  border: 5px solid #6f3fd6;
  margin-bottom: 30px;
  border-radius: 50%;
  background-color: #ede7f9;
  color: #6f3fd6;
}
