* { margin: 0; padding: 0; box-sizing: border-box; font-family: 微軟正黑體; } $Font-color: #fff; $title-color: #4b515e; $toggle:#9c857b ; @font-face { font-family: 追奇手寫體; src: url(./drechifont-proportional.ttf); font-weight: 900; } $destop: 1025px; body { height: 5000px; .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: #927368; width: 285px; font-size: 17px; } } } .title { font-weight: bolder; padding: 15px; font-family: "Times New Roman", Times, serif; padding: 15px; margin-left: 190px; font-size: 50px; color: $title-color; } .arrow { position: fixed; right: 30px; bottom: 30px; width: 30px; z-index: 10; } } // banner #banner { width: 100vw; // height: 100vh; position: relative; #text { text-align: center; .banner-slider { .banner1, .banner2, .banner3 { width: 100vw; height: 100vh; background-size: cover; background-repeat: no-repeat; background-position: center; } .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; margin-top: 300px; } .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: #927368; width: 285px; font-size: 17px; } } } .Navigation { width: 100vw; height: 50px; position: absolute; 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 { text-decoration: none; color: $Font-color; padding-right: 35px; letter-spacing: 1px; font-size: 0.9rem; font-weight: 600; cursor: pointer; } hr { width: 100px; background: #fff; height: 3px; } } } hr { width: 85vw; position: absolute; top: 90px; left: 100px; height: 1px; z-index: 5; } } // content1 #content1 { display: grid; grid-template-columns: 1fr 1fr; margin: 100px 120px; width: 85vw; grid-gap: 100px; .hr{ width: 35vw; } .content1-left { width: 35vw; // height: 700px; text-align: left; margin: 30px auto; padding: 10px; .contant-toggle{ color:$toggle!important; } .contant-toggle2{ color:$title-color!important; } .title { margin: 0; margin-top: -10px; padding: 10px; margin-bottom: 50px; font-weight: bolder; font-size: 50px; font-family: "Times New Roman", Times, serif; color: $title-color; } .left { display: grid; grid-template-columns: 1.5fr 3fr; grid-gap: 10px; width: 35vw; .title1 { text-align: center; font-size: 96px; font-weight: 400; font-family: "Times New Roman", Times, serif; color: $title-color; } .text1,.text2,.text3 { cursor: pointer; margin: auto 0; .text-1, .text-2, .text-3 { font-size: 20px; font-weight: bold; color:$title-color; } } } } .content1-right { margin: auto 10px; width: 35vw; .slick-dots { margin-bottom: 50px; ::before{ color:#fff; } } img { width: 32vw; height: 40vw; object-fit: cover; } } } // service #service { width: 100vw; h1 { padding: 15px; margin-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; } } .icon-text { width: 25vw; margin-top: 15px; font-weight: 600; } img { width: 128px; height: 128px; } .text-p { font-size: 18px; } } #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: 80vw; margin: auto; .box-text { text-align: center; font-size: 18px; font-weight: 600; padding-right: 30px; } img { width: 180px; height: 180px; } } } // feedback #feedback { width: 100vw; margin-bottom: 200px; h1 { margin-top: 50px; margin-bottom: 50px; margin-left: 10vw; } #feedback-box { width: 80vw; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); .box { width: 25vw; height: 30vh; transition: 0.5s; text-align: center; img { width: 25vw; margin: 0 auto; height: 24vh; 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; hr { position: absolute; width: 500px; transform: rotate(90deg); top: 80vh; left: 33vw; } .contact-text { margin: 0 auto; width: 65vw; .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; } } #contact-form { width: 75vw; display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 10px; margin: 0 auto; #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); font-size: 18px; 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: 5vw; #rooms, #livingroom, #bathroom { width: 32.5%; height: 50px; margin: 15px 0; padding: 5px; font-size: 18px; appearance: none; background: url(./img/icondown.webp) 85% 50% no-repeat scroll transparent; background-size: 10px 10px; background-color: #fff; } } #form-right { width: 28vw; margin-left: 5vw; #facebook { margin-top: 12px; width: 28vw; height: 50px; border: 1px solid #000093; 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: #ff8000; } #checkbox { margin: 15px; } #email, #name, #phone { background: none; background-color: #fff; } } } #form { text-align: center; position: relative; #btn { margin: 50px auto; border: none; padding: 15px; background: #ffaf60; color: rgb(64, 72, 84); font-size: 20px; width: 450px; border-radius: 10px; &:hover { color: #fff; background-color: #745c54; } } #phone { position: absolute; left: 500px; } } } #footer { width: 100vw; background-color: #ffe4ca; color: #9f5000; text-align: center; font-size: 18px; line-height: 130px; a { text-decoration: none; color: #9f5000; } p { display: inline; } }