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

/* Body Styling */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Main Container Styling */
.main-container {
  width: 500px;
  background: linear-gradient(to top, #09203f 0%, #537895 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}
/* Input Section Styling */
.input-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 30px;
}

.search-input {
  width: 100%;
  padding: 10px 30px;
  border-radius: 99px;
  border: none;
  outline: none;
  font-size: 16px;
}

.search-btn {
  width: 40px;
  height: 35px;
  background-color: #fff;
  border-radius: 99px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.search-btn img {
  width: 25px;
  height: 25px;
}

.warning {
  color: red;
  text-align: center;
  font-size: 16px;
  padding-bottom: 20px;
  display: none;
}

/* Weather Condition Section */
.weather-img-section {
  padding: 20px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.weather-img {
  width: 150px;
}

/* Weather Details Display Section */
.content-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.temp {
  font-size: 70px;
  font-weight: 400;
  color: #fff;
}

.city {
  font-size: 36px;
  color: #fff;
}

.weather-details {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 30px 30px;
}

.left-details,
.right-details {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
}

.left-details img,
.right-details img {
  width: 50px;
  height: 50px;
}

.left-details div,
.right-details div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

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

.humidity-text,
.wind-speed-text {
  font-size: 16px;
}

.display-data {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  display: none;
}

/* For Mibile Users */

@media screen and (max-width: 500px) {
  body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .main-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    border-radius: 0;
    display: block;
    padding-top: 20%;
  }

  .input-section {
    padding: 20px;
  }

  .weather-details {
    padding: 50px 20px 20px;
  }

  .left-details img,
  .right-details img {
    width: 40px;
    height: 40px;
  }

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

  .humidity-text,
  .wind-speed-text {
    font-size: 16px;
  }
}
