@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: coral;
  font-family: "Roboto Mono", monospace;
  font-size: 20px;
}

/* width scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #3d3c3d;
}

.fale,
.ver {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: chartreuse;
  color: black;
  border: 4px solid #fff;
  outline: none;
  margin-bottom: -10px;
}

.fale:hover,
.ver:hover {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: black;
  color: chartreuse;
  border: 4px solid #fff;
  cursor: pointer;
}

.pagewrap {
  width: 100%;
  padding: 30px;
}

.btncontainer {
  width: 100%;
  height: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

header,
form {
  width: 100%;
  min-height: 20vh;
  display: flex;

  justify-content: center;
  align-items: center;
}
form input {
  width: 100%;
}
form input,
form button {
  padding: 10px;
  font-size: 30px;
  border: none;
  background: white;
  border-radius: 7px;
}

form button {
  color: #014477;
  background: white;
  cursor: pointer;
  transition: all 0.5s ease;
}
form button:hover {
  background: #014477;
  color: white;
}

.todo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.todo-list {
  width: 70%;
  min-width: 30%;
  list-style: none;
}

.todo {
  margin: 10px;
  background: white;
  padding: 10px;
  color: black;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s ease;
  border-radius: 7px;
}

.todo li {
  flex: 1;
}
.trash-btn,
.completed-btn {
  width: 50px;
  height: 50px;
  background: #ff5733;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 15px;
  color: white;
  border-radius: 50%;
}
.completed-btn {
  background: #4bff1a;
}

.fa-trash,
.fa-check {
  pointer-events: none;
}

.completed {
  text-decoration: line-through;
  opacity: 0.7;
}

.fall {
  transform: translateY(8rem) rotateZ(20deg);
  opacity: 0;
}

@media (max-width: 768px) {
  .todo-list {
    width: 100%;
    min-width: 50%;
    list-style: none;
  }
}
