html {
    box-sizing: border-box;
    
}

*,
*::after,
*::before {
    box-sizing: inherit;
}
/* body {
    background: rgb(123,169,172);
    background: linear-gradient(90deg, rgba(123,169,172,1) 0%, rgba(0,142,170,1) 100%, rgba(2,0,36,1) 100%);
}

#container{
    background-color: aliceblue;
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-radius: 15px;
    padding-left: 50px;
    padding-right: 50px ;
    
} */
div {
    display: block;
    unicode-bidi: isolate;
}

.container {
    width: 60%;
}

.header-text {
    margin-top: 3rem;
}

.input-section {
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.todo-input {
    margin: 0;
    flex-basis: 60%;
}

.todo-data {
    justify-content: center;
}

.task-list-heading {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2rem;
}

.todo-no {
    flex-basis: 3%;
}

.todo-detail {
    flex-basis: 55%;
    max-width: 600px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.todo-status {
    flex-basis: 15%;
}

.todo-actions {
    padding: 5px;
    flex-basis: 15%;
}

.todo-action {

    flex-basis: 15%;
}

.btn {
    width: 6rem;
}

#delete-all {
    width: 7rem;
}

/* Media query for mobile view */
@media (max-width: 768px) {
    .container {
        width: 90%;
        /* Reduce container width */
    }

    .header-text {
        margin-top: 2rem;
        /* Reduce top margin */
    }

    .todo-input {
        margin: 0;
        flex-basis: 90%;
    }

    .input-section {
        gap: 1rem;
        /* Reduce gap between elements */
        align-items: center;
        margin-top: 3rem;
        display: flex;
        flex-wrap: wrap;
    }

    .task-list-heading {
        font-size: 1.2rem;
        /* Reduce font size */
    }

    .todo-no {
        flex-basis: 10%;
        /* Adjust width for smaller screens */
    }

    .todo-detail {
        flex-basis: 55%;
        /* Adjust width for smaller screens */
        max-width: 30%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        align-items: center;
    }

    .todo-status {
        flex-basis: 30%;
        /* Adjust width for smaller screens */
    }

    .todo-actions,
    .todo-action {
        flex-basis: 15%;
        /* Adjust width for smaller screens */
    }

    .btn {
        font-size: 10px;
        width: 4rem;
        /* Reduce button width */
    }

    #delete-all {
        width: 5rem;
    }

    input[type="checkbox"] {
        margin-right: 0;
        /* Remove right margin */
    }
}