body{
    display: flex;
    /* align-items: center; */
    flex-direction: column;
    align-items: center;
}

header{
    padding: 0.16rem;
    border-bottom: 1px solid rgb(223, 223, 223);
}

main{
    max-width: 480px;
    display: flex;
    flex-direction: column;
    min-height: 70dvh;
    margin-top: 0.6325rem;
    /* align-self: center;
    background-color: red; */
    flex-grow: 1;
}

.container{
    margin-bottom: 0.6125rem;
}

ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

li{
    /* display: flex; */
    width: 100%;
    /* justify-content: start; */
    align-items: start;
    border-bottom: 1px solid rgb(214, 214, 214);
    background-color: white;
    box-shadow: 0 0 3px rgba(153, 153, 153, 0.7);
}

li div{
    flex-grow: 1;
    margin-right: auto;
    padding: 0.325rem;
    margin: 1.25rem 0;
    /* min-width: 80%; */
}

li div:first-child{
    padding: 1.25rem;
}

li.task button{
    margin: 0.325rem;
    background:none;
    border:none;
    cursor: pointer;
}

li.task button:hover{
    background: rgb(214, 214, 214);
}

.dialog-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.dialog-header h4, .dialog-header .container{
    margin: 0;
    padding: 0 !important;
}

.task-form{
    display: flex;
    flex-direction: column;
}

.task-form input{
    display: block;
    padding: 0.325rem;
    margin: 0.325rem 0;
}

.task-form button{
    padding: 0.325rem;
}