* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
$Font-color: #fff;
$title-color: #4b515e;
$toggle: #9c857b;
$process: #6f645a;

@font-face {
    font-family: 追奇手寫體;
    src: url(./goto1.woff);
    font-weight: 900;
    font-display: swap;
}
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;600&display=swap");

$destop: 1025px;

body {
    width: 100vw;

    .btn {
        width: 96vw;
        margin: 0 auto;
        .btn-main {
            box-shadow: 0 10px 9px rgba(0, 0, 0, 0.5);
            border: none;
            padding: 15px;
            background: rgb(64, 72, 84);
            color: $Font-color;
            font-size: 16px;
            font-weight: 600;
            width: 280px;
            border-radius: 30px;
            transition: 0.3s;

            &:hover {
                background-color: $toggle;
                width: 285px;
                font-size: 17px;
            }
        }
    }
    .title {
        font-weight: 900;
        font-family: "Noto Serif TC", serif;
        padding: 15px;
        font-size: 45px;
        color: $title-color;
        padding-left: 10vw;
    }
    .arrow {
        position: fixed;
        right: 30px;
        bottom: 30px;
        width: 45px;
        height: 40px;
        z-index: 10;
        background-color: #e06649;
        &:hover {
            box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35);
        }
    }
}

#q-content{
  
    position: relative !important;
    overflow: hidden !important;
}
// banner

.banner {
    width: 100vw;
    position: relative;
    #text {
        text-align: center;

        .banner-slider {
           
            .banner1,
            .banner2,
            .banner3 {
                height: 100vh;
                background-size: cover;
                background-repeat: no-repeat;
                background-position: center;
                padding-right: 0 !important;
            }
            .banner1 {
                text-align: center;
                background-image: url(./img/banner/00.webp);
                img {
                    width: 15vw;
                    display: block;
                    margin: auto !important;
                }
            }
            .banner2 {
                background-image: url(./img/banner/002.webp);
            }
            .banner3 {
                background-image: url(./img/banner/003.webp);
            }
        }
        h1 {
            padding: 15px;
            color: $Font-color !important;
            font-family: 追奇手寫體 !important;
            font-size: 72px !important;
        }
        .btn-main {
            box-shadow: 0 10px 9px rgba(0, 0, 0, 0.5);
            border: none;
            padding: 15px;
            background: rgb(64, 72, 84);
            color: $Font-color;
            font-size: 16px;
            font-weight: 600;
            width: 280px;
            border-radius: 30px;
            transition: 0.3s;

            &:hover {
                background-color: #9c857b;
                width: 285px;
                font-size: 17px;
            }
        }
    }
    .Navigation {
        width: 90vw;
        position: absolute;
        margin: 0 auto;
        top: 20px;
        z-index: 5;
        display: grid;
        grid-template-columns: 2fr 4fr 2fr;

        .logo {
            padding-top: 1.5vw;
            padding-left: 12vw;
            img {
                width: 120px;
            }
        }
        .link {
            text-align: left;
            padding: 1.5vw 30px;
            // padding-right: 150px;

            a {
                display: inline-block;
                text-decoration: none;
                color: $Font-color;
                // padding-right: 35px;
                letter-spacing: 1px;
                font-size: 0.9rem;
                font-weight: 600;
                cursor: pointer;
                padding: 15px;
                position: relative;
                :hover {
                    opacity: 0.8;
                }
                &:after {
                    content: "";
                    display: block;
                    width: 80%;
                    height: 3px;
                    background-color: #fff;
                    position: absolute;
                    left: 12%;
                    bottom: 0;
                    transition: all 0.3s;
                    opacity: 0;
                }
                &:hover:after {
                    width: 80%;
                    opacity: 1;
                }
            }
        }
        .socail-link {
            text-align: right;
            padding: 1.5vw 30px;

            img {
                width: 1.5vw;
                filter: invert(100%) sepia(0%) saturate(10%) hue-rotate(238deg) brightness(104%) contrast(103%);
                transition: 0.3s;
                &:hover {
                    filter: none;
                }
            }

            a {
                display: inline-block;
                text-decoration: none;
                color: $Font-color;
                // padding-right: 35px;
                letter-spacing: 1px;
                font-size: 0.9rem;
                font-weight: 600;
                cursor: pointer;
                padding: 15px;
                position: relative;
            }
        }
    }
    hr {
        width: 85vw;
        position: absolute;
        top: 90px;
        left: 100px;
        height: 1px;
        z-index: 5;
    }
}

// content1
#content1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    padding-top: 150px;
    width: 90vw;
    position: relative;
    grid-gap: 30px;

    .hr2 {
        position: absolute;
        width: 32vw;
        height: 1px !important;
        left: 5vw;
    }
    .content1-left {
        width: 45vw;
        text-align: left;
        margin: 0px auto;
        padding-right: 50px;
        .contant-toggle {
            color: $toggle !important;
        }
        .contant-toggle2 {
            color: $title-color !important;
        }

        .title {
            margin: 0;
            padding: 10px;
            margin-bottom: 50px;
            font-weight: 900;
            font-size: 45px;
            font-family: "Noto Serif TC", serif;
            color: $title-color;
            padding-left: 5vw;
        }

        .left {
            display: grid;
            grid-template-columns: 1.5fr 3fr;
            width: 37vw;
            .title1 {
                text-align: center;
                font-size: 90px;
                font-weight: 400;
                font-family: "Times New Roman", Times, serif;
                color: #8593a4;
                padding-left: 3vw;
            }

            .text1,
            .text2,
            .text3 {
                margin: auto 0;
                .text-1,
                .text-2,
                .text-3 {
                    font-size: 23px;
                    font-weight: bolder;
                    // color: $title-color;
                }
            }
        }
    }
    .content1-right {
        width: 35vw;
        text-align: center;

        .slick-dots {
            margin-bottom: 50px;
            ::before {
                color: #fff;
            }
        }
        img {
            width: 35vw;
            height: 40vw;
            object-fit: cover;
        }
    }
}

// service
#service {
    width: 100vw;

    h1 {
        padding: 15px;
        padding-left: 10vw;
        margin-bottom: 80px;
        padding-top: 5vw;
    }
    .service-box {
        width: 80vw;
        margin: 0 auto;
        #service-text {
            display: grid;
            grid-template-columns: 1fr 1fr;
            margin: 3vw auto;
            width: 70vw;
            #text-left,
            #text-right {
                width: 40vw;
                text-align: left;
                display: grid;
                grid-template-columns: 1fr 1fr;
                .img-icon {
                    width: 12vw;
                }
            }
            .icon-text {
                width: 30vw;
                margin-top: 15px;
                font-weight: 600;
            }
            img {
                width: 128px;
                height: 128px;
                // filter: invert(69%) sepia(15%) saturate(301%) hue-rotate(175deg) brightness(90%) contrast(85%);
            }
            .text-p {
                font-size: 18px;
                color: #000;
            }
        }
        #service-img {
            width: 75vw;
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-gap: 10px;

            img {
                width: 38vw;

                object-fit: cover;
            }
        }
    }
    .btn {
        text-align: center;
        margin-bottom: 100px;
        margin-top: 50px;
    }
}
// service-process
#service-process {
    background-color: #f7f7f7;
    padding-bottom: 150px;
    h1 {
        padding: 15px;
        margin-left: 10vw;
        padding-top: 100px;
        margin-bottom: 80px;
    }
    #process-box {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        width: 82vw;
        margin: 0 auto;
        .box {
            width: 14vw;
            .box-text {
                font-family: 微軟正黑體;
                text-align: center;
                font-size: 17px;
                font-weight: 900;
                padding-right: 2.8vw;
                color: $process;
            }
        }
        img {
            width: 13.5vw;
            height: 13.5vw;
            filter: invert(42%) sepia(12%) saturate(490%) hue-rotate(347deg) brightness(89%) contrast(86%);
        }
    }
}

// feedback
#feedback {
    width: 100vw;
    padding-bottom: 200px;

    h1 {
        margin-top: 50px;
        margin-bottom: 50px;
    }
    #feedback-box {
        width: 80vw;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);

        .box {
            width: 25vw;
            transition: 0.5s;
            text-align: center;
            padding-bottom: 1vw;
            position: relative;
            .play {
                position: absolute;
                left: 12vw !important;
                top: 5vw !important;
                width: 3vw;
                height: 3vw;
                opacity: 0.8;
                z-index: 10;
            }
            img {
                width: 25vw;
                margin: 0 auto;
                object-fit: cover;
                transition: 0.5s;
                // &:hover {
                //     width: 400px;
                //     height: 200px;
                // }
            }
            p {
                text-align: center;
                font-size: 18px;
                font-weight: 600;
                margin: 10px;
            }
        }
    }
}

#contact-us {
    margin: 0 auto;
    background: #fafafa;
    position: relative;
    padding-bottom: 5vw;
    .navbar{
        img{
            width: 180px;
        }
    }
    #sec-contact {
        width: 90vw;
        margin: 0 auto;
        background: #fff;
        box-shadow: 0 3px 1px -2px rgba(0,0,0,0.2), 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);
       
    }
    .contact-text {
        margin: 0 auto;
        width: 68vw;

        .text-p {
            font-size: 16px;
            font-weight: 600;
        }
    }

    .form-title {
        margin: 0 auto;
        text-align: center;
        h1 {
            text-align: center;
            font-size: 1.75rem;
            font-weight: 900;
        }
        p {
            font-size: 18px;
        }
    }
    #contact-form {
        width: 50%;
        margin: 0 auto;
        padding: 24px;
        #loc,
        #h_class,
        #modal,
        #budget,
        #square,
        #style,
        #datepicker,
        #email,
        #name,
        #phone,
        #gender {
            width: 100%;
            height: 50px;
            margin: 20px 0;
            border: 1px solid rgba(0, 0, 0, 0.3);
            padding: .375rem .75rem;
            font-size: 1rem;
            border-radius: 3px;
            appearance: none;
            background: url(./img/icondown.webp) 99% 50% no-repeat scroll transparent;
            background-size: 10px 10px;
            background-color: #fff;
        }
        #form-left {
            // #rooms,
            // #livingroom,
            // #bathroom {
            //     width: 28.5%;
            //     border: 1px solid rgba(0, 0, 0, 0.3);
            //     height: 50px;
            //     margin: 15px 0;
            //     padding-right: 50px;
            //     padding: 10px 15px;
            //     font-size: 16px;
            //     border-radius: 3px;
            //     appearance: none;
            //     background: url(./img/icondown.webp) 85% 50% no-repeat scroll transparent;
            //     background-size: 10px 10px;
            //     background-color: #fff;
            // }
            #datepicker {
                background: none;
                background-color: #fff;
            }
        }
        #fb-button {
            margin-top: 12px;
            width: 29vw;
            height: 50px;
            border: 1px solid #3b5998;
            text-align: right;
            padding-right: 60px;
            background-size: 32px 32px;
            border-radius: 3px;
            background-color: #fff;
            transition: 0.3s;
            position: relative;
            p {
                position: absolute;
                top: 1vw;
                left: 14vw;

                color: #626262;
            }
            #line {
                position: absolute;
                color: #9b9b9b;
                opacity: 0.8;
                left: 8vw;
                top: -0.1vw;
            }
            img {
                position: absolute;
                left: 50px;
                top: 10px;
                width: 32px;
                height: 32px;
                filter: invert(29%) sepia(70%) saturate(712%) hue-rotate(186deg) brightness(89%) contrast(81%);
            }
            &:hover {
                background-color: #2a4f91;
                color: #fff;
                img {
                    filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%) contrast(106%);
                }
                p {
                    color: #fff;
                }

                #line {
                    color: #fff;
                }
            }
        }
        a {
            text-decoration: none;
            color: #ee751b;
            font-weight: 900;
        }

        #email,
        #name,
        #phone {
            background: none;
            background-color: #fff;
        }
    }

    .btn {
        width: 100%;
        margin: 16px auto;
        border: none;
        padding: 16px 12px;
        background: #ee7800;
        color: #fff;
        font-size: 20px;
        border-radius: .25rem;
        text-align: center;
        vertical-align: middle;
        &:hover {
            color: #fff;
            background-color: #745c54;
        }
    }
    .form-btn {
        text-align: center;
        position: relative;
        margin: 0 auto;
        #phone1 {
            position: absolute;
            left: 500px;
        }
    }
}

#footer {
    width: 100vw;
    background-color: #ebe6e2;
    color: #9f5000;
    text-align: center;
    font-size: 18px;
    line-height: 130px;

    a {
        text-decoration: none;
        color: #9f5000;
    }
    p {
        display: inline;
    }
}

.animation-h1 {
    animation-name: fade;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
    opacity: 0;
    @keyframes fade {
        from {
            transform: translateY(0px);
        }

        to {
            transform: translateY(20px);
            opacity: 1;
        }
    }
}
.animation-btn {
    animation-name: fade2;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: 1s;
    opacity: 0;
    @keyframes fade2 {
        from {
            transform: translateY(0px);
        }

        to {
            transform: translateY(-10px);
            opacity: 1;
        }
    }
}

form label {
    display: inline-block;
    width: 100px;
}

form div {
    margin-bottom: 10px;
}

.error {
    color: red;
    margin-left: 5px;
}

label.error {
    display: inline;
}
