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

body {
  font-family: 'Inter', sans-serif;
  background: #f4f4f9;
  color: #333;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

header {
  background: #4b6cb7;
  color: white;
  padding: 20px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav a {
  margin: 0 15px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#toggleTheme {
  position: absolute;
  right: 20px;
  top: 20px;
  background: white;
  color: #4b6cb7;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  font-weight: bold;
}

main {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

h2 {
  color: #4b6cb7;
  margin-bottom: 10px;
}

.project {
  background: white;
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.project a {
  color: #4b6cb7;
  text-decoration: none;
  font-weight: bold;
}

form input[type="text"] {
  padding: 10px;
  width: 60%;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  padding: 10px 20px;
  background: #4b6cb7;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 20px;
  background: #eee;
  margin-top: 40px;
}

/* Dark Mode */
.dark-mode {
  background: #121212;
  color: #eee;
}

.dark-mode header {
  background: #1e1e2f;
}

.dark-mode nav a {
  color: #eee;
}

.dark-mode #toggleTheme {
  background: #eee;
  color: #1e1e2f;
}

.dark-mode .project {
  background: #1e1e2f;
  color: #eee;
}

.dark-mode footer {
  background: #1e1e2f;
}
