body {
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  background-color: #091921;
  background-image: url("../img/background.png");
  font-family: "Titillium Web", sans-serif;
}
.main {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.right {
  width: 50%;
  position: absolute;
  top: 5%;
  right: 5%;
}
.left {
  width: 50%;
  position: absolute;
  top: 50%;
  left: 5%;
}
/* ------------ container ------------ */
.container {
  display: flex;
  flex-direction: column;
  position: relative;
  top: 5%;
  right: 0;
  padding: 10px;
  width: 50%;
  margin: 0 auto;
}
/* ------------ header ------------ */
.header {
  width: 380px;
  height: 200px;
  background-image: url("../img/backdrop.jpg");
  background-size: 100% 200%;
  background-repeat: no-repeat;
  border-radius: 15px 15px 0 0;
  position: relative;
}
.clear {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 20px;
  top: 20px;
}
.clear i {
  font-size: 30px;
  color: #fff;
}
.clear i:hover {
  cursor: pointer;
  text-shadow: 1px 3px 5px #000;
  transition: 0.5s ease-in;
  animation: refresh 3s linear infinite;
}
#date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-size: 25px;
  font-family: "Titillium Web", sans-serif;
}

/* ------------ content ------------ */
.content {
  width: 380px;
  height: 350px;
  max-height: 350px;
  background-color: #fff;
  overflow: auto;
  border-radius: 0 0 15px 15px;
}
.content::-webkit-scrollbar {
  display: none;
}
.content ul {
  padding: 0;
  margin: 0;
}
.item {
  width: 380px;
  height: 45px;
  min-height: 45px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
}
.item i.co {
  position: absolute;
  font-size: 25px;
  padding-left: 5px;
  left: 15px;
  top: 10px;
}
.item i.co:hover {
  cursor: pointer;
}
.fa-check-circle {
  color: #6eb200;
}
.item p.text {
  position: absolute;
  padding: 0;
  margin: 0;
  font-size: 20px;
  left: 50px;
  top: 5px;
  background-color: #fff;
  max-width: 285px;
}
.lineThrough {
  text-decoration: line-through;
  color: #ccc;
}
.item i.de {
  position: absolute;
  font-size: 25px;
  right: 15px;
  top: 10px;
}
.item i.de:hover {
  color: #af0000;
  cursor: pointer;
}
/* ------------ add item ------------ */
.add-to-do {
  position: absolute;
  bottom: 10px;
  width: 360px;
  height: 40px;
  background-color: #fff;
  padding: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0 0 15px 15px;
}
.add-to-do i {
  position: absolute;
  font-size: 40px;
  color: #091921;
}

.add-to-do input {
  position: absolute;
  left: 50px;
  height: 35px;
  width: 310px;
  background-color: transparent;
  border: none;
  font-size: 20px;
  padding-left: 10px;
}
#addButton {
  padding-right: 5px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.add-to-do input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #091921;
  font-family: "Titillium Web", sans-serif;
  font-size: 20px;
}
.add-to-do input::-moz-placeholder {
  /* Firefox 19+ */
  color: #091921;
  font-family: "Titillium Web", sans-serif;
  font-size: 20px;
}
.add-to-do input:-ms-input-placeholder {
  /* IE 10+ */
  color: #091921;
  font-family: "Titillium Web", sans-serif;
  font-size: 20px;
}
.add-to-do input:-moz-placeholder {
  /* Firefox 18- */
  color: #091921;
  font-family: "Titillium Web", sans-serif;
  font-size: 20px;
}

@keyframes refresh {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*Talk button*/

.talk {
  margin-top: -70px;
  width: 12rem;
  height: 12rem;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
  color: #6f6f6f;
  font-size: 5rem;
  border: none;
  border-radius: 50%;
  outline: none;
  box-shadow: -1px -1px 3px rgba(255, 255, 255, 0.1),
    2px 2px 10px rgba(0, 0, 0, 0.8);
}

.talk:hover {
  color: #00ff00;
  box-shadow: -1px -1px 3px rgba(255, 255, 255, 0.1),
    2px 2px 10px rgba(0, 0, 0, 0.8),
    inset -2px -2px 10px rgba(255, 255, 255, 0.05),
    inset 2px 2px 10px rgba(0, 0, 0, 0.5);
}
