* {
    padding: 0;
    margin: 0;
    outline: none;
    border: none;
    font-family: 'Lato', sans-serif;
  }
  html {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    font-size: 62.5%;
  }
  
  @media only screen and (max-width: 66em) {
    html {
      font-size: 50.5%;
    }
  }
  
  body {
    min-height: 100vh;
    background: #1d1165;
    color: white;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 1px;
  }

  .todoapp{
    width: 45rem;
    margin: 4rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  header h1{
    font-size: 6rem;
    color: #3ae374;
  }

  header h3{
    font-size: 2.4rem;
    font-weight: normal;
  }

  header i{
    color:  #fa8231;
  }

  .input-section{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 3rem 0.4rem;
    padding: 0.5rem;
  }

  .toggleall{
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
    background-color: #3ae374;
    border-radius: 0.1rem;
    transition: all .2s ease-in-out;
  }

  .toggleall:hover{
    transform: scale(1.1);
  }

  .toggleall:active{
    background-color:#7bed9f;
  }

  .todoForm{
    flex-grow: 1;
    height: 3.5rem;
    box-sizing: border-box;
  }

  .todoForm #todoInput{
    width: 100%;
    height: 100%;
    border: 1px solid #3ae374;
    border-radius: 0.3rem;
    font-size: 1.8rem;
  }

  #todoInput::placeholder{
    padding: 2px 5px;
  }

  .todolist{
    list-style: none;
    width: 100%;
  }

  .todolist li{
    background-image: linear-gradient(to right, rgba(255,255,255,0.3), rgba(255,255,255,0.3));
    padding: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .todo-check{
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
  }

  .todo-check::after{
    content: '';
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    background-color:  #3ae374;
    border-radius: 0.1rem;
    -webkit-transition: all .1s;
    transition: all .1s;
  }

  .todo-check:checked::after{
    content: '✔️';
    font-size: 1.8rem;
  }

  .todo-text{
    font-size: 2rem;
    flex-grow: 1;
    margin-right: 1rem;
    overflow: hidden;
  }

  .todo-text-editing{
    border-bottom: 2px solid #fa8231;
  }

  .editbtn, .delbtn{
      background-color: #fa8231;
      font-size: 2rem;
      height: 2.5rem;
      padding: 0 0.8rem;
      border-radius: 2px;
  }
  .delbtn i{
    cursor: pointer;
  }

  .editbtn{
    margin-right: 0.8rem;
    font-size: 1.5rem;
    color:white;
    cursor: pointer;
  }

  footer {
    position: fixed;
    padding-bottom: 1.5rem;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
  }

  a{
    text-decoration: none;
    color: #3ae374;
    border-bottom: 1px solid #fa8231;
    transition: all 0.2s;
  }

  a:hover, a:active{
    font-size: 1.5rem;
  }

  