/* Global Styles */
* {
  margin: 0;
  padding: 0;
  font-family: "Lucida Console", "Courier New", monospace;
  box-sizing: border-box;
}

/* Body Styles */
body {
  background-image: linear-gradient(to top, #9effef, #048eff);
  min-height: 100vh;
  margin: 0;
  background: black; /* Overridden by the gradient above */
}

/* Card Styles */
.card {
  width: 100%;
  max-width: 600px;
  background-image: linear-gradient(135deg, #2b80ff, #ff0000);
  color: #fff;
  padding: 50px;
  margin: 100px auto 0;
  border-radius: 20px;
  text-align: center;
}

/* Search Button Styles */
.search-image {
  background-color: rgb(255, 255, 255);
  color: gray;
  border: none;
  height: 60px;
  width: 100px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  margin-left: 8px;
  transition: box-shadow 0.15s;
}

.search-image:hover {
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.23);
}

.search-image:active {
  opacity: 0.65;
}

/* Search Section Styles */
.search {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search input {
  border: 0;
  outline: 0;
  background: #ebfffc;
  color: #535353;
  padding: 10px 25px;
  height: 60px;
  border-radius: 30px;
  flex: 1;
  font-size: 18px;
  margin-right: 16px;
}

/* Weather Icon Styles */
.weatherI {
  width: 170px;
  margin-top: 30px;
}

/* Weather Details Styles */
.weather h1 {
  font-size: 80px;
  font-weight: 500;
}

.weather h2 {
  font-size: 45px;
  font-weight: 400;
  margin: 10px 0;
}

.details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin-top: 50px;
}

.col {
  display: flex;
  align-items: center;
  text-align: left;
}

.col img {
  width: 55px;
  margin-right: 10px;
}

.humidity,
.wind {
  font-size: 28px;
  margin: -6px 0 3px;
}

/* Weather Section Visibility */
.weather {
  display: none;
}

/* Error Message Styles */
.error {
  text-align: left;
  margin-right: 10px;
  font-size: 14px;
  margin-top: 10px;
  display: none;
}
