* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background-color: black;
  color: white;
}

.card {
  width: 90%;
  max-width: 470px;
  background: linear-gradient(135deg, #00feba, #5b548a);
  color: #fff;
  margin: 50px auto 0;
  padding: 40px 35px;
  border-radius: 20px;
  text-align: center;
}

.search {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search input {
  height: 60px;
  background-color: #ebfffc;
  color: #555;
  padding: 10px 25px;
  margin-right: 16px;
  border-radius: 28px;
  font-size: 18px;
  border: none;
  outline: none;
  flex: 1;
}

.search button {
  border: none;
  outline: none;
  background-color: #ebfffc;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
}

.search button img {
  width: 20px;
}

.weather-icon {
  width: 170px;
  margin-top: 30px;
}

.weather h1 {
  font-size: 80px;
  font-weight: 400;
}

.weather h2 {
  font-size: 45px;
  font-weight: 400;
  margin-top: -10px;
}

.details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  padding: 0 20px;
}

.column {
  display: flex;
  align-items: center;
  text-align: left;
}

.column img {
  width: 40px;
  margin-right: 10px;
}

.humidity,
.wind {
  font-size: 28px;
  margin-top: -5px;
}

/* Media Quaries */
/* For mobile devices (portrait & landscape) */
@media only screen and (max-width: 600px) {
  .card {
    padding: 30px 20px;
  }

  .search input {
    flex: unset; 
    height: 55px;
    width: 300px; 
    font-size: 18px; 
    padding: 6px 15px;
  }

  .search button {
    width: 60px;
    height: 50px;
  }

  .search button img {
    width: 16px;
  }

  .details {
  padding: 0 10px;
}

.column img {
  width: 30px;
}

.humidity,
.wind {
  font-size: 20px;
}
}