* {
    margin: 0;
    padding: 0;
}
body, input, button {
    font-family: 'Inconsolata', monospace;
}
body {
    background: rgb(231, 115, 47);
    /* padding: 80px 0 0 0; */
}

/* JS Interactive Header + Footer Props */
.topbar__left {
    float: left;
  }
  .topbar__right {
    float: right;
  }
  #footer {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
  }
  #topbar,
  #footer {
      font-family: 'Gruppo', cursive;
      height: 80px;
      background-color: rgba(36, 124, 206, 0.7) !important;
      text-align: center;
      padding: 5px;
      color: #fff;

  }
  #topbar a {
      color: #fff;
      font-size: 1.2em;
      padding: 5px;
  }
/* banner */
.heading {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
    width: 100%;
    color: #fff;;
    text-decoration: underline;
    padding-top: 10px;
}

/* app container */
#app__container {
    height: 500px;
    max-width: 600px;
    /* background-color: #333;    */
    margin: auto;
}
/* about container */
.container {
    width: 60%;
    border-radius: 25px;
    box-shadow: 0 20px 40px 0px rgba(0,0,0,0.3);
    margin-bottom: 50px;
    margin: 50px auto;
    margin-top: 50px;
    padding-top: 20px;

}
.section__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(36, 124, 206, 0.9) !important;
    color: #fff;
    font-size: 1.3em;
    padding: 10px;
}

header {
    width: 100%;
    height: 80px;
    /* position: fixed; */
    /* top: 0;
    left: 0; */
    margin: auto;
    padding: 15px;

    z-index: 5;
    background: rgba(53, 104, 214, 0.9);
    box-shadow: 0px 2px 4px rgba(44,62,80,0.15);
}
header input {
    width: 100%;
    height: 50px;
    padding: 0 60px 0 0;
    float: left;
    color: #333;
    background: #fff;
    border: 0px;
    border-radius: 25px 25px;
    text-align: center;

    font-size: 18px;
    font-weight: bolder;
    text-indent: 15px;
    box-shadow: none;
    outline: none;

    -webkit-appearance: none;
    -moz-appearance: none;
    /* -ms-progress-appearance: none;
    -o-appearance: none;
    appearance: none; */
}
/* header input:active,
header input::after {
    background-color: red;
} */
/* browser compatibility placeholder style */
header input::-webkit-input-placeholder {
    color:rgba(231, 115, 47, 0.842);
}
header input:-moz-input-placeholder {
    color:rgba(231, 115, 47, 0.842);
}
header input::-moz-input-placeholder {
    color:rgba(231, 115, 47, 0.842);
}
header input:-ms-input-placeholder {
    color: rgba(231, 115, 47, 0.842);
}
/* header input add button properties */
header button {

    width: 50px;
    height: 50px;

    float: right;
    z-index: 2;
    border-radius: 25px;
    background: #f5f5f5ff;
    color: #fff;
    border: 2px #fff solid;
    box-shadow: none;
    outline: none;
    background: rgb(231, 115, 47);
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-progress-appearance: none;
    -o-appearance: none;
    appearance: none;

    transition: all 2000;
}
header button:hover {
    background: yellowgreen;
    color: #fff;
    cursor: pointer;
}
/* font awesome icon properties
Component Icons
    [notepad = add task btn],
    [trashcan = delete task list item],
    [right tick = task list item completed */
.far,
.fas {
    font-size: 15px;
    padding: 8px;
}

/* todo task app */
.app {
    width: 100%;
    float: left;
    padding: 15px;
}
/* todo task list properties */
ul.todo {
    width: 100%;
    float: left;
}
ul.todo li {
    width: 100%;
    height: 50px;
    min-height: 50px;
    float: left;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 2px 4px rgba(44,62,80,0.10);
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 10px 0;
    position: relative;
    padding: 14px 100px 14px 14px;
}
ul.todo li:last-of-type {
    margin: 0;
}
/* todo task list buttons
Components
    [div.buttons],
    [.completeBtn],
    [.trashBtn] */

ul.todo li .buttons {
    width: 100px;
    height: 50px;
    position: absolute;
    top: 0;
    right: 0;
}
ul.todo li .buttons button {
    width: 50px;
    height: 50px;
    float: left;
    border: 0px;
    box-shadow: none;
    background: none;
    position: relative;
    outline: none;
}
ul.to li .buttons button:last-of-type::before {
    content:'';
    width: 1px;
    height: 30px;
    position: absolute;
    top: 10px;
    left: 0;

}
ul.todo#completed li .buttons .button.complete:hover {
    background: lightgreen;
}
ul.todo#completed:not(:empty) {
    padding: 60px 0 0 0;
    position: relative;
}
ul.todo#completed:not(:empty):before {
    content: '';
    width: 150px;
    height: 1px;
    background: rgba(243, 241, 240, 0.842);
    position: absolute;
    top: 30px;
    left: 50%;
    margin: 0 0 0 -75px;
}
/* icon states */
.completed {
    background: lightgreen;
    border-radius: 50%;
    color: #fff;
}
.deleted {
    background: red;
    border-radius: 50%;
    color: #fff;
}
/* task list icons hover states */
i {
    transition: all 2s ease;
}
.active  {
    color: lightgreen;
}



/* footer {
    position: fixed;
    bottom: 0;
    background: #333;
    width: 100%;
    height: 50px;
    border-radius: 10px 10px 0 0;
    margin: 0 auto;
} */

@media screen and (max-width: 900px) {
    #app__container,
    .app {
        width: 100%;

    }
    .container {
        width: 100%;
    }
    #footer {
        position: sticky;
        bottom: 0;
        right: 0;
        left: 0;
    }
      .topbar__right,
      .topbar__left {float: none;}

    #topbar {
        height: fit-content;
    }

}
