@import url("https://kit.fontawesome.com/71e88eb3c1.js");
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  list-style: none;
  font-family: "Noto Sans TC", sans-serif;
}

h2 {
  font-weight: normal;
}

/* 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;
  }
}

/*左側選單*/
div form img {
  margin: 3rem 5rem 1rem 5.2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 50%;
  width: 120px;
  height: 120px;
}
div form button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 1rem 2rem 1rem 6.8rem;
}
.side-menu nav {
  width: 10rem;
  height: 17rem;
  background-color: #ffff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 20px 10px 20px 18px;
  margin-left: 4rem;
  box-shadow: 5px 0px 5px #dfd0a8;
}
#side a {
  color: black;
  padding: 20px;
  text-decoration: none;
  position: relative;
}
#side i {
  margin-right: 0.5rem;
}
#side a + a::before {
  content: "";
  position: absolute;
  border-top: 1px solid black;
  left: 5px;
  right: 10px;
  top: 0;
}
.side-menu a:hover {
  background-color: #dfd0a8;
}

/*區塊劃分*/
#sidebar {
  float: left;
  width: 200px;
}
#content {
  float: right;
  width: 925px;
}
#footer {
  clear: both;
}

/*右側標題*/
div h2 {
  font-weight: 600;
  font-size: 2rem;
  color: #000;
  margin: 50px 100px 0px 300px;
  margin-top: 7rem;
}
/*右側評分欄*/
.box {
  position: relative;
  width: 900px;
  height: 620px;
  margin-top: 30px;
  margin-left: -30px;
  margin-bottom: -9rem;
}
.oback {
  position: relative;
  width: 900px;
  height: auto;
}
.righttop,
.perright {
  list-style: none;
}
.righttop {
  position: relative;
  display: flex;
}
.perright {
  flex: 1;
  height: 60px;
}
.perright input {
  display: none;
}
.perright input + label {
  display: block;
  width: 100%;
  height: 100%;
  background: white;
  font-size: 18px;
  text-align: center;
  line-height: 60px;
  color: #333;
}
.perright input + label + div {
  display: none;
  position: absolute;
  left: 0;
  top: 60px;
}
.perright input:checked + label {
  border-bottom: #ffe000 5px solid;
  color: #67755c;
}
.perright input:checked + label + div {
  display: block;
  width: 900px;
  min-height: 300px;
  border-top: darkgray 1px solid;
  background-color: white;
}

/*右側下方內容*/
.innercon {
  width: 90%;
  min-height: 370px;
  position: relative;
  margin: 0 auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
  background-color: #fef7e6;
}
.face1 {
  display: inline;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 10px 20px;
  vertical-align: middle;
}
.facebeside {
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 20px;
  text-decoration: none;
  font-size: 18px;
  color: black;
  vertical-align: middle;
}
.time {
  float: right;
  margin-top: 20px;
  margin-right: 20px;
}
.price {
  float: right;
  margin-top: 35px;
  margin-right: 20px;
}
.total {
  float: right;
  margin-top: 8px;
  margin-right: 20px;
}
.mach {
  display: inline;
  width: 100px;
  height: 80px;
  margin: 10px 20px;
  vertical-align: middle;
}
.othtext {
  display: inline;
  margin-left: 5px;
  font-size: 18px;
  color: black;
}
.fa-cart-arrow-down {
  font-size: 20px;
  color: #67755c;
  margin: 10px 0px 10px 30px;
}
.ordernum {
  float: left;
  margin-top: 10px;
  margin-left: 20px;
  font-size: 18px;
  color: black;
}
.cancleorder {
  position: relative;
  width: 80px;
  height: 30px;
  float: right;
  margin-top: 10px;
  margin-right: 20px;
  background-color: #ffe000;
  border: 1px;
  border-radius: 15px;
  box-shadow: 0 3px #67755c;
  font-size: 15px;
  color: #67755c;
  padding: 5px;
}
.cancleorder:hover {
  background-color: #ffe000;
  color: #67755c;
  border: 1px solid #fef7e6;
}

.cancleorder:active {
  background-color: #ffe000;
  transform: translateY(4px);
}
.logname {
  text-decoration: none;
}
/* Site footer */
.site-footer {
  background-color: #67755c;
  top: 3rem;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 20px 0 20px;
  line-height: 24px;
  font-size: 12px;
  color: white;
  text-align: center;
  position: relative;
}
.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;
}
