* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    background-color: rgba(100, 175, 237, 0.665);
    font-family: system-ui, sans-serif;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    text-align: center;
    max-width: 450px;
    width: 100%;
}

.title {
    font-size: 36px;
    line-height: 120%;
    color: #fff;
    word-spacing: 10px;
}

.content_form {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.form_input {
    padding: 8px 5px;
    width: 85%;
    border: none;
    border-radius: 3px;
}

.form_input::placeholder {
    color: dimgray;
    text-transform: capitalize;
}

.form_input:focus {
    outline: 1px solid blue;
}

.form_btn {
    border: none;
    background: linear-gradient(90deg, rgb(105, 192, 227) 0%, rgb(65, 242, 139) 100%, rgba(237, 221, 83, 1) 100%);
    padding: 8px 15px;
    border-radius: 3px;
    color: #fff;
}

.todo_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.list_item {
    background-color: #fff;
    padding: 5px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list_info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.todo {
    font-size: 12px;
    line-height: 100%;
}

.checkbox {
    margin-left: 5px;
    margin-top: 3px;
}

.remove_btn {
    background-color: red;
    border: none;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form_btn,
.remove_btn {
    cursor: pointer;
}

.done {
    text-decoration: line-through;
    opacity: 0.6;
}


/* Планшеты */
@media (max-width: 768px) {
    .content {
        max-width: 90%;
    }

    .title {
        font-size: 30px;
    }

    .content_form {
        gap: 10px;
    }

    .form_input {
        width: 80%;
        font-size: 14px;
    }

    .form_btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .todo {
        font-size: 14px;
    }
}

/* Телефоны */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .content {
        max-width: 100%;
    }

    .title {
        font-size: 24px;
    }

    .content_form {
        flex-direction: column;
        align-items: stretch;
    }

    .form_input {
        width: 100%;
    }

    .form_btn {
        width: 100%;
    }

    .list_item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .remove_btn {
        width: 100%;
        padding: 8px;
    }

    .todo {
        font-size: 13px;
        word-break: break-word;
    }
}
.done {
    text-decoration: line-through;
    opacity: 0.5;
}