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

body {
  background: linear-gradient(180deg, rgba(89, 76, 238, 1) 0%, #89d7da 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hide {
  display: none;
}

.container {
  background-color: rgba(92, 43, 226, 0.9);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  padding: 2rem;
  color: white;
  border-radius: 2rem;
  width: 90%;
  max-width: 400px;
  backdrop-filter: blur(5px);
}

/* FORMULÁRIO */
.form h3 {
  margin-bottom: 1rem;
  text-align: center;
}

.form-input-container {
  display: flex;
}

.form input {
  padding: 0.8rem;
  border-radius: 4px;
  flex: 1;
  border: none;
  font-size: 1rem;
}

.form button {
  padding: 0.8rem;
  margin-left: 8px;
  background-color: rgb(150, 216, 241);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  
}

.form button:hover {
  background-color: rgb(100, 180, 230);
}


#weather-data {
  border-top: 1px solid #fff;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  text-align: center;
}

#weather-data h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

#weather-data h2 i {
  font-size: 1.2rem;
  margin-right: 4px;
}

#country {
  height: 20px;
  width: auto;
  border-radius: 2px;
}


#temperature {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

#description {
  font-weight: bold;
  text-transform: capitalize;
  margin-bottom: 0.5rem;
}

#description-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0.6rem 0;
}


#details-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 0.8rem;
}

#humidity, #wind {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
}

#humidity {
  border-right: 1px solid white;
  padding-right: 10px;
}
