* { margin: 0; padding: 0; box-sizing: border-box; font-family: 微軟正黑體; } $desktop: 1025px; $table: 1024px; $moblie: 767px; $Font-color: #fff; $title-color: #646464; $bgcolor: #f4fffc; $navbgcolor: #a9d0c5; @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@900&display=swap"); @font-face { font-family: 追奇手寫體; src: url(./drechifont-Proportional4.woff); font-weight: 900; } @media screen and(max-width:$table) { } @media screen and(max-width:$moblie) { } body { width: 100vw; background: $bgcolor; position: relative; z-index: -2; p { color: #adadad; @media screen and(max-width:$moblie) { font-size: 0.5rem; } } .title-main { font-family: "Noto Sans TC", sans-serif; font-weight: 600; color: $title-color; font-size: 2.5rem; @media screen and(max-width:$table) { font-size: 2rem; } @media screen and(max-width:350px) { font-size: 2rem; } } .line { background: #9b9a9a; height: 2px; width: 8vw; margin: 15px auto; @media screen and(max-width:$moblie) { width: 28vw; } } .arrow { position: fixed; right: 3vw; bottom: 0.5vw; width: 5vw; height: 5vw; z-index: 10; border-radius: 80px; @media screen and(max-width:$moblie) { width: 20vw; height: 20vw; } } // 手機板按鈕 #btn-a { text-decoration: none; #mobile-btn { display: block; margin: 0 auto; width: 60vw; border-radius: 30px; padding: 12px; background: #fff; color: #a9d0c5; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); border: 3px solid #a9d0c5; font-weight: 900; transition: 0.3s; &:hover { background: #a9d0c5; color: #fff; } @media screen and(min-height:800px) { margin-top: 5vw; } } @media screen and(min-width:768px) { display: none; } @media screen and(min-width:$desktop) { display: none; } } } // 主選單 #Navigation { background: $navbgcolor; opacity: 0.9; height: 4.5vw; width: 100vw !important; position: fixed; z-index: 100; @media screen and(max-width:$table) { height: 8vw; } @media screen and(max-width:$moblie) { height: 15vw; position: fixed; z-index: 5; border-bottom: 1px solid rgba(255, 255, 255, 1) !important; } #nav { width: 100vw; margin: 0 auto; } // rwd要注意高度 #logo { padding-top: 1vw; @media screen and(max-width:$moblie) { padding-top: 2vw; } img { width: 120px; } } #link { text-align: right; padding: 1.5vw 3vw; @media screen and(max-width:$table) { padding-top: 2vw; } @media screen and(max-width:$moblie) { display: none; } a { text-decoration: none; color: $Font-color; letter-spacing: 1px; font-size: 0.9rem; font-weight: 600; cursor: pointer; padding: 15px; position: relative; :hover { opacity: 0.8; } &:after { content: ""; display: block; width: 80%; height: 3px; background-color: #fff; position: absolute; left: 12%; bottom: 0; transition: all 0.3s; opacity: 0; } &:hover:after { width: 80%; opacity: 1; } @media screen and(max-width:$table) { padding: 5px; padding-top: 2vw; } } } #menu-btn1 { position: absolute; right: 1vw; top: 1vw; width: 18vw; z-index: 6; @media screen and(min-width:$desktop) { display: none; } @media screen and(min-width:768px) { display: none; } } } // light-box #light-box { background-color: rgba(0, 0, 0, 0.8); width: 100vw; height: 100vh; z-index: 12; padding: 100px 50px 100px 50px; position: fixed; top: 0vw; @media screen and(max-width:$table) { padding: 100px 20px 100px 20px; } .close { position: absolute; right: 18vw; top: 4.5vw; @media screen and(max-width:$moblie) { right: 1vw; top: 33vw; } } .light-box1 { text-align: center; padding-bottom: 5vw; @media screen and(min-width:$desktop) { width: 60vw; margin: 0 auto; } .light-box { object-fit: cover; @media screen and(max-width:$moblie) { display: none; } } .light-box-m { padding-top: 15vw; width: 90vw; @media screen and(min-width:$desktop) { display: none; } } } } // 主視覺 #banner { background-size: cover; background-repeat: no-repeat; background-position: center; background-image: url(./img/banner/cover.png); position: relative; padding-bottom: 3vw; overflow: hidden; @media screen and(max-width:$moblie) { background-image: none; // height: 88vh; } @media screen and(max-width:350px) { height: 90vh; } // @media screen and(min-height:823px) { // height: 75vh; // } .banner1 { width: 85vw; padding-top: 10vw; text-align: center; a { text-decoration: none; } @media screen and(max-width:$moblie) { width: 100vw; padding-bottom: 40vh; padding-top: 20vw; } @media screen and(max-width:350px) { padding-top: 20vw; } // 手機背景 #mobilecover { object-fit: cover; width: 120vw; margin: 0 auto; display: block; position: absolute; top: 35vw; right: -5vw; z-index: -1; @media screen and(min-width:$desktop) { display: none; } @media screen and(max-width:350px) { top: 30vw; padding-top: 12vw; } #btn-a { text-decoration: none; #mobile-btn { display: block; margin: 0 auto; width: 60vw; border-radius: 30px; padding: 12px; background: #fff; color: #a9d0c5; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); border: 3px solid #a9d0c5; font-weight: 900; transition: 0.3s; &:hover { background: #a9d0c5; color: #fff; } } @media screen and(min-width:768px) { display: none; } @media screen and(min-width:$desktop) { display: none; } } } h1 { font-size: 28px; font-weight: 900; color: #555555; margin: 3vw 0px; text-align: center; @media screen and(max-width:$moblie) { font-size: 0.8rem; } } #bannertitle { display: block; width: 40vw; margin: 0 auto; @media screen and(max-width:$moblie) { width: 80vw; margin: 0 auto; } } .btn { display: block; margin: 0 auto; margin-top: 3vw; width: 15vw; border-radius: 30px; padding: 12px; background: #fff; color: #a9d0c5; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); border: 3px solid #a9d0c5; font-weight: 900; transition: 0.3s; &:hover { background: #a9d0c5; color: #fff; } @media screen and(max-width:$table) { width: 20vw; } @media screen and(max-width:$moblie) { display: none; } } } } .social-icons { position: fixed; left: 50px; bottom: 12.5rem; z-index: 10; display: flex; flex-direction: column; @media screen and(max-width:$table) { left: 30px; } a { text-decoration: none; display: block; margin-bottom: 10px; } img { width: 15px; height: 15px; object-fit: cover; } } .scroll-txt { transform: rotate(90deg); position: fixed; left: 5px; bottom: 8rem; z-index: 3; font-size: 12px; color: #707070; @media screen and(max-width:$table) { left: -2%; } p { font-weight: lighter; display: inline-block; position: relative; &::after { position: absolute; content: ""; left: 110%; top: 5%; width: 6rem; height: 50%; border-bottom: 0.5px solid; } } } // 困擾 #trouble { margin-top: 15px; padding-top: 5vw; background: $bgcolor; padding-bottom: 5vw !important; overflow: hidden; @media screen and(max-width:$moblie) { padding-top: 10vw; } @media screen and(min-height:800px) { padding-top: 0vw; } #trouble-img { position: relative; z-index: 1; #circle2 { position: absolute; top: 15vw; left: 45vw; width: 18vw; z-index: 0; transition: 0.3s; @media screen and(max-width:$moblie) { display: none; } } #circle3 { position: absolute; top: 55vw; width: 25vw; left: 10vw; z-index: 2; transition: 0.3s; @media screen and(max-width:$moblie) { display: none; } } .circle2 { position: absolute; width: 30vw; top: 5vw; right: 5vw; z-index: 0; @media screen and(min-width:768px) { display: none; } @media screen and(min-width:$desktop) { display: none; } } .circle1 { position: absolute; width: 30vw; right: -15vw; top: 85vw; @media screen and(min-width:768px) { display: none; } @media screen and(min-width:$desktop) { display: none; } } .circle3 { position: absolute; width: 40vw; top: 85vw; left: 5vw; z-index: 2; @media screen and(min-width:768px) { display: none; } @media screen and(min-width:$desktop) { display: none; } } } #img01 { object-fit: cover; position: relative; z-index: 1; width: 60vw; padding: 10vw 0px; @media screen and(max-width:$table) { width: 55vw; } @media screen and(max-width:$moblie) { width: 95vw; } } #trouble-text { padding-top: 20vw; position: relative; #circle1 { position: absolute; width: 18vw; top: 35vw; right: 5vw; z-index: 0; transition: 0.3s; @media screen and(max-width:$table) { top: 45vw; } @media screen and(max-width:$moblie) { display: none; } } .text-box { position: relative; margin-left: 5vw; z-index: 1; @media screen and(max-width:$table) { } h1 { padding-bottom: 3vw !important; @media screen and(max-width:$moblie) { font-size: 2.5rem; } @media screen and(max-width:350px) { font-size: 2rem; } } .text { font-size: 20px; color: $title-color; padding: 3px 0px; letter-spacing: 0.5px; @media screen and(max-width:$table) { font-size: 16px; } } } } } #Course123-Des{ text-align: center; @media screen and(max-width:$moblie) { display: none; } // 背景圖片 .bg2{ width: 80vw; position: sticky; top:60px; } } #descourse-title{ @media screen and(max-width:$moblie) { display: none; } } // 電腦版課程大綱 .Course-list { text-align: center; position: relative; padding-bottom: 12vw !important; @media screen and(max-width:$moblie) { display: none; } @media screen and(max-width:$table) { display: none; } .bg2 { width: 80vw; @media screen and(max-width:$table) { width: 90vw; } } .title-main { font-family: 微軟正黑體; font-weight: 900; color: $title-color; } .Course-content { width: 65vw; margin: 10px auto; padding-top: -10vw; @media screen and(max-width:$table) { top: 22vw; } .Course-title{ text-align: center; font-family: 追奇手寫體; font-size: 4rem; color: #414346; } .card-title { font-weight: 900; color: #414346; font-size: 16px; @media screen and(max-width:$table) { width: 18vw; font-size: 1rem; } } .box-item{ font-size: 14px; .box-item-1{ border-radius: 5px; box-shadow: 0px 5px 30px #B9CCC7; } .box-img{ padding-top: 10px; height: 120px; img{ object-fit: cover; } } } .Group{ padding-bottom: 25px; } .teacher{ text-align: center; .techer-name{ font-family: 追奇手寫體; font-size: 60px; color: $title-color; margin-top: -10px; transform: matrix(1, -0.09, 0.09, 1, 0, 0); } } h1 { font-family: 微軟正黑體; font-weight: 900; font-size: 28px; color: $title-color; @media screen and(max-width:$table) { font-size: 1rem; } } h2 { font-size: 20px; color: $title-color; @media screen and(max-width:$table) { font-size: 1.5rem; } } } } // 課程大綱台跳視窗電腦版 #Course-box01, #Course-box02, #Course-box03 { background-color: rgba(0, 0, 0, 0.8); width: 100vw; height: 100vh; z-index: 12; padding: 50px 50px 100px 50px; position: fixed; top: 0vw; display: none; @media screen and(max-width:$table) { padding: 50px 20px 100px 20px; } .close { position: absolute; right: 3vw; top: 1vw; } .Course-box01 { background: #fff; width: 90vw; margin: 0 auto; @media screen and(max-width:$table) { width: 95vw; } h1 { padding-top: 50px; text-align: center; font-family: 追奇手寫體; font-size: 4rem; color: #414346; } #box01, #box02, #box03 { width: 85vw; margin: 10px auto; padding: 10px 0px 80px 0px !important; .card { width: 16vw; text-align: center; margin: 10px auto; box-shadow: 0 5px 9px rgba(0, 0, 0, 0.5); background: #fff; border-radius: 8px; border: none !important; padding-left: 0 !important; padding-right: 0 !important; @media screen and(max-width:$table) { margin: 10px 3px; } .card-title { padding: 30px 0px 20px 0px; font-weight: 900; color: #414346; font-size: 1.1rem; @media screen and(max-width:$table) { width: 18vw; font-size: 1rem; } } .box-img { padding-top: 1vw; img { padding: 10px; margin: 50px auto; height: 8vw; object-fit: cover; @media screen and(max-width:$table) { width: 15vw; height: 20vw; // padding: 90px 20px 0px 20px; } } } .box-img2 { img { padding: 90px 30px 0px 30px; width: 12vw; @media screen and(max-width:$table) { width: 15vw; padding: 90px 15px 0px 15px; } } } } } } } #Course-box03 { .card { width: 25vw !important; } } // 手機板課程大綱 .sec04 { text-align: center; padding-top: 4.5rem; padding-bottom: 10rem !important; color: $title-color; overflow: hidden; position: relative; @media screen and(min-width:$desktop) { display: none; } .element1 { position: absolute; top: 150vw; width: 70vw; right: -30vw; z-index: 1; @media screen and(max-width:350px) { top: 180vw; } } .course-name { padding-top: 5vw; text-align: center; font-family: 追奇手寫體; font-size: 2rem; color: #414346; } .card-box { background-image: url(./img/Course-list/bg.png); background-size: cover; background-repeat: no-repeat; background-position: 40% 50%; @media screen and(min-width:767px) { padding-top: 15vw; } .slick-slide { outline: none !important; } .slick-dots { margin-top: 50px; li { margin: 0 10px; } button { margin-top: 10px; display: block; width: 30px; height: 3px; padding: 0; border: none; border-radius: 0%; background-color: #d9d9d9; text-indent: -9999px; } li.slick-active button { background-color: #fce49d; } } .card { text-align: center; margin: 0px 10px; position: relative; z-index: 2; height:64vh; @media screen and(max-width:350px) { height:75vh; } .card-title { padding-top:20vw; color: $title-color; font-weight: 900; font-size: 18px; } .box-img{ padding-top: 15vw; img{ object-fit: cover; } } h2 { color: $title-color; font-size: 1.3rem; @media screen and(max-width:$table) { font-size: 1rem; } @media screen and(max-width:350px) { font-size: 1rem; } } img { margin: 0 auto; } .box-img01, .box-img02, .box-img03 { img { width: 180px; height: 180px; @media screen and(min-width:768px) { width: 20vw; } } } } } @media screen and(min-width:1000px) { display: none; } @media screen and(max-width:$moblie) { .name { padding-bottom: 2rem; font-size: 4rem; } } @media screen and(max-width:400px) { .name { padding-bottom: 2rem; font-size: 3rem; } } } // 課程大綱彈跳視窗手機板 .mobile01-1, .mobile01-2, .mobile01-3 { width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.8); position: fixed; top: 0vw; z-index: 11; padding: 15vw 1vw 15vw 1vw; overflow: hidden; margin: 0 !important; display: none; @media screen and(min-width:$desktop) { display: none; } .mobile-box1, .mobile-box2, .mobile-box3 { height: 80vh; .close { position: absolute; right: 5vw; top: 5vw; } .Course-mobile01 { background: #fff; width: 90vw; height: 85vh; margin: 0 auto; border-radius: 5px; font-size: 0.9rem; .slick-dots { width: 80%; @media screen and(max-width:350px) { width: 95%; } li { margin: 0 10px; } button { margin-top: 10px; display: block; width: 30px; height: 3px; padding: 0; border: none; border-radius: 0%; background-color: #d9d9d9; text-indent: -9999px; } li.slick-active button { background-color: #fce49d; } } h1 { padding-top: 10vw; text-align: center; font-family: 追奇手寫體; font-size: 2rem; color: #414346; @media screen and(max-width:400px) { font-size: 1.5rem; } } .card-box-1, .card-box-2, .card-box-3 { padding: 1vw 20px 1vw 20px; @media screen and(max-width:350px) { padding: 1vw 0px 1vw 0px; } .card { text-align: center; margin: 0px 10px; @media screen and(max-width:$moblie) { font-size: 0.9rem; } @media screen and(max-width:400px) { font-size: 0.7rem; } // border: none !important; .card-title { padding-top: 1rem; font-weight: 900; color: #414346; font-size: 1.3rem; @media screen and(max-width:$table) { font-size: 2rem; } @media screen and(max-width:$moblie) { font-size: 1rem; } @media screen and(max-width:400px) { font-size: 0.9rem; } } img { margin: 0 auto; } .box-img { img { padding: 15vw 10vw; height: 51vw; object-fit: cover; @media screen and(max-width:400px) { padding: 13vw 8vw; height: 51vw; } } } } } } } } // 電腦版上課日程 #course-schedule { background: $bgcolor; text-align: center; padding-bottom: 12vw !important; position: relative; overflow: hidden; #arrow-right { position: absolute; top: 12vw; right: 21vw; width: 45px; @media screen and(max-width:$table) { width: 40px; right: 20vw; } } #arrow-left { position: absolute; top: 12vw; left: 21vw; width: 45px; @media screen and(max-width:$table) { width: 40px; } } #element1 { position: absolute; top: 0vw; width: 25vw; right: -10vw; } #element2 { position: absolute; width: 25vw; left: -10vw; top: 50vw; z-index: 5; } @media screen and(max-width:$moblie) { display: none; } #bg2 { width: 80vw; @media screen and(max-width:$table) { width: 90vw; } } #schedule-content { position: absolute; width: 70vw; top: 20vw; left: 15vw; @media screen and(max-width:$table) { top: 25vw; } .schedule-box { text-align: center; h1 { font-size: 24px; font-weight: 900; color: #fff; @media screen and(max-width:$table) { font-size: 20px; } } .content-box { width: 18vw; height: 10vw; margin: 30px auto; background: #fff; border: 1.5px solid #707070; border-radius: 5px; color: $title-color; line-height: 10vw; font-size: 18px; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3); @media screen and(max-width:$table) { font-size: 0.9rem; padding: 1vw; line-height: 8vw; } } .content-box1 { width: 18vw; height: 10vw; margin: 30px auto; background: #fff; border: 1.5px solid #707070; border-radius: 5px; font-size: 18px; padding: 2vw; color: $title-color; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5); @media screen and(max-width:$table) { font-size: 0.9rem; padding: 1vw; } } } } } // 手機板上課日程 .sec05 { text-align: center; padding-top: 4.5rem; color: $title-color; padding-bottom: 1rem !important; overflow: hidden; position: relative; @media screen and(min-width:768px) { display: none; } .element2 { position: absolute; width: 70vw; left: -30vw; top: 140vw; z-index: 3; @media screen and(max-width:350px) { top: 152vw; } } @media screen and(min-width:$desktop) { display: none; } .line { margin-bottom: 10vw; } #card-box2 { background-image: url(./img/course-schedule/bg2.png); background-size: 155%; background-repeat: no-repeat; background-position: 50% 50%; position: relative; .slick-slide { outline: none !important; } .slick-dots { li { margin: 0 10px; } button { display: block; width: 30px; height: 3px; padding: 0; border: none; border-radius: 0%; background-color: #d9d9d9; text-indent: -9999px; } li.slick-active button { background-color: #fce49d; } } .arrow-left { position: absolute; left: 76vw; top: 45vw; z-index: 5; width: 10vw !important; height: 40vw; @media screen and(max-width:350px) { top: 50vw; left: 70vw; } } .arrow-right { position: absolute; left: 155vw; top: 45vw; z-index: 5; width: 10vw !important; height: 40vw; @media screen and(max-width:350px) { top: 50vw; left: 150vw; } } .box { .boxs-chedule1 { padding-bottom: 5vw; h1 { color: #70b2a0; text-shadow: 0.5px 0.5px 2px rgba(0, 0, 0, 0.3); } } .boxs-chedule1, .boxs-chedule2 { margin: 0px 30px; color: $title-color; font-weight: 900; h1 { padding-bottom: 5vw; font-family: "Noto Sans TC", sans-serif; font-weight: 600; } .card { padding: 30px 20px; border: 2px solid #707070 !important; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3); } } } } } // 電腦版表單 #information { text-align: center; background: $bgcolor; color: $title-color; position: relative; padding-bottom: 750px; @media screen and(max-width:$table) { padding-bottom: 75vw; } @media screen and(max-width:$moblie) { display: none; } #bg3 { width: 80vw; @media screen and(max-width:$table) { width: 90vw; } } .information { position: absolute; text-align: left; font-size: 1.6rem; line-height: 3.5vw; letter-spacing: 2px; top: 15vw; left: 20vw; width: 55vw; span { font-size: 1.5rem; } @media screen and(max-width:$table) { font-size: 1rem; line-height: 3vw; } a { color: $title-color; } } #information-form { position: absolute; top: 45vw; #form-card { width: 80vw; margin: 0 auto; .contact-form { #name, #company { width: 100%; padding: 10px 15px; font-size: 16px; border-radius: 3px; margin: 10px 0px; border: 1px solid rgba(0, 0, 0, 0.3); @media screen and(max-width:$table) { width: 100%; } } #phone, #email, #pay, #message, #message1, #profession, #line { width: 100%; padding: 10px 15px; font-size: 16px; border-radius: 3px; margin: 10px 0px; border: 1px solid rgba(0, 0, 0, 0.3); } .btn { margin-top: 3vw; width: 15vw; border-radius: 30px; padding: 15px; background: #fff; color: #a9d0c5; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); border: 2px solid #a9d0c5; font-weight: 900; &:hover { background: #a9d0c5; color: #fff; } } } } } #map { border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 10px; width: 38vw !important; #googlemap { padding-top: 1vw !important; width: 35vw; height: 800px; } } } // 手機板表單 #information-mobile { text-align: center; @media screen and(min-width:$desktop) { display: none; } @media screen and(min-width:768px) { display: none; } .title-main { margin: 20px; } .information { background-image: url(./img/information/bg3.png); background-size: 140%; background-repeat: no-repeat; background-position: top center; text-align: left; color: $title-color; padding-bottom: 20vw; font-size: 1rem; @media screen and(max-width:350px) { font-size: 0.9rem; padding-bottom: 0; } a { color: $title-color; } #information-01 { width: 90vw; padding: 10vw 0px; margin: auto; line-height: 8vw; padding-right: 0px !important; @media screen and(max-width:350px) { width: 95vw; padding-left: 1vw; } } } #mobile-form { #form-card { width: 90vw; margin: 0 auto; .contact-form2 { #name, #company { width: 49.5%; padding: 10px 15px; font-size: 16px; border-radius: 3px; margin: 10px 0px; border: 1px solid rgba(0, 0, 0, 0.3); @media screen and(max-width:$table) { width: 100%; } } #phone, #email, #pay, #message, #message1, #profession, #line { width: 100%; padding: 10px 15px; font-size: 16px; border-radius: 3px; margin: 10px 0px; border: 1px solid rgba(0, 0, 0, 0.3); } #profession { height: 50px; background: url(./img/icondown.webp) 95% 50% no-repeat scroll transparent; background-size: 10px 10px; background-color: #fff; appearance: none; } .btn { margin-top: 3vw; width: 55vw; border-radius: 30px; padding: 10px; background: #fff; color: #a9d0c5; font-family: "Noto Sans TC", sans-serif; font-weight: 900; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); border: 3px solid #a9d0c5; font-size: 1.2rem; letter-spacing: 1px; transition: 0.3s; &:hover { background: #a9d0c5; color: #fff; } } } } } #map { border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 10px; width: 90vw !important; margin: 10vw auto; #googlemap { padding: 2vw !important; width: 85vw; } } } #footer { background: #b0d4ca; text-align: center; width: 96vw; margin: 0 auto !important; p { padding: 15px; color: #fff; } } // 手機menu彈跳視窗 #menu-box { top: 15vw; height: 25vh; width: 100vw; position: fixed; z-index: 5; overflow: hidden; display: none; @media screen and(min-width:$desktop) { display: none; } @media screen and(max-width:$moblie) { height: 47vh; } @media screen and(max-width:350px) { height: 55vh; } hr { display: inline-block; margin: 0px auto !important; width: 55vw; background: #fff; opacity: 1 !important; } #menu-box2 { width: 100vw; height: 25vh; background-color: $navbgcolor; opacity: 0.95; z-index: 7; text-align: center; @media screen and(max-width:$moblie) { height: 45vh; } @media screen and(max-width:350px) { height: 55vh; } #menu-link { display: grid; grid-template-columns: repeat(4, 1fr); width: 60vw; margin: 0 auto; } .menu-logo { opacity: 1; img { width: 7vw; } } a { display: inline-block; text-decoration: none; color: #fff; font-size: 16px; margin-top: 20px; font-weight: 900; @media screen and(max-width:$moblie) { margin-top: 4vw; } } .menu-text { width: 100vw; text-align: center; margin-bottom: 10px; @media screen and(max-width:$moblie) { margin-bottom: 5px !important; } } } } // 計數器 .container { padding: 0 !important; margin: 0 !important; text-align: center; #countdown { position: relative; width: 80vw; @media screen and(max-width:$table) { width: 100vw; text-align: left; } @media screen and(max-width:$moblie) { width: 100vw; text-align: center; } @media screen and(max-width:400px) { width: 100vw; } } li { display: inline-block; font-size: 1.5em; list-style-type: none; padding: 1em; text-transform: uppercase; @media screen and(max-width:$table) { font-size: 16px; text-align: center; } @media screen and(max-width:$moblie) { font-size: 12px; text-align: center; } @media screen and(max-width:400px) { font-size: 12px; } } li span { display: block; font-size: 4.5rem; } } li { display: inline-block; list-style-type: none; text-transform: uppercase; padding-left: 0 !important; position: relative; padding: 1em; font-size: 1.5em; #days, #hours, #minutes, #seconds { font-size: 6rem; font-family: "Roboto", sans-serif !important; font-weight: 900; color: #fff; text-shadow: 0.5px 0.5px 13px rgba(0, 0, 0, 0.15); border-right: 2px solid #fff; padding: 0 40px; @media screen and(max-width:$table) { font-size: 3rem; padding: 0 25px; } @media screen and(max-width:$moblie) { font-size: 2rem; padding: 0 5vw 0 1vw; } @media screen and(max-width:400px) { padding: 0 3vw 0 3vw; font-size: 1.7rem; } } } @media all and (max-width: 768px) { h1 { font-size: 1.5rem; } li { font-size: 1.125rem; padding: 0.75rem; } li span { font-size: 3.375rem; } }