* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-image: linear-gradient(to top, #30cfd0 0%, #c01212 100%);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .container {
    width: 85vw;
    max-width: 700px;
    min-height: 40vh;
    border-radius: 50px;
    box-shadow: 2px 2px 10px rgba(150, 43, 43, 0.8);
    background-color: lightgray;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }
  
  header {
    font-size: 2rem;
    color: black;
    text-shadow: 3px 5px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 1rem;
  }
  
  .todo-add {
    width: 90%;
    display: flex;
    margin-top: 1rem;
    font-size: 0.5rem;
  }
  #todo-input {
    width: 80%;
    margin-right: 10px;
    border-color: #fff;
    border-radius: 10px;
    outline: none;
    padding: 0.5rem;
  }
  
  #todo-button {
    width: 20%;
    padding: 0.7rem;
    background-color: #152f57;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 10px;
    border: none;
  }
  
  #todo-button:hover {
    opacity: 0.;
  }
  
  .todos {
    width: 90%;
    margin-top: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  .todos ul {
    list-style: none;
  }
  
  ul li {
    background-color: #eee;
    color: rgb(41, 41, 41);
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    transition: all 0.5s;
  }
  
  ul li:hover {
    transform: translate(3px, 2px);
  }
  
  li i {
    padding: 1rem;
    color: #ea0a0a;
    transform: scale(1.3);
    cursor: pointer;
  }
  
  li i:hover {
    color: maroon;
  }
  
  li p {
    width: 100%;
    padding: 0.4rem;
  }
  
  li.checked .fa-check {
    color: #00e676;
  }
  
  li.checked p {
    color: rgb(41, 41, 41);
    text-decoration: line-through;
    font-weight: normal;
  }
  
  @media screen and (max-width: 576px) {
    li p {
      font-size: 0.8rem;
    }
  }
  