* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: whitesmoke;
}

/* Card Styles */
.Card {
  max-width: 100%;
  width: 49%;
  background: radial-gradient(circle, rgba(0, 0, 0, 1) 67%, rgba(238, 174, 202, 1) 97%);
  text-align: center;
  padding: 23px;
  margin: auto;
  border-radius: 10px;
  margin-top: 10%;
  height: auto;
  overflow: hidden;
}

/* Search Styles */
.search {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.search input {
  width: 70%;
  padding: 11px;
  outline: none;
  border-radius: 10px;
  font-size: 18px;
}

#search-Btn {
  padding: 10px;
  outline: none;
  border: 0;
  border-radius: 8px;
  margin: 10px 0 0 1%;
  font-size: 14px;
  background-color: white;
  color: black;
  cursor: pointer;
  font-weight: 700;
}

#search-Btn:hover {
  background-color: #eeaeca;
  color: black;
  transition: all ease-in 0.1s;
}

/* Weather Section */
.weather {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.Temp {
  color: white;
  font-size: 4rem;
  font-family: sans-serif;
  margin-top: 1%;
  font-weight: bolder;
}

.CityName {
  font-size: 3rem;
  font-family: sans-serif;
  font-weight: lighter;
  color: white;
}

.details {
  margin-top: 4%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15%;
  position: relative;
  height: auto;
}

.details p {
  font-size: 2.2rem;
  color: white;
  margin-top: 12px;
  font-family: sans-serif;
}

.humaditiy,
.Wind {
  font-size: 1rem;
  font-weight: bold;
  color: white;
}

.fa-droplet {
  font-size: 2rem;
  color: white;
}

.fa-wind {
  font-size: 2rem;
  color: white;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .Card {
    width: 90%;
    margin-top: 5%;
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 15px;
  }

  .search {
    flex-direction: column;
    align-items: stretch;
  }

  .search input {
    width: 100%;
    margin-bottom: 10px;
    font-size: 16px;
  }

  #search-Btn {
    width: 100%;
    font-size: 16px;
  }

  .Temp {
    font-size: 3rem;
  }

  .CityName {
    font-size: 2rem;
  }

  .details {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .fa-droplet,
  .fa-wind {
    font-size: 3rem;
  }

  .details p {
    font-size: 1.8rem;
  }

  .humaditiy,
  .Wind {
    font-size: 1.2rem;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .Card {
    width: 60%;
    margin-top: 7%;
    padding: 25px;
    border-radius: 15px;
  }

  .search input {
    width: 60%;
    padding: 12px;
    font-size: 18px;
  }

  #search-Btn {
    width: 30%;
    font-size: 18px;
  }

  .Temp {
    font-size: 3.5rem;
  }

  .CityName {
    font-size: 2.5rem;
  }

  .details {
    gap: 10%;
    height: auto;
  }

  .fa-droplet,
  .fa-wind {
    font-size: 2.5rem;
  }

  .details p {
    font-size: 2rem;
  }
}

/* Large Screen Styles */
@media (min-width: 1025px) {
  .Card {
    width: 400px;
    margin-top: 50px;
    padding: 40px;
    border-radius: 20px;
  }

  .Temp {
    font-size: 64px;
  }

  .CityName {
    font-size: 32px;
  }

  .details {
    gap: 15%;
    height: 30vh;
  }

  .fa-droplet,
  .fa-wind {
    font-size: 2rem;
  }

  .details p {
    font-size: 2.2rem;
  }
}
