@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@500&display=swap");

* {
  margin: 0;
}

/* Hide scrollbar for Chrome, Safari and Opera */

body::-webkit-scrollbar {display: none;}

/* Hide scrollbar for IE and Edge */

body::-webkit-scrollbar{

-ms-overflow-style: none;

}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
  background-color: #f5f5f5;
  height: 100vh;
  font-family: sans-serif;
}

.app {
  width: 50%;
  padding: 20px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

@media (max-width: 768px) {
  .app {
    width: 90%;
  }
}

.app h1 {
  color: rgb(255, 255, 255);
  font-size: 30px;
  padding: 10px 0;
  margin-bottom: 20px;
  text-align: center;
  border-radius: 0.5rem 0.5rem 0 0;
  background-color: rgb(0, 0, 0);
  font-family: "Rajdhani", sans-serif;
}

.app form {
  display: flex;
  width: 100%;
  margin-bottom: 20px;
  background-color: #262e4c;
}

.app form input {
  border: none;
  background-color: #3c4979;
  font-size: 18px;
  color: white;
  padding: 10px;
  width: 90%;
}

.app form button {
  border: none;
  color: white;
  background-color: #1dd2af;
  font-size: 25px;
  font-weight: 600;
  height: 42px;
  width: 10%;
}

.app ul {
  list-style: none;
  color: #e0e0e0;
  padding: 0;
}

.app ul li {
  padding: 10px;
  background-color: #262e4c;
  border-bottom: 1px solid #3a4674;
  margin-bottom: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.check {
  width: 0.8em;
  height: 0.8em;
  cursor: pointer;
  border-radius: 50%;
  background-color: white;
  border: 1px solid rgb(255, 255, 255);
  -webkit-appearance: none;
}

.check:checked {
  background-color: #1dd2af;
}

.task {
  font-size: 18px;
  padding: 0 10px;
  width: fit-content;
  background: transparent;
  border: none;
  color: #fff;
}

.task:focus {
  outline: none;
}

.app ul li i {
  float: right;
  padding-right: 5px;
  padding-top: 1px;
  cursor: pointer;
}

.app ul li i:hover {
  color: rgb(255, 82, 82);
}

.completed {
  color: rgba(192, 192, 192, 0.8);
  text-decoration: line-through;
}

::placeholder {
  color: white;
  opacity: 0.6;
}
