* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
$table: 1024px;
$moblie: 767px;

$process: #6f645a;
// 行動裝置
@font-face {
    font-family: 追奇手寫體;
    src: url(./drechifont-proportional.ttf);
    font-weight: 900;
}
$Font-color: #fff;
$toggle: #9c857b;
$title-color: #4b515e;
body {
   

    .title {
        font-weight: 900;
        padding: 15px;
        font-family: "Times New Roman", Times, serif;
        color:$title-color;
        text-align: center;
        @media screen and(max-width:$table) {
            font-size: 48px;
        }
        @media screen and(max-width:$moblie) {
            font-size: 34px;
        }
        @media screen and(max-width:400px) {
            font-size:25px!important;
           
        }
        
    }
    .btn {
        width: 100vw;
        text-align: center;
        margin-top: 20px;
    }
    .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;
        letter-spacing: 1px;
        width: 280px;
        border-radius: 30px;
        transition: 0.3s;
        margin-top: 50px;
        &:hover {
            background-color: $toggle;
            width: 285px;
            font-size: 16px;
        }
        @media screen and(max-width:$table) {
            font-size: 16px;
            padding: 20px;
        }
    }
}
.navigation {
    width: auto;
    height: 60px;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 5;
    .logo {
        padding: 10px;
        margin-bottom: 5px;
        img {
            width: 128px;
        }
    }
    #menu-btn1 {
        position: absolute;
        right: 40px;
        top: 15px;
        width: 32px;
        height: 32px;
        z-index: 6;
    }
}
#banner-box {
    height: 45vh;
    overflow: hidden;
    @media screen and(max-width:$moblie) {
        height: 50vh;
    }
    .banner-slider {
        .slick-dots {
            margin-bottom: 50px;
            ::before{
                color:#fff;
            }

            @media screen and(max-width:$table) {
                font-size: 48px;
            }
        }
        .banner1,
        .banner2,
        .banner3 {
            width: 100vw;
            height: 50vh;
            background-size: contain;
            background-repeat: no-repeat;
            background-size: 100vw 70vh;
          
            @media screen and(max-width:$moblie) {
                height: 50vh;
                background-size: cover;
                background-position:center center;
            }

            @media screen and(max-width:$table) {
                height: 45vh;
            }
            h1 {
                line-height: 40vh;
                text-align: center;
                padding: 15px;
                color: #fff;
                font-family: 追奇手寫體;
                font-size: 72px;
            }
            .img {
                width: 20px;
            }
        }
        .banner1 {
            background-image: url(./img/banner/001.webp);
        }
        .banner2 {
            background-image: url(./img/banner/002.webp);
        }
        .banner3 {
            background-image: url(./img/banner/003.webp);
        }
    }
}

#content1 {
    margin-top: 100px;
    text-align: center;
    .title {
        margin: 30px 0px;
        font-family: "Times New Roman", Times, serif;
        @media screen and(max-width:$moblie) {
            font-size: 30px;
        }
        @media screen and(max-width:400px) {
            font-size: 25px;
         }
        
    }
    .text {
        position: relative;
        .text2 {
            position: absolute;
            top: 15vw;
            left: 20vw;
            z-index: 1;
            @media screen and(max-width:$table) {
                width: 60vw;
                height: 30vw;
            }
            @media screen and(max-width:$moblie) {
                width: 80vw;
                left: 10vw;
            }
           

            h2 {
                line-height: 1.5;
                color: #fff;
                text-align-last: left;
                font-size: 20px;
                letter-spacing: 1px;
                @media screen and(max-width:$table) {
                    font-size: 32px;
                }
                @media screen and(max-width:$moblie) {
                    font-size: 1.3rem;
                }
                @media screen and(max-width: 400px) {
                    font-size: 1.1rem;
                }
            }
        }
    }
    img {
        margin: 15px auto;
        width: 70vw;
        height: 30vh;
        object-fit: cover;
        filter: brightness(70%);
        @media screen and(max-width:$moblie) {
            width: 85vw;
        }
    }
}
#service {
    width: 100vw;
    text-align: center;
    h1{
        @media screen and(max-width: 400px) {
            margin: 50px 0;
            padding: 0;
            font-size: 25px !important;
        }
        
    }
    .text {
        font-size: 1.5rem;
        display: inline;
        text-align: left;

        @media screen and(max-width:$moblie) {
            font-size: 1rem;
        }
        @media screen and(max-width: 576px) {
            font-size: 0.8rem;
        }

        .left-box {
            .left-text{
                font-weight: 900;
                @media screen and(max-width: 769px) {
                    padding-top: 3vw;
                }
                @media screen and(max-width: 576px) {
                   font-size: 0.9rem;
                    padding-top: 5vw;
                }
                @media screen and(max-width: 400px) {
                    font-size: 0.7rem;
                }
            }
            @media screen and(max-width: 769px) {
                width: 45vw;
                padding-left: 50px;
                margin-top: 30px;
            }
            @media screen and(max-width: 576px) {
                padding-left: 30px;
                margin-top: 20px;
            }
            @media screen and(max-width: 400px) {
               padding-top:5px;
               margin-top: 15px;   
            padding-left: 10px;         }
        }
    }
    .icon {
        width: 20vw;
    }
    h1 {
        margin: 50px;
        @media screen and(max-width:$moblie) {
            font-size: 34px;
        }
        @media screen and(max-width: 400px) {
            font-size:25px!important;
           
        }
    }
    // .service-box {
    //     display: grid;
    //     grid-template-columns: repeat(2, 1fr);
    //     width: 100vw;
    //     height: 35vh;
    //     @media screen and(max-width:$moblie) {
    //         width: 100vw;
    //         height: 40vh;
    //     }
    //     @media screen and(max-width:$table) {
    //         width: 100vw;

    //     }
    //     .text-left {
    //         background: #eee;
    //         text-align: left;
    //         @media screen and(max-width:$table) {
    //             width: 40vw;
    //             height: 32vh;
    //             padding-left: 10vw;

    //         }
    //         @media screen and(max-width:$moblie) {
    //             text-align: left;
    //             width: 50vw;
    //             padding-left:-10vw;
    //         }

    //         .icon-text {
    //             width: 60vw;
    //             @media screen and(max-width:$moblie) {
    //                 margin: 10px 10px;
    //                 font-size: 15px;
    //             }
    //             @media screen and(max-width:$table) {
    //                 font-size: 24px;
    //                padding-top: 3vw;

    //             }
    //             p {
    //                 font-family: 微軟正黑體;
    //                 font-weight: bolder;
    //                 font-size: 15px;
    //                 line-height: 1.5;
    //                 text-align: left;
    //                 @media screen and(max-width:$table) {
    //                     font-size: 24px;
    //                 }
    //                 @media screen and(max-width:$moblie) {
    //                     font-size: 14px;
    //                 }
    //             }
    //         }
    //         img {

    //             @media screen and(max-width:$table) {
    //                 width: 150px;
    //                 height: 150px;
    //                 margin-top: 2vw;
    //             }
    //             @media screen and(max-width:$moblie) {
    //                 width: 80px;
    //                 height: 80px;
    //                 margin-left: 15px;
    //             }
    //         }
    //     }
    //     .text-right {
    //         img {
    //             object-fit: cover;
    //             @media screen and(max-width:$table) {
    //                 height: 32vh;
    //                 width: 60vw;
    //             }
    //             @media screen and(max-width:$moblie) {
    //                 width: 50vw;
    //                 height: 32vh;
    //             }
    //         }
    //     }
    // }
}
#service-process {
    margin: 0 auto;
    width: 60vw;
    @media screen and(max-width:$moblie) {
        width: 80vw;
    }
    h1 {
        margin-top: 150px;
       
        @media screen and(max-width:$table) {
            margin-bottom: 150px;
        }
        @media screen and(max-width:$moblie) {
            font-size: 32px;
            margin-bottom: 30px;
        }
    }
    .process-box {
        width: 60vw;
        display: grid;
        margin: 0px auto;
        grid-template-columns: repeat(2, 1fr);
        @media screen and(max-width:$moblie) {
            width: 70vw;
        }
    }
    img {
        width: 128px;
        height: 128px;
        object-fit: cover;
        @media screen and(max-width:$table) {
            height: 256px;
            width: 256px;
        }
        @media screen and(max-width:$moblie) {
            width: 128px;
            height: 128px;
        }
    }
    .process-title {
        text-align: center;
        width: 190px;

        @media screen and(max-width:$table) {
            width: 30vw;
        }
        @media screen and(max-width:$table) {
            width: 40vw;
        }

        .p-text{
            font-size: 20px;
            font-family: 微軟正黑體;
            font-weight: bolder;
            color: $process;
            @media screen and(max-width:$table) {
                width: 40vw;
                font-size: 38px;
            }
            @media screen and(max-width:$moblie) {
                font-size: 18px;
            }
        }
        img {
            
            @media screen and(max-width:$table) {
                margin-top: 80px;
                width: 40px;
                height: 40px;
            }
            @media screen and(max-width:$moblie) {
                width: 8vw;
                height:8vw;
                margin-top: 10px;
            }
        }
    }
}

#feedback {
    margin: auto;
    width: 70vw;
    @media screen and(max-width:$moblie) {
        width: 90vw;
    }

    .feedback-slider1 {
        width: 70vw;
        @media screen and(max-width:$moblie) {
            width: 90vw;
        }
    }
    h1 {
        margin-top: 150px;
        margin-bottom: 50px;
    }
    .box {
        position: relative;
        p {
            margin: 20px;
            text-align: center;
            font-size: 18px;
            font-weight: 600;
        }

        img {
            width: 390px;
            height: 195px;
            object-fit: cover;
            @media screen and(max-width:$table) {
                width: 70vw;
                height: 30vh;
            }
            @media screen and(max-width:$moblie) {
                width: 90vw;
            }
        }
        .play{
            position: absolute;
            left:40vw;
            top:25vw;
            width: 15vw;
            height: 15vw;
            opacity: 0.8;
            z-index: 10;
           
        }
    }
}
#contact-us {
    p {
        font-size: 16px;
        font-weight: 600;
        margin: 0px 10px;

        @media screen and(max-width:$table) {
            font-size: 24px;
            text-align: center;
        }
        @media screen and(max-width:$moblie) {
            font-size: 16px;
        }
    }

    #form-title {
        padding-top: 100px;
        margin-bottom: 50px;
        color: #5c5248;
    }
    #form-text {
        width: 100vw;
        margin: 30px auto;
        @media screen and(max-width:$table) {
            font-size: 24px;
            text-align: center;
            margin: 30px auto;
        }
        @media screen and(max-width:$moblie) {
            font-size: 16px;
            margin: 30px auto;
        }
    }
    h1 {
        text-align: center;
        font-size: 24px;
        @media screen and(max-width:$table) {
            font-size: 36px;
        }
        @media screen and(max-width:$moblie) {
            font-size: 24px;
        }
    }
    #contact-form {
        text-align: center;
        .btn {
            margin: 50px auto;
            border: none;
            padding: 15px;
            background: #ffaf60;
            color: rgb(64, 72, 84);
            font-size: 20px;
            width: 300px;
            border-radius: 30px;

            &:hover {
                color: #fff;
                background-color: #745c54;
            }
        }
        #location,
        #type,
        #modal,
        #budget,
        #square,
        #style,
        #date,
        #email,
        #name,
        #phone,
        #gender,
        #rooms,
        #livingroom,
        #bathroom {
            border-radius: 3px;
            width: 85%;
            height: 60px;
            margin: 15px 0;
            padding-left: 15px;
            border: 1px solid rgba(0, 0, 0, 0.3);
            font-size: 18px;
            appearance: none;
            background: url(./img/icondown.webp) 95% 50% no-repeat scroll transparent;
            background-size: 10px 10px;
            background-color: #fff;
        }
        #square,
        #date,
        #email,
        #name,
        #phone {
            font-size: 18px;
            width: 85%;
            background: none;
        }
        #gender {
            display: block;
            margin: 0 auto;
        }
        #facebook {
            margin: 15px auto;
            width: 85vw;
            height: 60px;
            border: 1px solid #3B5998;
            text-align: right;
            // background: url(./img/facebook.png) 10% 50% no-repeat scroll transparent;
            // background-size: 32px 32px;
            background-color: #fff;
            transition: 0.3s;
            position: relative;
            p {
                position: absolute;
                right: 30px;

                font-weight: normal;
                @media screen and(max-width:$table) {
                    top: 10px;
                }

                @media screen and(max-width:$moblie) {
                    top: 15px;
                }
            }
            img {
                position: absolute;
                left: 30px;
                top: 15px;
                width: 32px;
                height: 32px;
            }
            &:hover {
                background-color: #2a4f91;
                color: #fff;
                img {
                    filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%) contrast(106%);
                }
            }
        }
        a {
            text-decoration: none;
            color: #ee751b;
        }
        #checkbox {
            margin-top: 50px;
            padding: 20px;
            width: 15px;
            height: 15px;
        }
        #email,
        #name,
        #phone {
            background: none;
            background-color: #fff;
        }

        .option {
            width: 85%;
        }
    }

    #form {
        text-align: center;
        position: relative;
      

        #phone {
            position: absolute;
            left: 500px;
        }
    }
}

#footer {
    margin-top: 50px;
    padding-top: 50px;
    width: 100vw;
    height: 150px;
    background-color: #ebe6e2;
    color: $title-color;
    text-align: center;
    font-size: 16px;
    line-height: 2;
    font-weight: 900;
    a {
        text-decoration: none;
        color: $title-color;
    }
    p {
        margin-left: 5px;
        display: inline;
    }
}

#menu-box {
    top: 60px;
    height: 45vh;
    width: 100vw;
    position: fixed;
    z-index: 5;
    overflow: hidden;


    hr {
        margin-left: 10px;
       width: 350px;
        background: #65584c;
        
    }
    #menu-box2 {
        width: 100vw;
        height: 45vh;
        background-color: #f4f4f3;
        opacity: 0.9;
        z-index: 7;
        text-align: center;
    
        #menu-link {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            width: 350px;
            margin: 0 auto;
        }
        .menu-logo {
            opacity: 1;
            img {
                width: 40px;
                height: 40px;
                filter: invert(34%) sepia(7%) saturate(1111%) hue-rotate(347deg) brightness(98%) contrast(88%);
            }
        }

        a {
            display: inline-block;
            text-decoration: none;
            color: #65584c;
            font-size: 16px;
            margin-top: 20px;
            
        }

        .menu-text {
            width: 100vw;
            text-align: center;
            margin-bottom: 10px;
        }
    }
}
