* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    background-image: linear-gradient(60deg,#243b55, #141e30);
    min-height: 100vh;
}

header{
    font-size: 1.6rem; /*root em*/
    color: whitesmoke;
    
}
header, form {
    min-height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
form input {
    padding: 0.5rem;
    font-size: 2rem;
    border-radius: 5px;
    background: whitesmoke;
}
form button{
    padding: 0.5rem;
    margin-left: 5px;
    font-size: 2rem;
    border-radius: 5px;
    background: whitesmoke;
    cursor: pointer;
    color: black;
    transition: all 0.3s ease;
}
form button:hover{
    background: transparent;
    color: whitesmoke;
}

.todo-container {
    display: flex;
    justify-content: center; /*shift to center*/
    align-items: center;

}
.todo-list {
    min-width: 30%;
    list-style: none;
}
.todo {
    margin: 0.5rem;
    background-color: whitesmoke;
    border-radius: 5px;
    color: black;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.6s ease;
}
.todo li{
    flex: 1;
}
.todo-item {
    padding: 0rem 0.5rem;
}

.trash-btn, .complete-btn {
    background: transparent;
    color: black;
    border-radius: 5px;
    padding: 1rem;
    font-size: 1rem;
    cursor: pointer;
}
.complete-btn{
    background: rgb(4, 61, 4);
}
.trash-btn{
    background: #243b55;
}
.fa-trash, .fa-check{
    pointer-events: none;
}

.completed {
    text-decoration: line-through;
    opacity: 0.5;
}

.fall{
    transform: translateY(8rem) rotateZ(45deg);
    opacity: 0;
}

select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
    border-radius: 5px;
}
.select{
    margin: 1rem;
    position: relative;
    overflow: hidden;
}
select{
    width: 12rem;
    cursor: pointer;
    color: black;
    padding: 1rem;
    font-size: 1.1rem;
    text-align: left;
}
.select::after{
    content: "\25BC";
    position: absolute;
    background: #243b55;
    top: 0;
    right: 0;
    padding: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    /*border-radius: 5px;*/
    
}
.select:hover::after{
    background:whitesmoke;
    color: black;
}
