* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  background: linear-gradient(135deg, #000, #161616);
}

.wrapper {
  top: 50%;
  left: 50%;
  width: 90vw;
  font-size: 16px;
  max-width: 28em;
  position: absolute;
  transform: translate(-50%, -50%);
}

.container {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3em 1.8em;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 7em 2em;
  box-shadow: 0 1.8em 3.7em #000;
  text-align: center;
}

.circle {
  position: absolute;
  background-color: rgb(30, 193, 185);
  backdrop-filter: blur(1.2em);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.circle-1 {
  height: 13em;
  width: 13em;
  right: -6.5em;
  top: 1.8em;
}

.circle-2 {
  height: 11em;
  width: 11em;
  bottom: -3.7em;
  left: -2.5em;
}

.search-container {
  font-size: 1em;
  display: grid;
  grid-template-columns: 9fr 3fr;
  gap: 1.25em;
}

.search-container input,
.search-container button {
  outline: none;
  font-size: 1em;
  border: none;
}

.search-container input {
  padding: 0.7em;
  cursor: pointer;
  background-color: transparent;
  border-bottom: 2px solid rgb(30, 193, 185);
  color: #ffffff;
  font-weight: 300;
}

.search-container input::placeholder {
  color: #d6d3d3;
}

.search-container input:focus {
  border-color: #fff;
}

.search-container button {
  color: #262626;
  cursor: pointer;
  background-color: #fff;
  border-radius: 1em;
}

#result h2 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin: 1.25em 0;
}

.weather, .desc {
  color: #e5e5e5;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9em;
  font-weight: 500;
  line-height: 2em;
}

.weather {
  margin-top: -0.7em;
}

#result img {
  margin: 0.6em 0 0 0;
  width: 6.2em;
  filter: drop-shadow(0 1.8em 3.7em #000);
}

#result h1 {
  font-size: 4em;
  margin: 0.3em 0 0.7em 0;
  line-height: 0;
  font-weight: 400;
  color: #ffffff;
}

.temp-container {
  display: flex;
  justify-content: center;
}

.temp-container div {
  padding: 0.3em 1em;
}

.temp-container div:first-child {
  border-right: 1px solid rgb(30, 193, 185);
}

.temp-container .title {
  font-weight: 600;
  color: #fff;
}

.temp-container .temp {
  font-weight: 300;
  color: #e5e5e5;
}

.error {
  margin-top: 1.8em;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .wrapper {
    width: 95vw;
    max-width: none;
    padding: 1em;
  }
  
  .container {
    padding: 2em 1em;
    border-radius: 5em 1.5em;
  }
  
  .circle-1 {
    height: 10em;
    width: 10em;
    right: -5em;
    top: 1em;
  }
  
  .circle-2 {
    height: 8em;
    width: 8em;
    bottom: -3em;
    left: -2em;
  }
  
  .search-container {
    grid-template-columns: 1fr;
  }
  
  .search-container input,
  .search-container button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5em 0.8em;
    border-radius: 3em 1em;
  }
  
  .circle-1 {
    height: 8em;
    width: 8em;
    right: -4em;
    top: 0.5em;
  }
  
  .circle-2 {
    height: 6em;
    width: 6em;
    bottom: -2.5em;
    left: -1.5em;
  }
  
  #result h1 {
    font-size: 3em;
  }
  
  #result img {
    width: 4.5em;
  }
  
  .weather, .desc {
    font-size: 0.8em;
  }
}
