* {
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: steelblue;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
    transition: 0.4s;
}
body.coloring-body-red {
    background-color: rgb(255, 0, 0, 0.5);
}
body.coloring-body-blue {
    background-color: rgba(0, 0, 255, 0.5);
}
body.coloring-body-yellow {
    background-color: rgb(255, 255, 0, 0.5);
}
body.coloring-body-green {
    background-color: rgb(0, 128, 0, 0.5);
}
.container {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}
h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #764ba2;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.resize-btns {
    margin-bottom: 10px;
}
.resize-btns button {
    border: 1px solid rgb(0, 0, 0);
    /* color: initial; */
    width: 25px;
    height: 25px;
    border-radius: 50%;
    /* transform: translate(-25px, -25px); */
}
.resize-btns button:first-child {
    background-color: blue;
}
.resize-btns button:nth-child(2) {
    background-color: red;
}
.resize-btns button:nth-child(3) {
    background-color: yellow;
}
.resize-btns button:nth-child(4) {
    background-color: green;
}
.title-edit {
    display: flex;
    justify-content: center;
    align-items: center;
}
.title-edit button {
    margin-left: 15px;
    font-size: 10px;
}
.add-task {
    display: flex;
    margin-bottom: 30px;
}
.add-task button {
    background-color: rgb(0, 123, 255);
}
input[type="text"] {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 10px 0 0 10px;
    font-size: 1.1em;
    outline: none;
    background: #f8f9fa;
}
button {
    padding: 15px 20px;
    border: none;
    border-radius: 0 10px 10px 0;
    color: white;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover {
    transform: scale(1.05);
    box-shadow: 0px -1px 10px rgba(0, 0, 0, 0.4);
}
ul {
    list-style: none;
    padding: 0;
    transition: 0.3s;
}
li {
    background: #fff;
    width: 100%;
    height: 60px;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition:  0.6s;
}
li:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
li.add-animate {
    opacity: 1;
    visibility: visible;
    width: 100%;
    height: 100%;
}
li.remove-animate {
    opacity: 0;
    visibility: hidden;
    width: 0px;
    height: 0px;
}
input[type="checkbox"] {
    margin-right: 15px;
    transform: scale(1.2);
    transition: 0.2s ease;
}
input:checked {
    transform: scale(1.4);
}
.task-text {
    flex: 1;
    font-size: 1.1em;
}
.completed {
    text-decoration: line-through;
    color: #888;
}
button {
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 10px;
    transition: 0.3s ease;
}
button.delete {
    background: #bc4e57;
}
button.edit {
    background: #0000ffa8;
}
.delete:hover {
    background: #ff3742;
}