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

body{
    font-family:Arial, sans-serif;
    background:black;
    color:rgb(217, 240, 126);
}

/* MAIN CONTAINER */

.container{
    width:100%;
    min-height:100vh;

    padding:20px 30px;
}

/* TITLE */

h1{
    font-size:28px;
    margin-bottom:15px;

    color:rgb(241, 63, 119);
}

/* LINE */

hr{
    border:none;
    border-top:1px solid #e46969;

    margin-bottom:25px;
}

/* INPUT + BUTTON SECTION */

.task-box{
    display:flex;
    justify-content:center;
    align-items:center;

    gap:20px;

    margin-bottom:20px;
}

/* INPUT */

input{
    width:300px;

    padding:12px;

    background:#111;
    color:white;

    border:1px solid rgb(241, 63, 119);
    border-radius:5px;

    font-size:16px;
}

input::placeholder{
    color:#aaa;
}

input:focus{
    outline:none;
}

/* BUTTON */

button{
    padding:12px 18px;

    background:rgb(241, 63, 119);
    color:white;

    border:none;
    border-radius:5px;

    cursor:pointer;

    font-size:15px;

    transition:0.3s;
}

button:hover{
    opacity:0.9;
}

/* TASK LIST */

ul{
    list-style:none;
}

/* TASK ITEM */

li{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 10px;

    border-bottom:1px solid #333;

    font-size:16px;

    color:white;

    word-break:break-word;
}

/* EDIT + DELETE BUTTONS */

.edit-btn,
.delete-btn{
    background:transparent;
    border:none;

    color:white;

    font-size:20px;

    cursor:pointer;

    padding:0 5px;
}

/* MOBILE VIEW */

@media(max-width:600px){

    .container{
        padding:20px 15px;
    }

    h1{
        font-size:24px;
        text-align:center;
    }

    .task-box{
        flex-direction:column;
        gap:15px;
    }

    input{
        width:100%;
    }

    .task-box button{
        width:100%;
    }

    li{
        padding:12px 5px;
        font-size:15px;
    }

    .edit-btn,
    .delete-btn{
        font-size:18px;
        padding:0 2px;
    }
}