* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  text-align: center;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #202020;
}

img {
  max-width: 100%;
}

#error {
  color: white;
}

.container {
  width: fit-content;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 0px 50px 5px rgba(255, 255, 255, 0.25);
  background: linear-gradient(to top, #a2e8ff, #14c4ff);
}

.search-city {
  display: flex;
  gap: 10px;
}

.search-city input {
  height: 35px;
  width: 250px;
  border-radius: 5px;
  font-size: 18px;
  text-align: left;
  padding: 5px;
  border: none;
  outline: none;
}

.search-city button {
  cursor: pointer;
  width: 35px;
  border-radius: 100%;
  font-size: 18px;
  background: white;
  color: #202020;
  border: none;
  cursor: pointer;
}

.main-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: white;
}

.main-info .emoji {
  font-size: 72px;
  color: white;
}

.main-info .temperature {
  font-size: 48px;
}

.main-info .city-name {
  
}

.details {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: #202020;
}

.humidity,
.wind {
  display: flex;
  align-items: center;
  gap: 10px;
}

.humidity i,
.wind i {
  font-size: 26px;
}

.humidity div p {
  text-align: left;
}

.wind p {
  text-align: right;
}

@keyframes error {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.error-animation {
  animation: error 0.5s ease-in-out;
}