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

}

.input-container{
    margin: auto;
    display: flex;
    width: 95%;
    align-items: center;
    align-content: stretch;
    flex-wrap: nowrap;
    justify-content: center;
}

.input{
    display: flex;
}

body{

    background-color:rgb(36, 32, 32);
    font-family: "Poppins",sans-serif;
    min-height: 100vh;
  
}

header{
    font-size: 3rem;
    opacity: 2;
    margin-top: 7%;
    color:whitesmoke;
    
   
}

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

}
form button,form input{
    width: 100%;
    padding: 0.5rem;
    font-size: 2rem;
    border: none;
    background-color: azure;
}
form button{
    width: 20%;
    color: #fda085;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

form button:hover{
    background: #d63508;
    color: whitesmoke;
}

.todo-container{
    display: flex;
    justify-content: center;
    align-items: center;
}
.todo-list{
    min-width: 50%;
    list-style: none;
}
.todo{
    margin: 0.5rem;
    justify-content: space-between;
    background: white;
    color: black;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.5s ease;
}
.todo li{
    flex: 1;
}
.trash-btn,
.complete-btn{
    background: #d63508;
    color: aliceblue;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1rem;
}
.complete-btn{
    background: rgb(29, 131, 29);
}
.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: #d63508;
    width: 10rem;
    cursor: pointer;
    padding: 1rem;
    display: flexbox;
}
.select::after{
    content: "\25BC";
    position: absolute;
    background:#d63508;
    top: 0;
    right: 0;
    padding: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}
.select:hover::after{
    background: white;
    color: #cc4019;
}


@media only screen and (max-width:800px){
    .input-container{
        padding: 1.2rem;
        display: flex;
        flex-direction: column;
        width:100%;
    }
    select{
        color: #d63508;
        width: 28.2rem;
        cursor: pointer;
        padding: 1rem;
        display: flexbox;
    }
    .todo-list{
    min-width: 28.2rem;
    list-style: none;
}
}


@media only screen and (max-width:500px){
   
    select{
        color: #d63508;
        width: 12.2rem;
        cursor: pointer;
        padding: 1rem;
        display: flexbox;
    }
    .todo-list{
        min-width: 100%;
        list-style: none;
    }
}