* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
}

form {
  font-size: 12px;
}

.background-image {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  z-index: -1;
}

.day {
  --font-color: #585864;
  --background-color: #F4F4F6;
  --background-color-secondary: white;
  --background-color-tertiary:#E7E7E9;
}

.night {
  --font-color:#b4b4b4;
  --background-color: #161620;
  --background-color-secondary:#25273C;
  --background-color-tertiary: #5f5f72;
}

body {
  background-color: var(--background-color);
}

.container {
  width: 87%;
  max-width: 720px;
  height: 100vh;
  margin: auto;
  padding-top: 40px;
}

.header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.header__logo {
  color: white;
  font-weight: 600;
  letter-spacing: 1rem;
}
.header__switchText {
  font-size: 12px;
  position: absolute;
  color: white;
  right: 40px;
}
.header__switcher {
  cursor: pointer;
}
.header__switcher:hover {
  opacity: 0.8;
}

.todo {
  position: relative;
}
.todo__form {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--background-color-secondary);
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 16px;
  z-index: 1;
}
.todo__check {
  position: relative;
  height: 20px;
  width: 20px;
  margin-right: 13px;
  background-color: var(--background-color-secondary);
  border-radius: 50%;
}
.todo__check--done {
  background-color: transparent;
}
.todo__check--done::before {
  position: absolute;
  content: url("/img/icon-check.svg");
  content: url("https://github.com/ThomasArbeit/Todo-list/blob/master/img/icon-check.svg");
  height: 100%;
  width: 100%;
  z-index: 5;
  background: linear-gradient(135deg, #77C8FD, #9F74E7);
}
.todo__check::before {
  position: absolute;
  content: url(/img/icon-check.svg);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--background-color-tertiary);
  top: -2px;
  left: -2px;
  z-index: -1;
}
.todo__input {
  display: block;
  border: none;
  width: 90%;
  background: transparent;
  color: var(--font-color);
}
.todo__input:focus, .todo__input:active {
  outline: none;
}
.todo__list {
  background-color: var(--background-color-secondary);
  border-radius: 4px;
  overflow: hidden;
}
.todo__items {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--background-color-secondary);
  border-bottom: 1px solid var(--background-color-tertiary);
  padding: 14px;
  cursor: pointer;
  z-index: 1;
}
.todo__items:hover > .todo__check::before {
  background: linear-gradient(45deg, #77C8FD, #9F74E7);
}
.todo__items:hover > .todo__cross {
  display: block;
}
.todo__bottom {
  padding: 14px;
}
.todo__nav {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #B1B2B7;
}
.todo__cross {
  position: absolute;
  right: 14px;
  fill: #c4c4c4;
  height: 13px;
}
.todo__text {
  color: var(--font-color);
  font-size: 12px;
}
.todo__text--done {
  text-decoration: line-through;
  color: #c4c3ca;
}
.todo__clear {
  cursor: pointer;
}
.todo__clear:hover {
  font-weight: 500;
  color: black;
}

/*# sourceMappingURL=style.css.map */
