*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}/* this code removes all the basic styling that is applied by the browser */

body{
    background-image: linear-gradient(120deg, #f6d365, #fda085 );
    color: white;
    font-family: "Poppins", sans-serif;
    min-height: 100vh; /*height: 100vh; means the height of this element is equal to 100% of the viewport height*/
    /*The viewport is the user's visible area of a web page.*/


}

header {
    font-size: 1.3rem;
}

header,form {
    min-height: 16vh;
    display: flex;
    justify-content: center;
    align-items: center;

}

form input,form button {

    padding: 0.3rem;
    font-size: 1.4rem;
    border: none;
    background: white;

 }

form button{
    color: turquoise;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;/*CSS transitions allows you to change property values smoothly, over a given duration.*/


}
form button:hover{
    background: turquoise;
    color: white;
}


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

}

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

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

}

.todo li {
    flex: 1;


}
.trash-btn,
.complete-btn {
  background: #ff6f47;
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1rem;
}
.complete-btn{
    background: #f6d365;
}

.todo-item {
    padding: 0rem 0.5rem;

}

.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;
}

select{
    color: #ff6f47;
    width: 9rem;
    height: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

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

.select:hover::after{
    background: white;
    color: #ff6f47;
}
