/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: linear-gradient(to right, #74ebd5, #ACB6E5);
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: rgba(0,0,0,0.7);
  color: #fff;
  padding: 20px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}

header h1 {
  font-size: 2rem;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

header nav ul li a:hover {
  color: #ffd700;
}

main {
  flex: 1;
}

.container {
  width: 90%;
  margin: auto;
  padding: 40px 0;
}

.weather-section h2, .about-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.weather-input {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.weather-input input {
  padding: 10px;
  width: 250px;
  border-radius: 5px;
  border: none;
}

.weather-input button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #ffd700;
  cursor: pointer;
  transition: 0.3s;
}

.weather-input button:hover {
  background-color: #e6c200;
}

.weather-result {
  text-align: center;
  font-size: 1.2rem;
  padding: 20px;
  background-color: rgba(255,255,255,0.7);
  border-radius: 10px;
}

footer {
  background-color: rgba(0,0,0,0.7);
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

footer a {
  color: #ffd700;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .weather-input {
    flex-direction: column;
  }

  .weather-input input {
    width: 100%;
  }

  header .container {
    flex-direction: column;
    gap: 10px;
  }
}