@import url("nav.css");
@import url("footer.css");

* {
    box-sizing: border-box;
    --app-safariaddress-bar-margin: 36px;
}

body {
    margin: 0;
    min-height: 100dvh;
    background-color: #fefcf5;
}


.banner {
    padding: 50px 5dvw;
    width: 100%;
    margin-bottom: 116px;
}


.banner > .title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 2dvw, 28px);;
    color: #453E3E;
    font-family: Noto Sans;
    font-size: clamp(18px, 2dvw, 28px);
    font-weight: 700;
    line-height: 1.5em;
    text-align: center;
    margin-bottom: 100px;
}

.banner .title h2 {
    margin: 0;
}

@media screen and (max-width: 1400px) {
    .banner .title svg {
        transition: all 0.2s;
        scale: 0.8;
    }
}

/* 
.banner .steps {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.banner .steps .numbers,
.banner .steps .step-intros {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
}

.banner .steps .numbers>div {
    opacity: 0.15;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FC7044;
    font-family: Bilo;
    font-size: 147.4px;
    font-weight: 700;
    line-height: 191.62px;
    letter-spacing: 0.05em;
    text-align: center;
}

.banner .steps .dots {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
}

.banner .steps .dots svg {
    width: 76%;
}


.banner .steps .step-intros .step-intro {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 2px;
    max-width: 20dvw;
    align-self: center;
}

.banner .steps .step-intros .step-intro .title {
    position: relative;
    display: flex;

    justify-content: center;
    align-items: end;
    gap: 12px;
    color: #453E3E;
    font-family: Noto Sans;
    font-size: 40px;
    font-weight: 700;
    line-height: 72px;
    text-align: left;
}

.banner .steps .step-intros .step-intro .title svg {
    position: absolute;
}

.banner .steps .step-intros .step-intro .title div {
    padding-left: 48px;
}

.banner .steps .step-intros .step-intro .text {
    color: #453E3E;
    font-family: Noto Sans;
    font-size: 16px;
    font-weight: 700;
    line-height: 28.8px;
    text-align: left;
} */

#filter {
    right: 78px;
}

#bowl-with-chopsticks {
    right: 62px;
    bottom: 20px;
}

#trasnsport {
    right: 96px;
}

#clean {
    right: 96px;
}

/* #bowl-with-chopsticks {
    position: relative;
    bottom: 20px;
} */


.main {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding-top: 40px;
}

.main .divider {
    z-index: -1;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 190dvw;
    height: auto;
    aspect-ratio: 2/1;
    border-radius: 100%;
    /* border: 1px solid red; */
    box-shadow: 0px -10px 30px 0px #EBEBEB;
}


.main .tabs {
    padding-top: 250px;
    margin-bottom: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2dvw;

}

.main .tabs .tab {
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    border-radius: 999px;
    padding: 11px 40px;
    color: #231815;
    font-family: Noto Sans TC;
    font-size: 24px;
    font-weight: 500;
    line-height: 38.4px;
    letter-spacing: 0.05em;
    text-align: left;
    box-shadow: 0px 4px 4px 0px #00000040;

    input {
        display: none;
    }

    &:has(input:checked) {
        color: white;
        font-family: Noto Sans TC;
        font-size: 24px;
        font-weight: 700;
        line-height: 38.4px;
        letter-spacing: 0.05em;
        text-align: left;
        background-color: #FC7044 !important;
    }
}

.main .tabs .tab.active {
    color: white;
    font-family: Noto Sans TC;
    font-size: 24px;
    font-weight: 700;
    line-height: 38.4px;
    letter-spacing: 0.05em;
    text-align: left;
    background-color: #FC7044;
}


.main .tutorial {
    margin: 0 auto 24px;
    width: 60%;
    aspect-ratio: 1.7;
    background-color: gray;
}

.main .go-to-service {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 20px;
    color: #453E3E;
    font-family: Noto Sans;
    font-size: 24px;
    font-weight: 700;
    line-height: 43.2px;
    letter-spacing: 0.05em;
    text-align: left;
    margin: 0 auto 260px;
    width: 40%;
}

.main .go-to-service span {
    color: #FC7044;
}


.main .start-order {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.main .start-order svg {
    margin-bottom: 56px;
}

.main .start-order div {
    margin-bottom: 32px;
    color: #453E3E;
    font-family: Noto Sans;
    font-size: var(--app-safariaddress-bar-margin);
    font-weight: 700;
    line-height: 64.8px;
    text-align: center;
}

.main .start-order button {
    border: none;
    color: white;
    padding: 18px 38px;
    border-radius: 9999px;
    background-color: #FC7044;
    font-family: Noto Sans TC;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.05em;
    text-align: center;
}

.mobile_steps {
    width: 100%;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 40px;


    .step {
        position: relative;
        z-index: 1;
        display: flex;
        justify-content: start;
        align-items: center;

        .num {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 24px;
            font-family: Bilo;
            font-size: 109.45px;
            font-weight: 700;
            line-height: 142.29px;
            letter-spacing: 0.05em;
            text-align: center;
            text-underline-position: from-font;
            text-decoration-skip-ink: none;
            color: #FFD7B8;
            padding-right: 40px;
        }

        .line {
            position: absolute;
            width: 5px;
            height: 560px;
            background-color: #FFD7B8;
            top: 47%;
            left: 8.5%;
            transform: translateX(-50%);
            z-index: -1;
        }

        .dot {

            width: 20px;
            height: 20px;
            aspect-ratio: 1;
            border-radius: 100%;
            background-color: #FFD7B8;
            margin-right: 40px;
            border: 4px solid #FEFCF5;


        }

        .content {
            display: flex;
            justify-content: center;
            align-items: center;

            .icon {
                svg {

                    width: 80px;
                    height: auto;
                }

                margin-right: 20px;
            }

            .title {
                color: #453E3E;

                font-family: Noto Sans TC;
                font-size: 50px;
                font-weight: 700;
                line-height: 90px;
                text-align: left;
                text-underline-position: from-font;
                text-decoration-skip-ink: none;
                margin-right: 37px;
            }

            .text {
                width: 255px;
                /* width: 120px; */
                color: #453E3E;
                font-family: Noto Sans TC;
                font-size: 24px;
                font-weight: 500;
                line-height: 38.4px;
                letter-spacing: 0.05em;


            }
        }
    }
}

.orderNoticeSection {
    margin-bottom: 150px;

    .orderNotice {
        border-radius: 10px;
        padding: 30px;
        background: #ffeed3;
        margin: 0 auto;
        max-width: 810px;
        font-size: 16px;
        text-align: left;
        line-height: 35px;
        font-weight: normal;

        .notice {
            color: #fc7044;
            font-weight: 800;
        }
    }
}

@media screen and (max-width: 900px) {
    .orderNoticeSection {
        .orderNotice {
            max-width: calc(100% - 40px);

        }
    }

    .banner {
        padding-bottom: 0 !important;

        & > .title {
            padding: 0 8dvw;
            gap: 12px;

            svg:first-of-type {
                width: 60px;
            }

            h2 {

                font-family: Noto Sans TC;
                font-size: 16px;
                font-weight: 700;
                line-height: 22.4px;
                letter-spacing: 0.05em;
                text-align: left;
                text-underline-position: from-font;
                text-decoration-skip-ink: none;
            }

            .line {
                display: none;
            }
        }

        .steps {
            display: none;
        }

        .mobile_steps {
            position: relative;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            justify-content: start;
            align-items: center;
            gap: 40px;


            .step {
                position: relative;
                z-index: 1;
                display: flex;
                justify-content: start;
                align-items: center;

                .num {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 24px;
                    font-family: Bilo;
                    font-size: 40px;
                    font-weight: 700;
                    line-height: 52px;
                    letter-spacing: 0.05em;
                    text-align: center;
                    text-underline-position: from-font;
                    text-decoration-skip-ink: none;
                    color: #FFD7B8;
                    padding-right: 13px;
                }

                .line {
                    position: absolute;
                    width: 2px;
                    height: 289px;
                    background-color: #FFD7B8;
                    top: 39%;
                    left: 11.5%;
                    transform: translateX(-50%);
                    z-index: -1;
                }

                .dot {

                    width: 16px;
                    height: 16px;
                    aspect-ratio: 1;
                    border-radius: 100%;
                    background-color: #FFD7B8;
                    margin-right: 18px;
                    border: 4px solid #FEFCF5;


                }

                .content {
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    .icon {
                        width: 30px;
                        margin-right: 10px;
                    }

                    .title {
                        color: #453E3E;
                        font-family: Noto Sans TC;
                        font-size: 24px;
                        font-weight: 700;
                        line-height: 33.6px;
                        letter-spacing: 0.05em;
                        margin-right: 14px;
                    }

                    .text {
                        width: 120px;
                        color: #453E3E;
                        font-family: Noto Sans TC;
                        font-size: 10px;
                        font-weight: 500;
                        line-height: 14px;
                        letter-spacing: 0.05em;

                    }
                }
            }
        }

    }


}


@media screen and (max-width: 900px) {
    .main {
        z-index: 10;
        padding-top: 0;

        .divider {
            top: 0;
        }

        .tabs {
            padding-top: 60px;

            .tab {
                background-color: #FEE7D5;
                box-shadow: none;
                font-size: 12px;
                font-weight: 700;
                line-height: 19.2px;
                letter-spacing: 0.03em;
                padding: 4.5px 22px;

                &:has(input:checked) {
                    font-size: 12px;
                    font-weight: 700;
                    line-height: 19.2px;
                    letter-spacing: 0.03em;
                }
            }
        }

        .tutorial {
            width: 82%;
            margin: 0 auto 12px;
        }

        .go-to-service {
            width: 82%;
            white-space: nowrap;
            font-size: 14px;
            font-weight: 400;
            line-height: 19.6px;
            letter-spacing: 0.05em;
            margin-bottom: 100px;

        }

        .start-order {
            margin-bottom: 50px;

            svg {
                min-width: 200px;
                width: 50dvw;
                height: 50dvw;
                aspect-ratio: 1;
                margin-bottom: 28px;
            }

            & > div {
                display: none;
            }

            button {
                padding: 4.5px 22px;
                font-size: 20px;
                font-weight: 700;
                line-height: 30px;
                letter-spacing: 0.03em;

            }
        }
    }

    .goals .three-goals {
        display: block;
    }
}