/**
 * Author: Kaga Akatsuki
 * Date: 2026-06-09
 */

/** app.css */
@import url('https://fonts.googleapis.com/css2?family=Ms+Madi&family=Pacifico&display=swap');

html, body {
    overflow: hidden;
}

.ms-madi {
    font-family: "Ms Madi", serif;
    font-weight: 400;
    font-style: normal;
}

.pacifico {
    font-family: "Pacifico", serif;
    font-weight: 400;
    font-style: normal;
}

.main {
    width: 100%;
    max-width: 540px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 0 auto;
    background-color: #fff;
    padding-top: 20px;
}

.main .header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 12vh;
    background-image: url('/header.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    /* background-color: #fff; */
    /* top: 20px; */
    /* position: sticky; */
    /* z-index: 1; */
}

.main .header .title {
    font-size: 3rem;
    text-align: center;
}

.main .body {
    padding: 20px;
    overflow-x: hidden;
    overflow-x: auto;
    max-height: calc(100vh - 12vh);
}

.main .body .item {
    font-size: 1.2rem;
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
    padding-left: 50px;
    margin: 10px 0;
}

.main .body .item::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('/list.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.main .body .item.empty::after {
    content: "";
    position: absolute;
    width: calc(100% - 60px);
    height: 2px;
    background-color: #000;
    left: 50px;
    bottom: 10px;
}

.main .body .item.active {
    font-weight: bold;
}

.main .body .item.active::before {
    background-image: url('/list-active.png');
}

.main .body .item.active .text {
    text-decoration: line-through;
}
