:root {
  --primary: #b3e0d1;
  --secondary: rgb(52, 63, 62);
  --background: rgb(34, 38, 38);
  --gradient: linear-gradient(to right, rgb(52, 63, 62), var(--background));
}

body {
  color: var(--primary);
  font-family: system-ui, sans-serif;
  background: var(--background);
  display: flex;
  flex-direction: column;
  margin: 0;
}

.card {
  background: grey;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px3px rgba(0, 0, 0, 0.1);
}

#btn {
  all: unset;
  cursor: pointer;
  margin-left: 5px;
}
p {
  margin: 0;
  padding: 10px;
}

h1 {
  text-align: center;
}

.outline {
  border: solid 1px black;
}

.main {
  background-color: rgb(34, 38, 38);
  width: 45%;
  margin: auto;
  flex: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  margin: 10px;
}

input {
  width: 100%;
  padding: 12px 16px;
  font-size: small;
  color: var(--primary);
  border: none;
  border-radius: 2rem;
  background-color: rgb(52, 63, 62);
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: none;
}

.todoDiv {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border-radius: 2rem;
  cursor: pointer;
  transition: background-color 0.5s ease-in-out;
}

.todoDiv:hover {
  background-image: var(--gradient);
}

.todoDiv p {
  flex: 1;
}

.strikeOut {
  text-decoration: line-through;
  color: grey;
  font-style: italic;
  opacity: 0.6;
}

.todo-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  z-index: 0;
}

.fadeOut {
  opacity: 0;
  transform: translateX(30px);
}

.fa-trash {
  padding: 5px;
}

.trash {
  height: 100%;
}

.bottom {
  margin-top: auto;
}

.cal,
.pencil,
.trash,
.star,
.subplus {
  opacity: 0.1;
  transition:
    background-color 0.5s ease,
    opacity 0.5s ease,
    transform 0.5s ease;
}

.cal:hover,
.pencil:hover,
.trash:hover,
.star:hover,
.subplus:hover {
  opacity: 1;
}

footer {
  height: 20px;
  width: 100%;
  position: sticky;
  bottom: 0pt;
  left: 0pt;
  z-index: 99;
  background-image: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-stats {
  /* border: 1px solid red; */
  width: 45%;
  height: 100%;
}
