* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
$table: 1024px;
$moblie: 767px;
$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');
$Font-color: #fff;
$toggle: #9c857b;
$title-color: #4b515e;
body {
   
    .title {
        font-weight: bolder;
        padding: 15px;
        font-family: 'Noto Serif TC', serif !important;
        color:$title-color;
        text-align: center;
        @media screen and(max-width:$table) {
            font-size: 48px;
        }
        @media screen and(max-width:$moblie) {
            font-size: 40px;
        }
        @media screen and(max-width:400px) {
            font-size:30px!important;
           
        }
        
    }
    .btn {
        width: 100vw;
        text-align: center;
    }
    .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;
        &:hover {
            background-color: $toggle;
            width: 285px;
            font-size: 16px;
        }
        @media screen and(max-width:$table) {
            font-size: 16px;
            padding: 15px;
        }
    }
    .arrow {
        position: fixed;
        right: 3vw;
        bottom: 100px;
        width: 45px;
    height: 40px;
        z-index: 10;
        background-color: #E06649;
        &:hover{
            box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35);
        }


    }
}
.navigation {
    width: 100vw;
    height: 60px;
    background: #fff;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.3);
    // position: relative;
    z-index: 5;
    position: fixed;
    overflow: hidden;

    .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: 50vh;
    overflow: hidden;
    position:relative;
    @media screen and(max-width:$moblie) {
        height: 90vh;
    }
    .banner-slider {
        height: 45vh;
        @media screen and(max-width:$moblie) {
            height: 80vh;
        }

        .slick-dots {
            margin-bottom: 50px;
            ::before{
                color:#fff;
            }

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

            @media screen and(min-height:800px) {
                background-position:55% 50% ;
            }

            h1 {
                line-height: 40vh;
                text-align: center;
                padding: 15px;
                color: #fff;
                font-family: 追奇手寫體 !important;
                font-size: 72px;
                @media screen and(max-width:$moblie) {
                    line-height: 80vh;
                }
            }
            .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;
    width: 100vw;
    .title {
        text-align: center;
        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;
         }
        
    }
    .box{
        margin: 0 auto;
        width: 85vw;
        @media screen and(max-width:350px) {
            width: 90vw;
            
        }
    }
    .text {
        position: relative;
        .text2 {
            position: absolute;
            top: 15vw;
            left: 10vw;
            z-index: 1;
            @media screen and(max-width:$table) {
                width: 65vw;
                height: 30vw;
            }
            @media screen and(max-width:$moblie) {
                width: 80vw;
                left: 5vw;
            }
            @media screen and(max-width:350px) {
                width: 85vw;
                left: 3vw;
            }
            
           

            h2 {
                line-height: 1.5;
                color: #fff;
                text-align-last: left;
                font-size: 20px;
                letter-spacing: 1px;
                font-weight: 900;
                @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: 85vw;
        height: 30vh;
        object-fit: cover;
        filter: brightness(70%);
        @media screen and(max-width:$moblie) {
            width: 85vw;
        }
        @media screen and(max-width:350px) {
            width: 90vw;
            
        }
    }
}
#service {
    width: 100vw;
    text-align: center;
    h1{
        @media screen and(max-width: 400px) {
            margin: 50px 0;
            padding: 0;
            font-size: 30px !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{
                color: #000;
                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:30px!important;
           
        }
    }
    
}
#service-process {
   
    margin: 0 auto;
    width: 65vw;
    background-color: #f7f7f7;
    @media screen and(max-width:$moblie) {
        width: 85vw;
    }
    h1 {
        
        @media screen and(max-width:$table) {
            margin-bottom: 150px;
        }
        @media screen and(max-width:$moblie) {
            font-size: 32px;
            margin-bottom: 30px;
        }
    }
    #box1-text{
        margin-top: 100px;
        @media screen and(max-width:$moblie) {
            margin-top: 50px;
        }
    }
    .process-box {
        width: 65vw;
        display: grid;
        margin: 0px auto;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 3vw;
        @media screen and(max-width:$moblie) {
            width: 75vw;
        }

    }
    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;
                width: 40vw;
            }
            @media screen and(max-width:350px) {
                font-size: 16px;
            }
        }
        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;
    padding-top: 50px;
   
    @media screen and(max-width:$moblie) {
        width: 90vw;
    }

    .feedback-slider1 {
        width: 70vw;
        @media screen and(max-width:$moblie) {
            width: 90vw;
        }
    }
    h1 {
       
        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:32vw;
            top:15vw;
            width: 10vw;
            height: 10vw;
            opacity: 0.8;
            z-index: 10;
            @media screen and(max-width:$moblie) {
            left:40vw;
            top:20vw;
            width: 15vw;
            height: 15vw;
            opacity: 0.8;
            z-index: 10;
            }
           
        }
    }
}
#contact-us {
    margin: 0 auto;
    width: 100vw;
    background: #fafafa;
    position: relative;
    padding-bottom: 5vw;
    .navbar{
        img{
            width: 180px;
        }
    }
    #sec-contact {
        width: 100vw;
        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);
       
    }
    

    .form-title {
        margin: 0 auto;
        text-align: center;
        h1 {
            text-align: center;
            font-size: 1.75rem;
            font-weight: 900;
        }
        p {
            font-size: 18px;
            margin-bottom: 0;
        }
    }
    #contact-form {
        width: 85%;
        margin: 0 auto;
        padding: 10px;
        #loc,
        #type,
        #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) 98% 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 {
  
    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: 25vh;
    width: 100vw;
    position: fixed;
    z-index: 5;
    overflow: hidden;
    @media screen and(max-width:$moblie) {
        height: 47vh;
    }
    @media screen and(max-width:350px) {
        height: 55vh;
    }



    hr {
        display: inline-block;
        margin: 0px auto !important;
       width: 90vw;
        background: #65584c;
        
    }
    #menu-box2 {
        width: 100vw;
        height: 25vh;
        background-color: #f4f4f3;
        opacity: 0.9;
        z-index: 7;
        text-align: center;
        @media screen and(max-width:$moblie) {
            height: 45vh;
        }
        @media screen and(max-width:350px) {
            height: 55vh;
        }
    
        #menu-link {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            width: 80vw;
            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%);
                @media screen and(max-width:$moblie) {
                    width: 35px;
                    height: 35px;
                }
                @media screen and(max-width:350px) {
                    width: 35px;
                    height: 35px;
                }
            }
        }

        a {
            display: inline-block;
            text-decoration: none;
            color: #65584c;
            font-size: 16px;
            margin-top: 20px;
            font-weight: 900;
            @media screen and(max-width:$moblie) {
                margin-top: 4vw;
            }
           
        }

        .menu-text {
            width: 100vw;
            text-align: center;
            margin-bottom: 10px;
            @media screen and(max-width:$moblie) {
                margin-bottom: 5px !important;
            }
            
        }
    }
}
