body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; 
  height: 100vh;
  margin: 0;
}

.navbar {
  width: 80%;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 1%;
  border-radius: 10px;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.toggle-btn {
  background: #00000000;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-right: 10px;
}
.toggle-btn:hover {
  background: #e68a0000;
  transform: scale(1.2rem);
}

.container {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  width: 300px;
  margin-top: 6rem; 
}

h1 {
  margin-bottom: 1.5rem;
}

.input-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

input {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-radius: 6px;
  outline: none;
}

#get-weather-btn {
  background: #ff9800;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
}

#get-weather-btn:hover {
  background: #e68900;
}

.hidden {
  display: none;
}

#error-message {
  color: #ff4d4d;
  font-size: 0.9rem;
  margin-top: 1rem;
}
.navbarButtons{
  display: flex;

}
.githublogo {
  color: #fff; 
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.githublogo a{
  color: #fff;
}
.light-mode {
  background: linear-gradient(to right, #fdfbfb, #ebedee);
  color: #222;
}

.light-mode .container {
  background: #ffffff;
  color: #222;
}

.light-mode .navbar {
  background: rgba(255, 255, 255, 0.7);
  color: #222;
}

.light-mode .toggle-btn {
  color: #fff;
}
.light-mode .toggle-btn:hover {
  background: #11111100;
}

.light-mode .githublogo a{ 
  color: #111;
}
