/* These are the styles for the timer in general */
*{
    margin: 0;
    padding: 0;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    box-sizing: border-box;
}

/* These are the styles for the elements with the class container */
.container{
    background-color: blanchedalmond;
    padding: 10px;
   
}

/* These are the styles for the elements in the class todo-container */
.todo-container{
 position: absolute;
    top: 2rem;
    right: 60rem;
    border-radius: 3rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);

}

/* These are the styles for the elements with the class of todo-ap */
.todo-app{
    width: 100%;
    max-width: 540px;
    background: grey;
    margin: 100px auto 20px;
    padding: 40px 30px 70px;
    border-radius: 10px;
}

/* Style the list items */
ul li {
    cursor: pointer;
    padding: 12px 8px 12px 12px;
    transition: 0.2s;
  }
  
  /* Darker background-color on hover */
  ul li:hover {
    background: rgba(0, 0, 0, 0.05);
  }
  
  /* When clicked on, add a background color and strike out text */
  ul li.checked {
    background: rgba(0,0,0,0.3);
    color: #fff;
    text-decoration: line-through;
  }
  
  /* Add a "checked" mark when clicked on */
  ul li.checked::before {
    content: '';
    position: absolute;
    border-color: #fff;
    border-style: solid;
    border-width: 0 2px 2px 0;
    top: 10px;
    left: 16px;
    transform: rotate(45deg);
    height: 15px;
    width: 7px;
  }
  
  /* Style the close button */
  .close {
    position: absolute;
    right: 0;
    top: 0;
    padding: 12px 16px 12px 16px;
  }
  
  .close:hover {
    background-color: #f44336;
    color: white;
  }
  
  /* Style the input */
  input {
    margin: 0;
    border: none;
    border-radius: 0;
    width: 75%;
    float: left;
    font-size: 16px;
  }
  
  /* Style the "Add" button */
  .addBtn {
    padding: 4px;
    width: 20%;
    background: #d9d9d9;
    color: #555;
    float: right;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 0;
    border: none;
    outline: none;
    padding: 15px 20px;
    font-size: 1rem;
    box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.25), 
    inset 2px 2px 5px rgba(0, 0, 0, 0.5),
    inset -3px -3px 5px rgba(0, 0, 0, 0.5);
    margin: 0;
    border: none;
    border-radius: 25px;
    font-size: 16px;
  }
  
  .addBtn:hover {
    background-color: #bbb;
  }

/* These are the styles for the elements that have class item-description */
.item-description{
    padding: 5rem;
    width: 200px;
    margin-bottom: 4rem;
}

/* These are the styles for the elements with class item-completed in the checked option and the item-description class */
.item-completed:checked + .item-description{
    background: #dddddd;
    text-decoration: line-through;
}

/* These are the styles for the elements that have id add */
#add{
    padding: 8rem 14rem;
    font-weight: bold;
    color: #ffffff;
    background: #008888;
    cursor:pointer;
}

/* These are the styles for the elements with the id of inputBx */
#inputBx{
    position: absolute;
    width: 75%;
    border: none;
    outline: none;
    padding: 15px 20px;
    font-size: 1rem;
    box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.25), 
    inset 2px 2px 5px rgba(0, 0, 0, 0.5),
    inset -3px -3px 5px rgba(0, 0, 0, 0.5);
}

/* These are the styles for the list elements with the class box */
.box li{
    position: relative;
    display: flex;
    align-items: center;
    background: #008888;
    margin: 15px 0;
    padding: 10px 10px 10px 45px;
    min-height: 45px;
    cursor: pointer;
    border-radius: 22.5px;
    color: #fff;
    box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.25), 
    inset 2px 2px 5px rgba(0, 0, 0, 0.5),
    inset -3px -3px 5px rgba(0, 0, 0, 0.5); 
}

/* These are the styles for the lowercase Roman numeral list elements that have the class box */
.box li i{
    position: absolute;
    right: -40px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #8f0808;
    border-radius: 50%;
    box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.25), 
    inset 2px 2px 5px rgba(0, 0, 0, 0.5),
    inset -3px -3px 5px rgba(0, 0, 0, 0.5); 
}

/* These are the styles for the lowercase Roman numeral list elements after stage with the class box */
.box li i::after{
    content: '';
    position: absolute;
    width: 15px;
    height: 12px;
    background: #fff;
    transform: rotate(-45deg);
}

/* These are the styles for the list before elements that have the class box */
.box li::before{
    content: '';
    position: absolute;
    left: 8px;
    width: 30px;
    height: 30px;
    background: grey;
    border-radius: 50%;
}

/* This is a style for the list elements that have class done and class box */
.box li.done{
    background: #b00b0b;
}

/* These are the styles for the list elements that are in the after mode and are with class done and class box */
.box li.done::after{
    content: '';
    position: absolute;
    width: 12px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(315deg);

}

/* These are the styles for elements that have the list id */
#list {
    position: relative;
    margin-top: 20px;
    height: 350px;
    overflow-y: auto;
    padding-right: 10px;
}

/* This is a style for the scrollbar track */
::-webkit-scrollbar-track
{
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

/* This is a style for the scrollbar in general */
::-webkit-scrollbar
{
    width: 2px;
}

/* This is the style for the scrollbar thumb */
::-webkit-scrollbar-thumb
{
    background: #fff;
}