

*{
    padding: 0;
    margin: 0;
}

body{
    background-color: rgb(109, 109, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


.container{
    background-color: rgb(70, 70, 219);
    text-align: center;
    border-radius: 20px;
    padding: 20px 0px;
    overflow:scroll;
    scrollbar-width:none;
    box-shadow: 5px 5px 5px 0px;
    position: absolute;
}

.input-container{
    display: flex;
    justify-content: center;
    gap: 5px;
}

h1{
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 10px;
}



input{
    outline: none;
    padding: 10px;
}


.add{
    background-color:  rgb(38, 38, 172);
    color: white;
    border: none;
    padding: 8px;
    border: 1px solid white;
}

.updateBtn{
    background-color:  rgb(38, 38, 172);
    color: white;
    border: none;
    padding: 20px;
    display: none;
    border: 1px solid white;
}



.todo-list{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 8px;
    flex-wrap: wrap;
}


.todo-item{
    background-color:  transparent;
    border: 1px solid white;
    border-radius: 3px;
    padding: 0px 10px ;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    width: 78%;
    height: auto;
    list-style: none;
    padding: 5px;
    text-align: left;
    padding-left: 20px;

}

.btn{
    background-color: #F71735;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid white;
    border-radius: 3px;
    margin-right: 10px;
    padding: 2px;
    float:right;
    width: 12%;
}

.edit{
    background-color:#52D1DC;
}

.updateForm{
    width: 30%;
    height: auto;
    background-color: red;
    display: block;
    flex-direction: column;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
}


.updateInput{
    width: 80%;
    height: 3vh;
    margin-bottom: 10px;
    border-radius: 5px;
}







@media(max-width: 576px){
    .container{
        width: 70%;
        height: 40vh;
        transition: 0.4s;

}
input{
    width:  70%;
    height: 2vh;
    font-size: 0.9em;
}

h1{
    font-size: 2.2em;
}


.add{
    width: 9%;
    height: 6vh;
    font-size: 0.9em;
}



.btn{
    height: 3vh;
    font-size: 0.3em;
    
}
.todo-item{
    font-size: 0.6em;
    

}
}


@media(min-width: 576px){
    .container{
        width: 70%;
        height: 50vh;
        transition: 0.4s;

}
input{
    width:  70%;
    height: 3vh;
    font-size: 1.1em;
}

h1{
    font-size: 2.6em;
}


.add{
    width: 9%;
    height: 7vh;
    font-size: 1.2em;
}


.button-count{
height:3.5vh;
transition: 0.4s;

}

.btn{
    height: 3.5vh;
    font-size: 0.4em;
    
}
.todo-item{
    font-size: 0.8em;
    

}
}



@media(min-width: 768px){
    .container{
        width: 70%;
        height: 60vh;
        transition: 0.4s;
    }
input{
    width:  70%;
    height: 4vh;
    font-size: 1.3em;
}


h1{
    font-size: 2.8em;
}

.add{
    width: 8%;
    height: 7.8vh;
    font-size: 1.4em;
}
.btn{
    height: 4vh;
    font-size: 0.6em;
    
}
.todo-item{
    font-size: 1em;
    

}
}



@media(min-width: 992px){
    .container{
            width: 70%;
            height: 70vh;
            transition: 0.4s;
}
    input{
        width: 70%;
        height: 5vh;
        font-size: 1.5em;
    }

    h1{
        font-size: 3em;
    }



    .add{
        width: 8%;
        height: 8.5vh;
        font-size: 1.3em;
    }



    .btn{
        width: 12%;
        height: 4.5vh;
        font-size: 0.9em;
        
    }

    .todo-item{
        font-size: 1.2em;
    
    }
}


