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

body {
  background-color: #121212;
  color: #ffffff;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.nav-container{
  position: fixed;
  top: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80vw;
  height: 24px;
}
.navBar{
  background-color: #1e1e1e;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.navBar ul{
  list-style: none;
  display: flex;
  width: 80%;
  justify-content: end;
}
.navBar ul li{
  margin: 25px;
  color: #fff;
}
.navBar h2{
  margin-left: 15px;
  width: 50%;
}
.dark-mode{
  background: none;
  color: #fff;
  border: none;
  height: 100%;
}
#githubLogo{
  color: #fff;
}
.container {
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  width: 350px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

.input-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

#todo-input {
  flex: 1;
  padding: 10px;
  border-radius: 5px;
  border: none;
  outline: none;
}

#add-task-btn {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  background-color: #6200ea;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

#add-task-btn:hover {
  background-color: #3700b3;
}

#todo-list {
  list-style: none;
}

#todo-list .listitems {
  background-color: #2a2a2a;
  margin: 8px 0;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.delete-btn {
  background-color: #e53935;
  border: none;
  padding: 6px 10px;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.delete-btn:hover {
  background-color: #b71c1c;
}
