@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300&family=Roboto:wght@100;300;500&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}
body {
  background: #f5f5f5;
  display: flex;
  justify-content: baseline;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
}
.title {
  font-size: 50px;
  font-weight: 100;
  color: rgb(39, 70, 133);
  letter-spacing: 1px;
  margin: 50px 0;
}
.todo-list {
  width: 500px;
  padding: 1rem 4rem 2rem 4rem;
  box-shadow: 0 10px 40px rgb(155, 78, 227);
  border-radius: 10px;
  background-color: #ffff;
}
.list-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.modal {
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.modal>div {
  margin-top: 25vh;
  margin-left: 25vw;
  width: 50%;
  height: 20vh;
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 1rem;
}

.input-and-save-div {
    width: 100%;
    display: flex;
    gap: 0.5rem;
}

.entered-list {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 70%;
}

.timer-btn {
  width: 10%;
  background-color: rgb(155, 78, 227);
  color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

.save-btn {
    width: 20%;
    padding: 10px;
    background-color: rgb(155, 78, 227);
    color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
    cursor: pointer;
    min-height: 3em;
}

.description-input {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 95.5%;
  margin-top: 0.3rem;
}

.hidden { display: none;}

.tasks {
  width: 100%;
  margin-top: 30px;
}

.item {
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgb(214, 203, 225);
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.item p {
  font-size: 16px;
  font-weight: 400;
  color: #111;
  letter-spacing: 1px;
}

.item.complete p {
  text-decoration: line-through;
  color: #111;
}
.item-btn {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.item-btn i {
  color: rgb(155, 78, 227);
  font-size: 18px;
  cursor: pointer;
}

.flex-tasks {
  display: flex;
  flex-direction: column;
}

.jc {
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
  font-size: 1.5rem;
}

#mins {
  width: 4rem;
  height: 3rem;
  font-size: 1.5rem;
}

.modal-btn {
  width: 8rem;
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 5px;
  background-color: rgb(155, 78, 227);
  color: white;
}

#upcoming-tasks>td {
    display: flex;
    background-color: rgb(155, 78, 227);
    width: 95%;
    height: auto;
    margin-top: 0.7rem;
    font-size: 1.3rem;
    font-weight: 300;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgb(214, 203, 225);
    border-radius: 5px;
    padding: 0.7rem;
    line-break: anywhere;
}

.z {
  width: 86%;
}

.z1 {
  width: 93%;
}

.a {
    background-color: rgb(155, 78, 227);
}

table {
    width: 100%;
}

.trash-icon {
    width: 7%;
    color: white;
    margin-left: 0.5rem;
}

.trash-icon:hover {
    color: #ffcccc;
    cursor: pointer;
}

.task-text-span {
    width: 86%;
    color: white;
}

.complete-icon {
    padding-left: 0.5rem;
    width: 7%;
    color: white;
}

.complete-icon:hover {
    color: aquamarine;
    cursor: pointer;
}

.complete-icon-div2 {
    padding-left: 0.5rem;
    width: 7%;
    color: white;
}

.greyed {
    color: #cccccc;
}

.sub-heading {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.zero {
    background-color: white;
    font-weight: 300;
    font-size: 0.8rem;
}

.striked {
  padding-left: 2.5rem;
  text-decoration: line-through;
}

.font-1rem {
  font-size: 1rem;
}

.f {
  margin-right: 1rem;
}

.time-span {
  color: white;
}