/* aboutus */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans TC", sans-serif;
}
/* header  */
.header {
  width: 100%;
  background-color: #fef7e6;
  display: flex;
  min-height: 70px;
  padding: 0.5rem 0px;
  color: #67755c;
  background-color: #dfd0a8;
  position: fixed;
  z-index: 10000;
  top: 0%;
}

/* 漢堡選單 */
#menuToggle {
  display: block;
  position: relative;
  top: 30px;
  left: 10px;
  z-index: 10000;
  -webkit-user-select: none;
  user-select: none;
  position: fixed;
}
#menuToggle a {
  text-decoration: none;
  color: #67755c;
  transition: color 0.3s ease;
  display: flex;
}
#menuToggle a:hover {
  color: #000;
}
#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -20px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  z-index: 10001;
  -webkit-touch-callout: none;
}
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #67755c;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}
#menuToggle span:first-child {
  transform-origin: 0% 0%;
}
#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}
#menu {
  position: absolute;
  width: 260px;
  margin: -70px 0 0 -50px;
  padding: 10px 50px;
  padding-top: 100px;
  padding-left: 80px;
  background-image: linear-gradient(0deg, #fef7e6, #dfd0a8);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(-100%, 0);

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}
#menu li {
  padding: 10px 15px;
  font-size: 20px;
}
#menuToggle input:checked ~ ul {
  transform: none;
}

.logo {
  display: flex;
  width: 50%;
  margin-left: 40%;
}
.logo img {
  max-height: 3.5rem;
}
.logo h1 {
  margin-left: 1rem;
}

.header-wrap {
  float: right;
  margin-right: 1rem;
}
.header-wrap a {
  color: #67755c;
  text-decoration: none;
}
.header-wrap a:hover {
  color: #000;
}
.header-item i {
  padding-right: 0.5rem;
}
.header-search {
  display: flex;
  margin-top: 0.5rem;
}
.header-search input {
  width: 8rem;
}
.searchbar {
  border: 1px solid #fef7e6;
  background-color: #fef7e6;
}
.search-btn {
  background-color: #dfd0a8;
  outline: none;
  border: 0px solid #fef7e6;
  cursor: pointer;
}
.header-search i {
  color: #fef7e6;
  padding-right: 5px;
}
.header-search i:hover {
  color: #ebe5d5;
}

@media (max-width: 768px) {
  .logo {
    margin-left: 35%;
    width: 65%;
  }
  .header-wrap {
    flex-wrap: wrap;
  }
}
@media screen and (min-width: 374px) and (max-width: 767px) {
  .logo {
    margin-left: 20%;
    width: 80%;
  }
  .logo h1 {
    font-size: 1.5rem;
    padding-top: 0.5rem;
  }
  .header-search input {
    width: 4rem;
  }
}
@media screen and (min-width: 319px) and (max-width: 373px) {
  .logo {
    margin-left: 18%;
    width: 82%;
  }
  .logo img {
    max-height: 2.5rem;
    padding-top: 0.5rem;
  }
  .logo h1 {
    font-size: 1.5rem;
    padding-top: 0.5rem;
  }
  .header-search input {
    width: 3.5rem;
  }
}
/* 歡迎版面 */
.welcome {
  margin-top: 4.5rem;
  height: 500px;
  background: url(../img/brooke-lark-kVCRP3uiLiE-unsplash.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.welcome .container h1 {
  padding-top: 5rem;
  text-align: center;
}
.welcome .container p {
  text-align: center;
}
/* 核心目標 */
.goal .wrap h1 {
  text-align: center;
  padding-top: 3rem;
}
.goal .wrap p {
  text-align: center;
  margin-top: 10px;
  line-height: 2;
}
/* 核新技術/服務 */
.provide {
  background-color: #f7e5b5;
  margin-top: 3rem;
  margin-bottom: 5rem;
}
.provide .wrap {
  height: 580px;
}
.provide .wrap h1 {
  padding-top: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}
.provide .wrap img {
  max-width: 80px;
  margin-bottom: 3rem;
  justify-content: center;
}
.provide .wrap ul {
  margin-left: 180px;
}
.provide .wrap li {
  display: inline;
  float: left;
  padding: 20px 100px;
  max-width: 320px;
}
/* 關於我們 */
.abouts {
  margin-bottom: 5rem;
}
.abouts h1 {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.abouts img {
  max-width: 450px;
  display: inline-block;
  flex-wrap: wrap;
  justify-content: flex-start;
  z-index: 0;
  position: relative;
}
.abouts img:hover {
  width: 400px;
}
.abouts .wrap {
  margin-left: 160px;
}
.abouts h2 {
  z-index: 1;
  display: inline;
  position: absolute;
  color: #67755c;
}

/* Site footer */
.site-footer {
  background-color: #67755c;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 20px 0 20px;
  line-height: 24px;
  font-size: 12px;
  color: white;
  text-align: center;
  position: relative;
  z-index: 0;
}
.site-footer ul {
  padding-left: 0;
  list-style: none;
}
.site-footer ul li {
  display: inline-block;
}
.site-footer hr {
  border-top-color: #bbb;
  opacity: 0.5;
}
.site-footer hr.small {
  margin: 20px 0;
}
.site-footer h6 {
  font-size: 14px;
  color: white;
  margin-top: 5px;
}
.site-footer a {
  color: white;
  text-decoration: none;
  line-height: 30px;
  margin-left: 6px;
  margin-right: 0;
  border-radius: 100%;
  background-color: #33353d;
}
.site-footer a img {
  max-width: 10%;
  float: center;
  margin-top: 10px;
  margin-left: 10px;
}
.site-footer a:hover {
  color: #b1d496;
}

.copyright-text {
  margin: 0;
}

/* 返回頂端箭頭 */
.top {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 40px;
}
.top i {
  color: #f3be70;
}
.top i:hover {
  color: #fac87ec9;
}
