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

$process: #6f645a;
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;600&display=swap');
// 行動裝置
@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;
        }
    }
    
    .arrow {
        position: fixed;
        right: 3vw;
        bottom: 50px;
        width: 45px;
        height: 40px;
        z-index: 10;
        background-color: #E06649;
        &:hover{
            box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35);
        }


    }
}

#banner-box {
    height: 50vh;
    overflow: hidden;
    position: relative;
   
    @media screen and(max-width:$moblie) {
        height: 90vh;
    }
    @media screen and(max-width:550px) {
        height: 100vh;
    }
    hr {
        width: 100vw;
        position: absolute;
        top: 7vw;
        z-index: 5;
        height: 2px;
        background: #fff;
        @media screen and(max-width:$moblie) {
            top: 12vw;
        }
    }
    .logo {
        padding: 5px;
        margin-bottom: 6px;
        padding-left: 10px;
        position: absolute;
        z-index: 5;
        img {
            width: 128px;
        }
        @media screen and(max-width:$moblie) {
            padding-left: 10px;
        }
    }
    .bannertitlebox {
        padding-top: 10vw;
        @media screen and(max-width:$moblie) {
            padding-top: 25vw;
        }
        @media screen and(max-width:400px) {
            padding-top: 25vw;
        }
    }
    .menu-btn1 {
        padding: 10px;
        position: absolute;
        right: 5px;
        z-index: 5;
        top: 5px;
        img {
            margin: 2px;
            width: 4vw;
            filter: invert(100%) sepia(0%) saturate(10%) hue-rotate(238deg) brightness(104%) contrast(103%);
            transition: 0.3s;
            &:hover {
                filter: none;
            }
            @media screen and(max-width:$moblie) {
                width: 6vw;
            }
        }
    }

    .banner1 {
        width: 100vw;
        height: 50vh;
        background-size: contain;
        background-repeat: no-repeat;
        background-size: 100vw 50vh;
        @media screen and(max-width:$moblie) {
            height: 80vh;
            background-size: 100vw 80vh;
        }

        .black {
            width: 5vw;
            display: block;
            margin: 1vw auto;
            @media screen and(max-width:$moblie) {
                width: 10vw;
            }
        }
        .banner-titleh1 {
            text-align: center;
            color: #fff;
            font-size: 35px;
            font-weight: bolder;
            font-family: 'Noto Serif TC', serif;
           
        }
        .process-box {
            display: grid;
            width: 90vw;
            grid-template-columns: repeat(4, 1fr);
            margin: 0 auto;
            @media screen and(max-width:$moblie) {
                grid-template-columns: repeat(2, 1fr);
                width: 65vw;
                margin: 0 auto;
                width: 70vw;
            }

            .box-text {
                font-family: 微軟正黑體;
                text-align: center;
                font-size: 16px;
                font-weight: 900;
                color: $Font-color;

                @media screen and(max-width:$moblie) {
                    font-size: 16px;
                }
                @media screen and(max-width:400px) {
                    font-size: 12px;
                }
            }
            img {
                display: block;
                margin: 0 auto;
                width: 15vw;
                @media screen and(max-width:$moblie) {
                    width: 30vw;
                }
            }
        }

        @media screen and(max-width:$moblie) {
            height: 100vh;
            background-size: cover;
            background-position: center center;
        }

    }
    .banner1 {
        background-image: url(./img/banner/001.webp);
    }

}

#contact-us {
    padding-top: 50px;
    p {
        font-size: 16px;
        font-weight: 600;
        margin: 0px 10px;
        color: #5c5248;
        @media screen and(max-width:$table) {
            font-size: 24px;
            text-align: center;
        }
        @media screen and(max-width:$moblie) {
            font-size: 16px;
        }
    }

    #form-title {
        margin-bottom: 50px;
     
    }
    #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-family: 'Noto Serif TC', serif;
        color:$title-color;
        font-weight: bolder;
        @media screen and(max-width:$table) {
            font-size: 36px;
        }
        @media screen and(max-width:$moblie) {
            font-size: 20px;
        }
    }
    #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/icondown1.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;
        }
        #fb-button{
            border-radius: 3px;
            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: 2vw;
                font-weight: normal;
                color:#626262;
                @media screen and(max-width:$table) {
                    top: 2vw;
                    right: 10vw;
                    font-size: 20px;
                }

                @media screen and(max-width:$moblie) {
                    top: 3vw;
                    right: 1vw;
                }
            }
            img {
                position: absolute;
                left: 30px;
                top: 15px;
                width: 32px;
                height: 32px;
                filter: invert(29%) sepia(70%) saturate(712%) hue-rotate(186deg) brightness(89%) contrast(81%);
            }
            &:hover {
                background-color: #2a4f91;
                color: #fff;
                p{
                    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;
        }
        #email,
        #name,
        #phone {
            background: none;
            background-color: #fff;
        }

        .option {
            width: 85%;
        }
    }

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

        #phone {
            position: absolute;
            left: 500px;
        }
    }
}
#feedback {
    margin: auto;
    width: 70vw;
    padding-bottom: 100px;
    @media screen and(max-width:$moblie) {
        width: 90vw;
    }

    .feedback-slider1 {
        width: 70vw;
        @media screen and(max-width:$moblie) {
            width: 90vw;
        }
    }
    h1 {
        margin-top: 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: 20vw;
            width: 15vw;
            height: 15vw;
            opacity: 0.8;
            z-index: 10;
        }
    }
}

#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;
    }
}
