*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #ededed;
    /*background-image: linear-gradient(to bottom right, #ccad89, #f3e7d9);*/
    color: #000000;
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
}

header{
    font-size : 1rem;
}

header h1{
    font-weight: 300;
    letter-spacing: 2px;
    border-bottom: 2px solid #6998ce;
}

header,
form{
    min-height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

form input{
    width : 22%;
    border-radius: 1rem 0 0 1rem;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
}

form input,
form button{
    padding: 0.8rem;
    font-size: 0.9rem;
    border: none;
    background: white;
    font-family: "Poppins", sans-serif;
}

form input:focus-visible{
    outline: none;
}

form 
button{
    color: #6998ce;
    background: white;
    cursor: pointer;
    transition : all 0.3s ease;
    border-radius: 0 1rem 1rem 0;
    box-shadow: 4px 6px 8px rgba(0, 0, 0, 0.1);
}

form button:hover{
    background: #6998ce;
    color : white;
}


.todo-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.todo-list{
    min-width: 25%;
    list-style: none;
}

.todo{
    margin: 0.5rem;
    background : white;
    color : black;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition : all 0.3s ease;
    border-radius: 1rem;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
}

.todo 
li{
    flex : 1;
}

.trash-btn, 
.complete-btn{
    background : #6998ce;
    color : white;
    border : none;
    padding : 0.7rem;
    cursor: pointer;
    font-size: 1rem;
    transition : all 0.3s ease;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
}

.trash-btn{
    border-radius: 0 1rem 1rem 0;
    padding-right: 0.75rem;
}

.trash-btn:hover{
    background: #5f8cbf;
}

.complete-btn:hover{
    background: #5b945b;
}

.complete-btn{
    background : rgb(117, 182, 117);
}

.todo-item{
    padding : 0rem 1rem;
}

.fa-trash, 
.fa-check{
    pointer-events: none;
}

.completed{
    text-decoration: line-through;
    opacity: 0.5;
}

.fall{
    transform: translateY(8rem) rotateZ(20deg);
    opacity: 0;
}

select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
}

.select{
    margin: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 6px 4px rgba(0, 0, 0, 0.1);
}

select{
    color: #6998ce;
    width : 10rem;
    cursor: pointer;
    padding: 1rem;
}

.select::after{
    content: "\25BC";
    position: absolute;
    background: #6998ce;
    color: #ffffff;
    top: 0;
    right: 0;
    padding: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateY(-3px);
}

.select:hover::after{
    background: white;
    color: #6998ce;
}