:root {
    --global-bg: #fafafa;
}

body {
    background-color: var(--global-bg);
    font-size: large;
}

#app {
    max-width: 500px;
    margin: 0 auto;
}

.title-show {
    display: flex;
    width: 100%;
    gap: 10px;
}

.title-show--text {
    width: 100%;
}

.title-show--btn-list {
    display: flex;
    gap: 10px;
    height: fit-content;
}

.title-show--clear-btn {
    background-color: #f68686;
    border-radius: 3px;
}

.list {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    gap: 15px;
}

.list-item {
    display: flex;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 10px;
    gap: 10px;
}

.list-item--name {
    width: 100%;
}

.list-item--completed {
    text-decoration: line-through;
}

.list-add {
    display: flex;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background-color: var(--global-bg);
    padding: 10px 0;
}

.list-add--input {
    width: 100%;
    font-size: 20px;
}
