* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #0a0a0a;
  color: #e2e8f0;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  margin: 50px 0;
}

.weatherForm {
  margin: 20px;
}

.cityInput {
  padding: 10px;
  font-size: 2rem;
  border: 2px solid #2563eb;
  background-color: #111827;
  outline: none;
  color: white;
  font-weight: bold;
  border-radius: 12px;
  width: 350px;
  transition: 0.3s;
}

.cityInput:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

button[type="submit"] {
  padding: 10px 12px;
  font-size: 2rem;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  margin-left: 10px;
  color: white;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.4);
}

button[type="submit"]:active {
  transform: scale(0.97);
}

.card {
  background: linear-gradient(145deg, #111827, #1e3a8a, #2563eb);
  color: white;
  box-shadow:
    0 15px 35px rgba(37, 99, 235, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 50px;
  min-width: 350px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

h1 {
  color: #ffffff;
}

p {
  color: #dbeafe;
  margin: 5px 0;
}

.cityDisplay,
.tempDisplay {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 25px;
}

.humidityDisplay {
  font-weight: bold;
  margin-bottom: 25px;
}

.descDisplay {
  font-style: italic;
  font-weight: bold;
  font-size: 2rem;
}

.weatherEmoji {
  font-size: 7.5rem;
  margin: 0;
}

.errorDisplay {
  font-weight: bold;
  font-size: 2.5rem;
}
