*{
    box-sizing:border-box;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: rgb(4, 4, 61);
    color: white;
    font-size: 20px;
}

h1{
    text-align: center;
}

form{
    position: absolute;
    top: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 400px;
    background-color: rgb(214, 97, 8);
    border-radius: 10px;

}

.input{
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    border: none;
    font-size: 20px;
    font-family: cursive;
}

input::placeholder{
    color: lightgray;
}

.list{
    padding: 0;
    margin: 0;
}

.list li{
   list-style-type: none;
   padding: 20px;
   width: 100%;
   font-family: cursive;
   border-top: dotted;
   border-color: darkblue;
   position: relative;
   box-sizing: border-box;
}

.list li .fa-trash{
    color: black;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.list li .fa-check-square{
    color: black;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.list li.checked{
    color: lightblue;
    text-decoration: line-through;
}

.list li.checked .fa-check-square{
    color:lightblue;
}

