@font-face {
  font-family: 'sourceSansPro';
  src: url('../font/sourceSansPro.woff2') format('woff2');
  font-style: normal;
}

main {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 0;
}

.print-btns .btn-outline-dark {
  margin-right: 2rem;
}

.form-check-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 2rem;
}

.print-table {
  max-width: 75rem;
  border: 1px solid #000000;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.print-table .food-header {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
}

.print-table .food-header .food-score {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.print-table .food-header .food-score .food-img {
  width: 12.5rem;
  height: 12.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.print-table .food-header .food-score .food-img img {
  width: 100%;
}

.print-table .food-header .food-intro {
  max-width: 60.625rem;
}

.print-table h1 {
  font-family: Microsoft YaHei;
  font-weight: bold;
  font-size: 2.5rem;
  color: #000000;
}

.print-table .food-header .food-intro p {
font-family: 'sourceSansPro', sans-serif;
  font-size: 1.2rem;
  color: #333333;
}

.print-table .food-header .food-score {
  text-align: center;
}

.print-table .food-header .food-score span {
font-family: 'sourceSansPro', sans-serif;
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.5rem;
  text-decoration-line: underline;
}

.print-table .food-header .food-score .food-score-img {
  display: flex;
  flex-direction: row;
}

.print-table .food-course ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  margin-top: 1rem;
}


.print-table .food-course ul li {
  list-style: none;
  margin-right: 4vw;
font-family: 'sourceSansPro', sans-serif;
  font-size: 1.375rem;
  color: #333333;
}

.print-table p {
  margin: 0;
}

.food-detail li, .food-detail p {
font-family: 'sourceSansPro', sans-serif;
  color: #333333;
  line-height: 2.5rem;
}


.food-detail h1 {
  margin-top: 2rem;
}

.star-gray{
  position: relative;
  width: 120px;
  height: 30px;
  background: url(../img/star-line.webp) left center repeat-x;
}

.star-light{
  position: absolute;
  top: 0;
  left: 0;
  height: 30px;
  background: url(../img/star-fill.webp) left center repeat-x;
}

.food-level span{
  font-weight: bold;
}

@media (min-width: 960px) {
  .form-check {
    padding-right: 2.5rem;
  }

  .print-table .food-header .food-intro {
    margin-right: 4.75rem;
  }

  /* food-level */
  .food-level {
  font-family: 'sourceSansPro', sans-serif;
    font-size: 1.375rem;
    color: #333333;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    padding: 1.5rem 0;
    margin-top: 3.125rem;
    text-align: center;
  }

  .food-level .border-separate {
    width: 0.1vw;
    height: 5rem;
    background-color: #000000;
    margin: 0 10rem;
  }

  .food-level .food-level-left .yield {
    margin-top: 0.75rem;
  }

  .food-level .food-level-right .food-active {
    margin-top: 0.75rem;
  }

  .print-table h1 {
    font-size: 2.5rem;
  }

  .food-detail li, .food-detail p {
    font-size: 1.2rem;
  }

  .foods-web {
  font-family: 'sourceSansPro', sans-serif;
    font-size: 1.2rem;
    color: #333333;
    margin-top: 2rem;
  }

}

@media (max-width: 960px) {
  .form-check {
    padding-left: 2.25rem;
  }

  .print-table .food-header .food-intro h1 {
    font-size: 1.75rem;
  }

  .print-table .food-header .food-intro p {
    font-size: 1rem;
  }

  /* food-level */
  .food-level {
  font-family: 'sourceSansPro', sans-serif;
    font-size: 0.85rem;
    color: #333333;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    padding: 1rem 0;
    margin-top: 2rem;
    text-align: center;
  }

  .food-level .border-separate {
    width: 0.1vw;
    height: 5rem;
    background-color: #000000;
    margin: 0 10vw;
  }

  .food-level .food-level-left .yield {
    margin-top: 0.75rem;
  }

  .food-level .food-level-right .food-active {
    margin-top: 0.75rem;
  }

  .print-table .food-course ul li {
    font-size: 1rem;
  }

  .print-table h1 {
    font-size: 1.75rem;
  }

  .food-detail li, .food-detail p {
    font-size: 1rem;
    line-height: 1.75rem;
  }

  .foods-web {
  font-family: 'sourceSansPro', sans-serif;
    font-size: 1rem;
    color: #333333;
    padding: 4vw 4vw 0 4vw;
  }
}

@media (max-width: 576px) {
  .print-table .food-header {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .print-table .food-header .food-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4vw;
    margin: auto;
  }
  .print-table .food-header .food-intro{
    margin-bottom: 4vw;
  }
}

.rating-hidden{
  display: none;
}

.rating{
  display: flex;
}

.rating .icon {
  width: 24px;
  height: 24px;
  margin-left: 0;
  transform: scale(1.2);

}
.icon.icon-star{
  fill: #d54215;
}
.icon.icon-star-empty {
  fill: rgba(0,0,0,.65);
}