* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-wrap: break-word;
}

body {
    background-image: url("https://images.unsplash.com/photo-1567705977123-1106f04f479e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1335&q=80");
    background-size: cover;
    color: black;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    min-height: 100vh;
    max-width: 390px;
    align-items: center;
    justify-items: center;
    margin: auto;
    border: 1px;
    border-color: black;
}

.box {
    border: 1px solid rgba(247, 0, 82, 0.384);
    position: relative;
    background: #fc6c6c5c;
    border-radius: 10px;
    max-width: 380px;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    margin-top:20px;
}

header {
    font-size: 1.5rem;
}

header,
form {
    min-height: 10vh;
    display:flexbox;
    justify-content: center;
    align-items: center;
    border: 1px;
    border-color: black;
    max-width: 380px;
}

form input, 
form button {
    padding: 0.25rem;
    font-weight:lighter;
    font-size: 1.75rem;
    border:1px;
    border-color: black;
    border-radius: 5px;
    background:rgb(248, 248, 248);
    max-width: 85%;
    width:fit-content;
}

form button{
    color:rgb(197, 249, 171);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

form button:hover{
    background:rgb(101, 227, 135);
    color: black;
}

.todo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    place-items:inherit;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px;
    border-color: black;
    padding-top: 20px;
    margin-bottom: 50px;
}

.todo-list{
    min-width: 30%;
    list-style: decimal;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px;
    border-color: black;
    font-weight: 400;
}

.todo{
    margin: 0.5rem;
    background: rgb(255, 255, 255);
    color: black;
    font-size: 1.25rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    column-gap: 10px;
    border-radius: 5px;
    transition: all 0.5 ease;
    padding-left: 30px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.todo li {
    flex: 1;
    border: 1px;
    border-color: black;

}

.trash-btn, 
.complete-btn{
    background: rgba(255, 24, 24, 0.541);
    color: white;
    border: none;
    padding: 1rem;
    cursor:pointer;
    font-size: 1rem;
    border-radius: 5px;
    margin-right: 5px;

}

.complete-btn{
    background: rgb(101, 227, 135);
    border-radius: 5px;
}

.fa-trash, .fa-check{
    pointer-events: none;
}

.completed {
    text-decoration: line-through;
    text-transform: uppercase;
    opacity: 0.5;
}

.completed::after{
    content: "🙌";
    text-decoration: none;
}

.fall{
    transform: translateY(5rem) translateX(-5rem)  rotateZ(90deg);
    opacity: 0;
}