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

body{
    background-image: linear-gradient(120deg, #87cefa, #000080);
    color: white;
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
}

header, form{
    font-size: 1.5rem;
    min-height: 20vh;
    margin: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

form input, form  button{
    padding: .5rem;
    font-size: 2rem;
    border: none;
    background: white;
}


form button{
    cursor: pointer;
    color: #87cefa;
    background: white;
    transition: all .3s ease;
    font-size: 2rem;
}

form button:hover{
    background: #87cefa;
    color: white;
}

.todo-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.todo-list{
    min-width: 30%;
    list-style: none;
}

.todo{
    display: flex;
    justify-content: space-between;
    margin: .5rem;
    background: white;
    color: black;
    font-size: 1.5rem;
    align-items: center;
    transition: all .5s ease;
}

.todo li{
    flex: 1;
}

.complete-btn, .trash-btn{
    cursor: pointer;
    background: rgb(5, 167, 5);
    color: white;
    padding: 1rem;
    border: none;
    font-size: 1rem;
}

.trash-btn{
    background: #f90303;
}

.todo-item{
    padding: 0 .5rem;
}

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

.completed{
    text-decoration: line-through;
    opacity: .5;
}

.fall{
    transform: translateY(8rem) rotateZ(20deg);
    opacity: 0;
}

select{
    appearance: none;
    outline: none;
    border: none;
    color: blue;
    width: 10rem;
    cursor: pointer;
    padding: 1rem;
}

.select{
    margin: 1rem;
    position: relative;
    overflow: hidden;
}

.select::after{
    content: "\25BC";
    position: absolute;
    background: #87cefa;
    top: 0;
    right: 0;
    padding: .5rem;
    pointer-events: none;
    transition: all .3s ease;
}

.select:hover::after{
    background: white;
    color: #87cefa;

}