* {
  margin: 0;
}

body {
  background: radial-gradient(rgb(193, 141, 46), rgb(102, 50, 113));
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  font-family: cursive;
  height: 100vh;
}

section {
  margin-top: 7vh;
}

h1 {
  text-align: center;
  /*  margin-bottom: 50px;
    font-size: 60px; */
  color: white;
}

.wrapper {
  margin-top: 3vh;
  width: 500px;
}

@media (max-width: 500px) {
  .wrapper {
    width: 330px;
  }
  input {
    width: 190px;
  }
}

.input-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3vh;
  height: 47px;
}

input,
button {
  border: none;
  outline: none;
}

.input-container input {
  padding: 18px 15px;
  font-size: 15px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  width: 320px;
}

.input-container button {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  cursor: pointer;
  padding: 10px 25px;
  font-size: 22px;
  color: rgb(154, 110, 164);
  background: #fff;
  border-left: 2px solid #eee;
}

.input-container button:hover {
  background: rgb(154, 110, 164);
  color: #fff;
}

.todo-container {
  padding: 0px;
}

.todo-container .todo {
  margin: 0 auto;
  margin-bottom: 12px;
  display: flex;
  justify-content: flex-end;
  flex-direction: row;
  background: #fff;
  border-radius: 5px;
  padding-left: 16px;
}

.todo-container .todo.completed {
  width: 90%;
  text-decoration: line-through;
  color: #7e7e7e;
  opacity: 0.7;
}

.todo-container button {
  padding: 16px;
  flex: 1;
  margin: 0;
}

.todo-container .todo-check {
  color: #05cf5b;
  background: #fff;
  border-left: 2px solid #eee;
  font-size: 16px;
}

.todo-container .todo-check:hover {
  color: #fff;
  background: #05cf5b;
  cursor: pointer;
}

.todo-container .todo-delete {
  color: #ff5762;
  background: #fff;
  font-size: 16px;
  border-left: 2px solid #eee;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.todo-container .todo-delete:hover {
  color: #fff;
  background: #ff5762;
  cursor: pointer;
}

.todo-container .todo li {
  flex: 10;
  padding: 16px 16px 16px 0px;
  list-style-type: none;
  margin: 0;
  line-height: 1.5;
  overflow: overlay;
}
