.container { display: flex; flex-direction: column; font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif; img { image-rendering: -webkit-optimize-contrast; } nav { display: flex; justify-content: space-around; .logo-box img:last-child { width: 35%; margin-left: 10px; } ul { margin: 0; padding: 0; display: flex; list-style: none; li { margin: 20px; } } } header { margin: 30px 0; display: flex; align-items: center; justify-content: space-around; @media (max-width: 767px) { flex-direction: column; } } .logo { display: flex; align-items: center; justify-content: end; img:first-child { width: 30%; margin-right: 20px; } img:last-child { width: 40%; } // a { // text-decoration: none; // font-weight: bold; // h2 { // margin: 0; // color: #4653a2; // font-size: 50px; // text-shadow: 0px 0px 3px #fde301; // } // span { // color: #e7380d; // } // p { // margin: 0; // color: #009844; // font-size: 17px; // letter-spacing: 4px; // } // } } .banner { display: flex; align-items: center; justify-content: center; flex-direction: column; img { width: 60%; height: auto; @media (max-width: 991px) { width: 90%; } } section { display: flex; align-items: center; justify-content: center; img { width: 50px; height: 100%; } p { margin-left: 15px; color: #0076a5; font-size: 45px; font-weight: bold; @media (max-width: 767px) { font-size: 30px; } } } } .directions { margin: 0 10%; max-width: 900px; font-weight: bold; @media (max-width: 767px) { margin: 0 5%; } p { margin: 0; color: #0076a5; } ul { margin: 0; padding: 0; list-style: none; li { line-height: 1.5; letter-spacing: 1px; } } .keyboard { display: flex; align-items: center; img { width: 13%; height: 100%; margin-right: 10px; margin-top: -10px; } } } .content { padding: 0 10%; @media (max-width: 767px) { padding: 0 5%; } img { width: 50%; height: auto; @media (max-width: 991px) { width: 100%; } } .video { width: 100%; height: 540px; margin-top: 35px; background-color: #000; } .box { width: 100%; display: flex; align-items: center; margin: 20px 0; @media (max-width: 991px) { flex-direction: column; &:nth-child(even) { flex-direction: column-reverse; } } p { width: 50%; margin: 0 50px; font-weight: bold; letter-spacing: 1px; line-height: 1.5; @media (max-width: 991px) { width: 100%; margin: 20px 0; } } } } footer { margin: auto; margin-top: 30px; img { width: 100%; margin-bottom: -15px; } // h2 { // font-size: 70px; // color: #fff100; // text-shadow: 0px 0px 2px #000; // @media (max-width: 991px) { // margin: 0; // } // } // .logo { // margin: 0 15px; // @media (max-width: 991px) { // margin: 15px 0; // } // a h2 { // font-size: 40px; // } // } // .text-box { // display: flex; // align-items: center; // @media (max-width: 991px) { // flex-direction: column; // } // p { // margin: 0; // } // p:first-child { // color: #4553a3; // font-weight: bold; // font-size: 20px; // } // p:last-child { // font-weight: bold; // letter-spacing: 1px; // } // } } }