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

body{
    font-family: "Exo 2", sans-serif;
    background-image: linear-gradient(to left bottom, #aec4e6, #a4d2e5, #addcdb, #c4e3d2, #e0e8d0);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container{
    width: 90vh;
    max-width: 600px;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background-color:#F5E8DD ;
    border-radius: 25px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
}
header {
    font-size: 3rem;
    color: gray;
    text-align: center;
    padding: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.todo-add{
    width: 90%;
    display: flex;
    margin-top: 1rem;
    font-size: 1rem;
}
#todo-input {
    width: 80%;
    margin-right: 10px;
    border-color: #e0e8d0;
    border-radius: 5px;
    outline: none;
    padding: 0.5rem;
    transition: all 0.3s ease-in-out;
}
#todo-input:focus {
border: 2px solid lightblue;
}

#todo-button {
    width: 20%;
    padding: 0.7rem;
    background-color: rgb(139, 138, 138);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
#todo-button:hover {
    background-color: rgb(0, 0, 0);
}

.todos {
    width: 90%;
    margin-top: 2rem;
    overflow-y: auto;
    overflow-x: hidden;

}
.todos ul {
    list-style: none;
}
ul li {
    background-color: white;
    color: rgb(139, 138, 138);
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    padding: 1rem;
    border: 5px solid ;
    border-radius: 5px;
    box-shadow: 2px 2px 6px rgb(0, 0, 0,0.5);
    transition: transform 0.3s ease-in;
}
ul li:hover {
    transform: translateY(-5px);
}
ul li:nth-child(even){
    background-color: rgba(227, 226, 220, 0.959);
}

li p {
    flex-grow: 1;
}
li i {
font-size: 1.5rem;
margin-right: 10px;
cursor: pointer;
transition: transform 0.3s ease;
}
 li i:hover {
    transform: scale(1.2);
 }
li.done {
    
    background: #cceabb !important;
}
li.done p{
    text-decoration: line-through;
    
}



 @media screen and (max-width: 576px){
    header {
        font-size: 2rem;
    }
    
 }
