* {
   
    font-family: 微軟正黑體;
}
$Font-color: #fff;
$title-color: #4b515e;
$toggle: #9c857b;
$process: #6f645a;
@font-face {
    font-family: 追奇手寫體;
    src: url(./drechifont-proportional.ttf);
    font-weight: 900;
}

$destop: 1025px;

body {
    height: 5000px;
    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: bolder;
        font-family: "Times New Roman", Times, serif;
        padding: 15px;
        font-size: 45px;
        color: $title-color;
        padding-left: 10vw;
    }
    .arrow {
        position: fixed;
        right: 30px;
        bottom: 30px;
        width: 30px;
        z-index: 10;
    }
}

// banner

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

        .banner-slider {
            margin: 0 !important;
            padding: 0 !important;
            .banner1,
            .banner2,
            .banner3 {
                height: 100vh;
                background-size: cover;
                background-repeat: no-repeat;
                background-position: center;
                padding-right:0 !important;
            }
            .banner1 {
                background-image: url(./img/banner/00.webp);
            }
            .banner2 {
                background-image: url(./img/banner/002.webp);
            }
            .banner3 {
                background-image: url(./img/banner/003.webp);
            }
        }
        h1 {
            padding: 15px;
            color: $Font-color;
            font-family: 追奇手寫體;
            font-size: 72px;
        }
        .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;

        .logo {
            padding-top: 1.5vw;
            padding-left: 12vw;
            img {
                width: 120px;
            }
        }
        .link {
            text-align: right;
            padding: 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;
                  }
            }
        }
    }
    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: "Times New Roman", Times, 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 {
                cursor: pointer;
                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: 30vw;
                text-align: left;
                display: grid;
                grid-template-columns: 1fr 1fr;
                .img-icon {
                    width: 12vw;
                }
            }
            #text-right {
                padding-left: 1vw;
            }
            .icon-text {
                width: 25vw;
                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: $title-color;
            }
        }
        #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 {
    width: 100vw;
    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: 78vw;
        margin: auto;

        .box-text {
            font-family: 微軟正黑體;
            text-align: center;
            font-size: 18px;
            font-weight: 900;
            padding-right: 3vw;
            color: $process;
        }
        img {
            width: 180px;
            height: 180px;
            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;
    width: 100vw;

    background: #eee;
    position: relative;
 
    .contact-text {
        margin: 0 auto;
        width: 68vw;

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

    .form-title {
        width: 70vw;
        margin: 0 auto;
        padding-top: 100px;
        margin-bottom: 120px;
        color: #5c5248;

        h1 {
            text-align: center;
            font-size: 32px;
            font-weight: 900;
        }
    }
    #contact-form {
        width: 75vw;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 10px;
        margin: 0 auto;
        position: relative;
        hr {
            position: absolute;
            width: 34vw;
            transform: rotate(90deg);
            left: 20vw;
            top:19vw;
        }
        #location,
        #type,
        #modal,
        #budget,
        #square,
        #style,
        #date,
        #email,
        #name,
        #phone,
        #gender {
            width: 100%;
            height: 50px;
            margin: 10px 0;
            padding-left: 10px;
            border: 1px solid rgba(0, 0, 0, 0.3);
            padding: 10px 15px;
            font-size: 16px;
            border-radius: 3px;
            appearance: none;
            background: url(./img/icondown.webp) 95% 50% no-repeat scroll transparent;
            background-size: 10px 10px;
            background-color: #fff;
        }
        #form-left {
            width: 28vw;
            margin-left: 3vw;
          

            #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;
            }
            #square,
            #date{
                background:none;
                background-color: #fff;

            }
        }
        #form-right {
            width: 29vw;
            margin-left: 5vw;

            #facebook {
                margin-top: 12px;
                width: 29vw;
                height: 50px;
                border: 1px solid #3B5998;
                text-align: right;
                padding-right: 50px;
                line-height: 50px;
                // background: url(./img/facebook.png) 10% 50% no-repeat scroll transparent;
                // background-size: 32px 32px;
                background-color: #fff;
                transition: 0.3s;
                position: relative;
                img {
                    position: absolute;
                    left: 50px;
                    top: 7px;
                    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;
                 font-weight:900;
            }
            #checkbox {
                margin: 15px;
            }
            #email,
            #name,
            #phone{
                background: none;
                background-color: #fff;
            }
        }
    }
    .btn {
        margin: 50px auto;
        border: none;
        padding: 15px;
        background: #edbc96;
        color: #4b515e;
        font-size: 20px;
        width: 450px;
        border-radius: 10px;

        &:hover {
            color: #fff;
            background-color: #745c54;
        }
    }
    .form-btn {
        text-align: center;
        position: relative;
        width: 75vw;
        margin: 0 auto;
        #phone {
            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;
        }
    }
}
