@import url("https://fonts.googleapis.com/css2?family=New+Tegomin&display=swap");

body {
  margin: 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.1);
  font-family: "Titillium Web", sans-serif;
}

.container {
  padding: 5px;
  max-width: 360px;
  margin: 0 auto;
  height: 95vh;
}

.header {
  width: 100%;
  height: 180px;
  background-image: url("../img/bg.jpg");
  /* background-size: 100% 200%; */
  background-repeat: no-repeat;
  border-radius: 10px 10px 0 0;
  position: relative;
  transition: 1s;
}

.clear {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 8px;
  top: 15px;
}

.clear i {
  font-size: 1.5rem;
  color: #fff;
}

.clear i:hover {
  cursor: pointer;
  text-shadow: 1px 3px 5px #000;
  transform: rotate(45deg);
}

#date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #ffcc4d;
  font-size: 25px;
  text-shadow: 1px 3px 5px darkorange;
  font-family: "Titillium Web", sans-serif;
}

.content {
  width: 100%;
  height: 65%;
  max-height: 385px;
  overflow: auto;
  background-color: #fff;
  scroll-behavior: smooth;
}

.content::-webkit-scrollbar {
  display: none;
}

.content ul {
  padding: 0;
  margin: 0;
}

.item {
  width: 96%;
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 2px 7px 2px 7px;
}

.item i.co {
  display: flex;
  align-self: center;
  font-size: 25px;
}

.item i.co:hover {
  cursor: pointer;
}

.fa-check-circle {
  color: #6eb200;
}

.item p.text {
  width: 75vw;
  /* text-align: center; */
  margin: 0;
  line-height: 1.2rem;
  font-size: 18px;
  /* border: 1px solid red; */
  display: flex;
  align-items: center;
  font-family: "New Tegomin", serif;
}

.lineThrough {
  text-decoration: line-through;
  color: #ccc;
}

.item i.de {
  font-size: 25px;
  display: flex;
  align-self: center;
}

.item i.de:hover {
  color: #af0000;
  cursor: pointer;
}

.add-to-do {
  background-color: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  /* border: 1px solid red; */
  height: 40px;
  padding: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.add-to-do i {
  font-size: 30px;
  color: #f4900c;
}

.add-to-do input {
  background-color: transparent;
  height: 30px;
  width: 85%;
  border: none;
  font-size: 18px;
}

.add-to-do input::-webkit-input-placeholder {
  color: #4162f6;
  font-family: "Titillium Web", sans-serif;
  font-size: 18px;
  display: flex;
}

@media screen and (min-width: 370px) {
  .content {
    max-height: 70vh;
    height: 68%;
  }
}
