@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  transition: all 0.3s ease !important;
  font-family: "Fira Code", monospace;
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.todo {
  padding: 30px;
  padding-bottom: 0px;
  height: 100vh;
  background-color: #eee;
  color: black;
}

.todo > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 25px;
}

.todoTitle {
  color: rgb(30 58 138 / 1);
  cursor: default;
  display: inline-block;
  transition: all 1s ease;
  position: relative;
}

.todoTitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0%;
  background-color: rgb(30 58 138 / 1);
  transition: all 1s ease-in-out;
}

.todoTitle:hover::after {
  width: 100%;
}

.todoInput {
  max-width: 60vw;
  width: 20rem;
  padding: 10px;
  border: 3px solid rgb(0 0 0 / 0.3);
  border-radius: 2px;
}

.todoAddBtn {
  padding: 12.5px;
  border: none;
  color: white;
  background-color: rgba(0 100 0 / 0.8);
  cursor: pointer;
  position: relative;
  border-radius: 2px;
}

.todo h2 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.todo ul {
  display: grid;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding-left: 0px;
}

.todoList {
  text-align: center;
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 7px;
  padding: 5px;
  padding-inline: 10px;
  border: 3px solid rgb(30 58 138 / 0.5);
  border-radius: 2px;
  cursor: default;
}

.todoList > input {
  margin-right: 15px;
}

.todoList > span {
  width: 100%;
  text-align: left;
}

.todoList:hover {
  background-color: rgba(30 58 138 / 0.1);
}

.strike {
  text-decoration: line-through;
}

.todoDelBtn {
  margin: 5px;
  margin-inline-end: 0px;
  margin-inline-start: 15px;
  color: white;
  background-color: rgb(185 28 28 / 1);
  border: none;
  padding: 3px;
  padding-inline: 5px;
  border-radius: 2px;
  cursor: pointer;
}

.checkStatus {
  cursor: pointer;
}
