@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  font-size: 62.5%;
}
body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #153677, #4e085f);
}
.card {
  width: 90%;
  max-width: 470px;
  background: linear-gradient(135deg, #00feba, #5b548a);
  color: #fff;
  margin: 50px auto;
  border-radius: 20px;
  padding: 40px 35px;
  text-align: center;
}
.heading {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0px 0px 15px red, 0px 0px 20px yellow;
  margin: 1rem;
}
.author {
  padding: 1rem;
  font-size: 1.6rem;
  text-align: center;
}
.author span {
  font-size: 1.7rem;
  text-shadow: 0px 0px 20px #4e085f, 0px 0px 30px #153677;
  color: #ebfffc;
}
.search {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search input {
  width: 80%;
  border: none;
  outline: none;
  background: #ebfffc;
  color: #555;
  padding: 10px 25px;
  border-radius: 20px;
  margin-right: 10px;
  font-size: 1.6rem;
}
.search .btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  outline: none;
  cursor: pointer;
}
.btn i {
  font-size: 1.5rem;
  color: #555;
}
.weather {
  width: 90%;
  margin: 2rem auto;
  display: none;
}
.weather h1 {
  font-size: 3.5rem;
  font-weight: 700;
  /* padding: 1rem; */
}
.weather h2 {
  font-size: 2.5rem;
  font-weight: 600;
  padding: 1rem;
  margin-bottom: 1rem;
}
.weather img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}
.type {
  font-size: 2rem;
  padding: 1rem;
  font-weight: 600;
}
.details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.details .col {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: calc(50% - 20px);
}
.details .col i {
  font-size: 2.5rem;
  font-weight: 600;
}
.details p {
  font-size: 1.5rem;
  font-weight: 700;
}
