* { margin: 0; padding: 0; box-sizing: border-box; } @font-face { font-family: 追奇手寫體; src: url(./drechifont-proportional.ttf); font-weight: 900; } $Font-color: #fff; body { height: 6000px; .title { font-weight: bolder; padding: 15px; font-family: "Times New Roman", Times, serif; font-size: 36px; color: rgb(65, 72, 84); text-align: center; } .btn { text-align: center; margin-top: 30px; } .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 { height: 60px; box-shadow:0 5px 9px rgba(0, 0, 0, 0.3); position: relative; z-index: 5; .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{ overflow: hidden; .banner1,.banner2,.banner3{ margin-top: -6px; h1 { text-align: center; line-height: 500px; padding: 15px; color: $Font-color; font-family: 追奇手寫體; font-size: 72px; } height: 70vh; background-size: cover; background-repeat: no-repeat; background-position: 40% 50%; background-size: 700px 500px; } .banner1{ background-image: url(./img/001.jpg); } .banner2{ background-image: url(./img/002.jpg); } .banner3{ background-image: url(./img/003.jpg); } } #content1 { margin-top: 100px; text-align: center; .title { margin: 30px 0px; font-family: "Times New Roman", Times, serif; } .text { position: relative; .text2 { position: absolute; top: 80px; left: 20px; z-index: 1; h2 { line-height: 1.5; color: #fff; text-align-last: left; font-size: 20px; margin-left: 20px; } } } img { margin: 15px auto; width: 400px; height: 200px; object-fit: cover; filter: brightness(70%); } } #service { h1 { margin: 50px; } .service-box { display: grid; grid-template-columns: repeat(2, 1fr); margin: 10px 0px; .text-left { height: 350px; width: 210px; background: #eee; text-align: center; .icon-text { margin: 30px; } p { font-family: 微軟正黑體; font-weight: bolder; font-size: 15px; line-height: 1.5; text-align: left; } img { margin-top: 30px; width: 128px; height: 128px; } } .text-right { img { width: 300px; height: 350px; object-fit: cover; } } } } #service-process { h1 { margin-top: 150px; margin-bottom: 50px; } .process-box { width: 350px; display: grid; margin: 10px auto; grid-template-columns: repeat(2, 1fr); } img { width: 128px; height: 128px; object-fit: cover; } .process-title { text-align: center; width: 190px; margin-right: 50px; p { font-size: 20px; font-family: 微軟正黑體; font-weight: bolder; } img { margin: 20px; width: 32px; height: 32px; } } } #feedback { .feedback-slider1{ margin: 10px; } h1 { margin-top: 150px; margin-bottom: 50px; } .box { p { margin: 20px; text-align: center; font-size: 18px; font-weight: 600; } img { width: 390px; height: 195px; object-fit: cover; } } } #contact-us { p { font-size: 16px; font-weight: 600; margin: 0px 10px; } #form-title { padding-top: 100px; margin-bottom: 50px; color: #5c5248; } #form-text { margin: 30px auto; margin-left: 50px; } h1 { text-align: center; font-size: 24px; } #contact-form { text-align: center; #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/icondown.png) 95% 50% no-repeat scroll transparent; background-size: 10px 10px; background-color: #fff; } #square, #date, #email, #name, #phone { font-size: 18px; width: 80%; } #gender { display: block; margin: 0 auto; } #facebook { margin: 15px auto; width: 350px; height: 60px; border: 1px solid #000093; 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: 30px; top: 20px; font-weight: normal; } img { position: absolute; left: 30px; top: 15px; 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; padding: 15px; width: 15px; height: 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: 300px; border-radius: 30px; &:hover { color: #fff; background-color: #745c54; } } #phone { position: absolute; left: 500px; } } } #footer { margin-top: 50px; padding-top: 50px; width: 100vw; height: 100px; background-color: #ffe4ca; color: #9f5000; text-align: center; font-size: 18px; line-height: 2; a { text-decoration: none; color: #9f5000; } p { margin-left: 5px; display: inline; } } #menu-box { top: 60px; height: 45vh; width: 100vw; position: fixed; z-index: 5; hr{ margin: 30px; background:#65584C; } #menu-box2 { width: 100vw; height: 45vh; background-color: #F4F4F3; opacity: 0.9; z-index: 7; text-align: center; #menu-link{ display: grid; grid-template-columns: repeat(3,1fr ); width: 350px; 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%); } } a { display: inline-block; text-decoration: none; color: #65584C; font-size: 16px; margin-top: 20px; } .menu-text { width: 100vwpx; text-align: center; margin-bottom: 10px; } } }