@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap");
:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --background-color: #f0f2f5;
  --card-background: #ffffff;
  --text-color: #333;
  --light-text-color: #666;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  color: var(--text-color);
  line-height: 1.6;
  padding: 20px;
  box-sizing: border-box;
}

.container {
  background-color: var(--card-background);
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color);
  padding: 40px;
  width: 100%;
  max-width: 500px;
  text-align: center;
  box-sizing: border-box;
}

h1 {
  color: var(--primary-color);
  margin-bottom: 30px;
  font-size: 2.2em;
  font-weight: 600;
}

label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1em;
  font-weight: 400;
  color: var(--light-text-color);
}

input[type=text] {
  width: calc(100% - 20px);
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type=text]:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 8px rgba(106, 17, 203, 0.2);
}

button {
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.results {
  margin-top: 30px;
  padding: 25px;
  background-color: var(--background-color);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  text-align: left;
  min-height: 100px; /* Ensures space even if empty */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.1em;
  color: var(--text-color);
  box-shadow: inset 0 2px 5px var(--shadow-color);
}

/* default styling for the weather info added by js */
.results p {
  margin: 8px 0;
  font-weight: 400;
}

.results p strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  body {
    padding: 15px;
  }
  .container {
    padding: 30px 20px;
  }
  h1 {
    font-size: 1.8em;
  }
  input[type=text],
  button {
    font-size: 0.95em;
    padding: 10px;
  }
  .results {
    padding: 20px;
    font-size: 1em;
  }
}/*# sourceMappingURL=style.css.map */