body{
    overflow: hidden;
}
.task{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: fit-content;
    margin: auto;
    margin-bottom: 15px;
}
.task-span{
    padding: 3px 6px 3px 3px;
    background-color: pink;
    color: black;
    font-size: larger;
    font-weight: 500;
}
.heading{
    align-items: center;
    color: rgb(0, 0, 0);
    width: 100%;
    text-align: center;
    font-family: fangsong;
    font-weight: bolder;
    font-size: 75px;
    padding-top: 30px;
}
.allTasks ul{
    position: fixed;
    overflow-y: scroll;
    width: fit-content;
    margin-left: 260px;
    margin-top: 10px;
    height: 500px;
}

/* Style of complete button  */
.trash-btn,
.complete-btn{
    background:rgb(250, 164, 4);
    color:white;
    border:none;
    padding:1rem;
    cursor:pointer;
    font-size:1rem;
}
.complete-btn{
    background:green;
}
.complete{
    opacity: 0.5;
    text-decoration: line-through;
}

/* center all the elements with a background image  */
.contain {
    display: flex;
    flex-direction: column;
    position: absolute;
    height:100vh;
    width: 100%;

    background: url('../img/bookLoopChanged.gif') center center / cover no-repeat;
    opacity: 0.7;
}
.relativePosition{
    position: relative;
}
.flexColu{
    display: flex;
    padding: 149px 0 0 161px;
}
.flexRow{
    display: flex;
    flex-direction: row;
}
.flexRow input{
    padding: 8px;
    width: 16rem;
}

.flexRow input::placeholder{
    font-size: 22px;
    font-weight: bold;
    color: black;
    font-family: sans-serif;

}
.flexRow input:focus{
    outline: none;
}
.flexRow button{
    width: 46px;
    font-size: 22px;
}
.flexColu span{
padding: 8px 5px;

}
.filter-todos{
    width: 12rem;
    height: 40px;
    background-color: #ffffff;
    color: black;
    font-weight: bold;
    font-size: 20px;
}


/* Adding some media queries  */




@media screen and (min-width: 10px) and (max-width: 700px) {
    .flexColu{
        flex-direction: column;
        padding: 191px 0 0 36px;
    }
    .flexColu span {
        padding: 10px 0px 20px 100px;
    }
    .allTasks ul {
        margin-left: 38px;
        height: 320px;
    }
    .heading{
        padding-top: 34px;
        font-size: 52px;
    }
}
