* { margin: 0; padding: 0; box-sizing: border-box; } $table: 1024px; $moblie: 767px; $process: #6f645a; @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;600&display=swap'); // 行動裝置 @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; } } .arrow { position: fixed; right: 3vw; bottom: 50px; width: 45px; height: 40px; z-index: 10; background-color: #E06649; &:hover{ box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35); } } } #banner-box { height: 50vh; overflow: hidden; position: relative; @media screen and(max-width:$moblie) { height: 90vh; } @media screen and(max-width:550px) { height: 100vh; } hr { width: 100vw; position: absolute; top: 7vw; z-index: 5; height: 2px; background: #fff; @media screen and(max-width:$moblie) { top: 12vw; } } .logo { padding: 5px; margin-bottom: 6px; padding-left: 10px; position: absolute; z-index: 5; img { width: 128px; } @media screen and(max-width:$moblie) { padding-left: 10px; } } .bannertitlebox { padding-top: 10vw; @media screen and(max-width:$moblie) { padding-top: 25vw; } @media screen and(max-width:400px) { padding-top: 25vw; } } .menu-btn1 { padding: 10px; position: absolute; right: 5px; z-index: 5; top: 5px; img { margin: 2px; width: 4vw; 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) { width: 6vw; } } } .banner1 { width: 100vw; height: 50vh; background-size: contain; background-repeat: no-repeat; background-size: 100vw 50vh; @media screen and(max-width:$moblie) { height: 80vh; background-size: 100vw 80vh; } .black { width: 5vw; display: block; margin: 1vw auto; @media screen and(max-width:$moblie) { width: 10vw; } } .banner-titleh1 { text-align: center; color: #fff; font-size: 35px; font-weight: bolder; font-family: 'Noto Serif TC', serif; } .process-box { display: grid; width: 90vw; grid-template-columns: repeat(4, 1fr); margin: 0 auto; @media screen and(max-width:$moblie) { grid-template-columns: repeat(2, 1fr); width: 65vw; margin: 0 auto; width: 70vw; } .box-text { font-family: 微軟正黑體; text-align: center; font-size: 16px; font-weight: 900; color: $Font-color; @media screen and(max-width:$moblie) { font-size: 16px; } @media screen and(max-width:400px) { font-size: 12px; } } img { display: block; margin: 0 auto; width: 15vw; @media screen and(max-width:$moblie) { width: 30vw; } } } @media screen and(max-width:$moblie) { height: 100vh; background-size: cover; background-position: center center; } } .banner1 { background-image: url(./img/banner/001.webp); } } #contact-us { margin: 0 auto; width: 100vw; background: #fafafa; position: relative; padding-bottom: 5vw; .navbar{ img{ width: 180px; } } #sec-contact { width: 100vw; margin: 0 auto; background: #fff; box-shadow: 0 3px 1px -2px rgba(0,0,0,0.2), 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12); } .form-title { margin: 0 auto; text-align: center; h1 { text-align: center; font-size: 1.75rem; font-weight: 900; } p { font-size: 18px; margin-bottom: 0; } } #contact-form { width: 85%; margin: 0 auto; padding: 10px; #loc, #h_class, #modal, #budget, #size, #style, #datepicker, #email, #name, #phone, #gender { width: 100%; height: 50px; margin: 20px 0; border: 1px solid rgba(0, 0, 0, 0.3); padding: .375rem .75rem; font-size: 1rem; border-radius: 3px; appearance: none; background: url(./img/icondown.webp) 98% 50% no-repeat scroll transparent; background-size: 10px 10px; background-color: #fff; } #form-left { // #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; // } #datepicker { background: none; background-color: #fff; } } #fb-button { margin-top: 12px; width: 29vw; height: 50px; border: 1px solid #3b5998; text-align: right; padding-right: 60px; background-size: 32px 32px; border-radius: 3px; background-color: #fff; transition: 0.3s; position: relative; p { position: absolute; top: 1vw; left: 14vw; color: #626262; } #line { position: absolute; color: #9b9b9b; opacity: 0.8; left: 8vw; top: -0.1vw; } img { position: absolute; left: 50px; top: 10px; width: 32px; height: 32px; filter: invert(29%) sepia(70%) saturate(712%) hue-rotate(186deg) brightness(89%) contrast(81%); } &:hover { background-color: #2a4f91; color: #fff; img { filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%) contrast(106%); } p { color: #fff; } #line { color: #fff; } } } a { text-decoration: none; color: #ee751b; font-weight: 900; } #email, #name, #phone { background: none; background-color: #fff; } } .btn { width: 100%; margin: 16px auto; border: none; padding: 16px 12px; background: #ee7800; color: #fff; font-size: 20px; border-radius: .25rem; text-align: center; vertical-align: middle; &:hover { color: #fff; background-color: #745c54; } } .form-btn { text-align: center; position: relative; margin: 0 auto; #phone1 { 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: 20vw; 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; } }