:root {
    --animate-duration: 2000ms;
}

body {
    --w-accent: #fb7185;
    --w-accent-hover: #f43f5e;
    --w-bg-light: #fff1f2;
    --w-box-shadow: none;
    --bs-body-color: #881337;
    --bs-body-bg: #fff1f2;
    font-family: "Nunito", "Mali", var(--bs-font-sans-serif);
}

.container {
    max-width: 480px !important;
}

/* Helper */
.fw-600 {
    font-weight: 600 !important;
}

.text-accent {
    color: var(--w-accent) !important;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    min-height: 36px;
    padding: 8px 0;
    font-size: 12px;
    text-align: center;
    background-color: rgba(255, 228, 230, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-family: "LINE Seed Sans TH", var(--bs-font-sans-serif);
}

main {
    width: 100%;
    margin: auto;
}

/* Sec Intro */
.sec-intro {
    position: relative;
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 16px;
    font-weight: 700;
}

.site-desc {
    font-size: 12px;
}

/* Sec Editor */
.sec-editor {
    min-height: 100dvh;
    position: relative;
    display: flex;
    align-items: center;
}

#preview_wrap {
    transform-origin: top left;
}

.postcard-img {
    width: 1200px;
    height: 1022px;
    position: relative;
}

.postcard-text-wrap {
    position: absolute;
    width: 800px;
    height: 330px;
    top: 320px;
    left: 190px;
    display: grid;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
    /* background: pink; */
}

.postcard-text {
    font-size: 32px;
    text-align: center;
    font-weight: 600;
    overflow-wrap: break-word;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    color: #dd556f;
    /* color: #6c8bff; */
}

.form-control {
    --bs-body-bg: #fff;
}

/* Sec Share */
.sec-share {
    min-height: 100dvh;
    position: relative;
    display: flex;
    align-items: center;
}

footer {
    margin-top: 0;
    /* font-family: "LINE Seed Sans TH", var(--bs-font-sans-serif); */
}