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

body {
    min-height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

/* MAIN CONTAINER */

.container {
    padding: 15px;
    width: 100%;
    max-width: 540px;
    border: 4px solid;
    border-radius: 17px;
    backdrop-filter: blur(4px);
    text-align: center;
    color: antiquewhite;

    display: grid;
    gap: 15px;
}

/* INPUT SECTION */

.inputBox{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* INPUT */

#input {
    padding: 8px;
    height: 40px;
    width: 100%;
    max-width: 300px;
    border-radius: 17px;
    color: antiquewhite;
    background: #000;
    box-shadow: -2px 2px;
    border: none;
}

#input:focus{
    border: 1px solid antiquewhite;
    outline: none;
}

/* BUTTONS */

#addBtn, 
#rset {
    padding: 6px;
    height: 40px;
    width: 180px;
    border-radius: 17px;
    background: #000;
    color: antiquewhite;
    box-shadow: 2px 2px, inset 1px 1px 5px;
    cursor: pointer;
    border: 1px solid antiquewhite;
}

#addBtn:active, 
#rset:active{
    background: #676354;
}

/* LIST BOX */

.container .listBox {
    padding: 20px;
    width: 100%;
    max-height: 350px;
    border: 4px solid;
    border-radius: 17px;
    backdrop-filter: blur(10px);
    display: grid;
    text-align: start;
    overflow-y: auto;
    font-size: x-large;
}

/* LIST */

.listBox ul {
    list-style: none;
}

li{
    margin-bottom: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* CHECKED TASK */

input:checked + label {
    text-decoration: line-through;
}

/* DELETE BUTTON */

li button{
    height: 35px;
    padding: 6px 10px;
    border: none;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.139);
    backdrop-filter: blur(14px);
    box-shadow: 2px 2px 17px, inset 2px 2px 17px;
    color: antiquewhite;
    cursor: pointer;
}

/* MOBILE */

@media (max-width: 600px){

    #input{
        max-width: 100%;
    }

    #addBtn,
    #rset{
        width: 100%;
    }

    .listBox{
        font-size: 1rem;
    }

}