@import url('https://fonts.googleapis.com/css2?family=Philosopher&display=swap');

* {
    font-family: 'Philosopher', sans-serif;
}

html{
    margin: 0 auto;
    height: 100%;
}

body{
    background: linear-gradient(#086E7D, white);
    font-family: 'Philosopher', sans-serif;
    display: flex;
    flex-flow: column;
    height: 100%;
}


@media only screen and (min-width: 450px) {
    * {
        max-width: 450px;
    }
 
    .tasks-container{
    border-top-right-radius: 40px;
   }

   .footer{
    position: relative;
    margin: 0 auto;
   }
  }

.header-container{
    padding: 16px;
    margin-top: 5%;
    color: white;
}

.header{
    display: flex;
    font-size: 1.8rem;
    display: flex;
    flex-direction: column;
}

.tasks-remaining{
    margin-top: 4px;
    font-size: 1rem;
}

.todo-input{
    display: flex;
    margin-top: 1.5rem;
    width: 100%;
}

.todo-input input{
    width: 100%;
    font-size: 1.2rem;
    background-color: transparent;
    padding: 8px;
    border: none;
    border-radius: 2px;
    color: white;
    border-bottom: solid 2px white;
}

.todo-input input::placeholder{
    color: white;
    opacity: 0.5;
}

input:active,
input:focus{
    outline: none;
}

.tasks-container{
    border-top-left-radius: 40px;
    background-color: white;
    padding: 0;
    margin-top: 5%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 24px;
}

  .hidden {
    display: none;
  }
  
  .no-tasks{
    display: flex;
    flex-direction: column;
    color: rgb(39, 39, 39);
    opacity: 0.8;
    justify-content: center;
    align-items: center;
    margin-top: 20%;
  }

  .no-tasks img{
    width: 80px;
  }
  
  .taskDone{
    font-style: italic;
    color: #585858;
    text-decoration: line-through;
  }

  .footer{
    display: flex;
    justify-content: center;
    background-color: white;
    color: #086E7D;
    padding-bottom: 8px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .footer p:hover{
    text-decoration: underline; 
    cursor: pointer;
  }

  .no-tasks-today{
    width: 100%;

  }

  .no-tasks-today img{
    width: 100%;
  }

  .tasks-container p{
    text-align: center;
    margin-top: 2px;
    font-size: 1.2rem;
  }


  ul li {
    cursor: pointer;
    position: relative;
    padding: 12px 8px 12px 40px;
    background: #eee;
    font-size: 18px;
    transition: 0.2s;
    margin-top: 8px;
    border-radius: 10px;
    box-shadow: 0 4px 2px -2px rgb(182, 182, 182);  

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  
  ul li:nth-child(odd) {
    background: #f9f9f9;
  }
  

  ul li:hover {
    background: #ddd;
  }
  

  ul li.checked {
    background: #888;
    color: #fff;
    text-decoration: line-through;
    font-style: italic;
  }
  
 
  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;
    
  }
  
  .todo-list{
    display: flex;
    flex-direction: column;
  }
