* { margin: 0; padding: 0; box-sizing: border-box; font-family: 微軟正黑體; } $Font-color: #fff; @font-face { font-family: 追奇手寫體; src: url(./drechifont-proportional.ttf); font-weight: 900; } body { height: 5300px; .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: rgb(65, 72, 84); } } // 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: 0; z-index: 5; display: grid; grid-template-columns: 2fr 4fr; .logo { padding-left: 100px; img { width: 200px; } } .link { text-align: right; padding: 30px; padding-right: 150px; a { text-decoration: none; color: $Font-color; padding-right: 40px; } hr { width: 100px; background: #fff; height: 3px; } } } hr { width: 85vw; position:absolute; top: 100px; left: 100px; z-index: 5; } } // content1 #content1 { display: grid; grid-template-columns: 1fr 1fr; margin: 100px 120px; width: 80vw; .content1-left { width: 510x; height: 700px; text-align: left; margin: 30px auto; padding: 10px; #left-title { margin-top: -10px; padding: 10px; margin-bottom: 50px; font-weight: bolder; font-size: 50px; font-family: "Times New Roman", Times, serif; color: rgb(65, 72, 84); } .left { display: grid; grid-template-columns: 1fr 4fr; grid-gap: 10px; padding: 5px; width: 500px; .title1 { padding: 10px; text-align: center; font-size: 96px; font-weight: 400; font-family: "Times New Roman", Times, serif; color: rgb(133, 147, 164); } .text { margin-top: 40px; p { font-size: 24px; font-weight: bold; color: rgb(63, 70, 84); } } } } .content1-right { margin-left: 70px; img { width: 550px; height: 680px; object-fit: cover; } } } // service #service { width: 100vw; height: 100vh; margin: 0 auto; background: #eee; h1 { padding: 15px; margin-left: 190px; margin-bottom: 80px; } #service-text { display: grid; grid-template-columns: 1fr 1fr; width: 80vw; height: 150px; grid-gap: 50px; margin: 20px 250px; .icon-text { width: 450px; margin-left: 50px; margin-top: 15px; font-weight: 600; } img { width: 128px; height: 128px; } p { font-size: 18px; line-height: 1.5; } #text-left { width: 30vw; text-align: left; display: grid; grid-template-columns: 1fr 1fr; } #text-right { width: 30vw; text-align: left; display: grid; grid-template-columns: 1fr 1fr; } } #service-img { width: 80vw; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; grid-gap: 10px; img { width: 40vw; height: 40vh; object-fit: cover; } } .btn { text-align: center; margin-bottom: 100px; } } // service-process #service-process { width: 100vw; height: 80vh; background-color: #fff; h1 { padding: 15px; margin-left: 190px; padding-top: 100px; margin-bottom: 80px; } #process-box { display: grid; grid-template-columns: repeat(6, 1fr); width: 80vw; margin: 0 auto; p { text-align: center; font-size: 18px; font-weight: 600; padding-right: 30px; } img { width: 205px; height: 205px; } } } // feedback #feedback { margin-bottom: 200px; h1 { margin-top: 50px; margin-bottom: 50px; } #feedback-box { width: 1200px; height: 400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 15px; .box { p { text-align: center; font-size: 18px; font-weight: 600; } img { width: 390px; height: 195px; object-fit: cover; } } } } #contact-us { margin: 0 auto; width: 100vw; height: 130vh; background: #eee; p { font-size: 16px; font-weight: 600; padding-left: 350px; margin: 0px 10px; line-height: 1.5; } #form-title { padding-top: 100px; margin-bottom: 50px; color: #5c5248; } h1 { text-align: center; font-size: 32px; margin-right: 50px; } #contact-form { margin: 0 350px; width: 1000px; display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 10px; #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.png) 95% 50% no-repeat scroll transparent; background-size: 10px 10px; background-color: #fff; } #form-left { width: 380px; #rooms, #livingroom, #bathroom { width: 32.5%; height: 50px; margin: 15px 0; padding: 5px; font-size: 18px; appearance: none; background: url(./img/icondown.png) 85% 50% no-repeat scroll transparent; background-size: 10px 10px; background-color: #fff; } } #form-right { width: 380px; #facebook { margin-top: 12px; width: 380px; 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; height: 130px; background-color: #ffe4ca; color: #9f5000; text-align: center; font-size: 18px; line-height: 130px; a { text-decoration: none; color: #9f5000; } p { display: inline; } }