* { margin: 0; padding: 0; box-sizing: border-box; } $table: 1024px; $moblie: 767px; $process: #6f645a; // 行動裝置 @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; } } } #banner-box { height: 80vh; overflow: hidden; position: relative; hr{ width: 100vw; position: absolute; top: 12vw; z-index: 5; height: 2px; background:#fff; } .logo { padding: 5px; margin-bottom: 5px; position: absolute; z-index:5; img { width: 128px; } } .menu-btn1 { padding: 10px; position: absolute; right:5px; z-index:5; top:5px; img{ margin: 2px; width: 6vw; 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) { height: 80vh; } .banner-slider { .slick-dots { margin-bottom: 50px; ::before { color: #fff; } @media screen and(max-width:$table) { font-size: 48px; } } .banner1, .banner2, .banner3 { width: 100vw; height: 80vh; // background-size: contain; background-repeat: no-repeat; background-size: 100vw 70vh; .banner-titleh1 { text-align: center; color: #fff; font-size: 25px; font-weight: 900; } .process-box { display: grid; grid-template-columns: repeat(2, 1fr); width: 70vw; margin: auto; .box-text { font-family: 微軟正黑體; text-align: center; font-size: 12px; font-weight: 900; color: $Font-color; padding-right: 5vw; @media screen and(max-width:$moblie) { font-size: 14px; } @media screen and(max-width:400px) { font-size: 12px; } } img { width: 28vw; } } @media screen and(max-width:$moblie) { height: 80vh; background-size: cover; background-position: center center; } @media screen and(max-width:$table) { height: 80vh; } } .banner1 { background-image: url(./img/banner/001.webp); } .banner2 { background-image: url(./img/banner/002.webp); } .banner3 { background-image: url(./img/banner/003.webp); } } } #contact-us { p { font-size: 16px; font-weight: 600; margin: 0px 10px; @media screen and(max-width:$table) { font-size: 24px; text-align: center; } @media screen and(max-width:$moblie) { font-size: 16px; } } #form-title { padding-top: 100px; margin-bottom: 50px; color: #5c5248; } #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-size: 24px; @media screen and(max-width:$table) { font-size: 36px; } @media screen and(max-width:$moblie) { font-size: 24px; } } #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/icondown.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; } #facebook { 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: 30px; font-weight: normal; @media screen and(max-width:$table) { top: 10px; } @media screen and(max-width:$moblie) { top: 15px; } } 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: #ee751b; } #checkbox { margin-top: 50px; padding: 20px; width: 15px; height: 15px; } #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: 25vw; 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; } }