/* === 定义全局配色 === */
:root {
  --body-color: #FFF;
  --dark-green: #387558;
  --light-green: #91B2B1;
  --light-brown: #BBA494;
  --faint-yellow: #F9D5A8;
  --light-yellow: #FFF1DD;
  --light-orange: #82ccdd;
  --gray: #ccc8c8;
}

/* == scroll header添加阴影 和 改变颜色 == */
.scroll-header {
  box-shadow: 0 8px 6px rgba(0, 0, 0, 0.1);
  background-color: brown;
}
/* == header logo and font 改变颜色 == */
.scroll-white {
  color: #FFF !important;
}

.nav_logo:hover {
  color: brown;
}

.nav_link {
  color: #FFF;
}

.nav_link:hover {
  color: #fa8c35 !important;
}

/* === jumbotron 巨幕 === */
.jumbotron-bg {
  background: url('../../resource/new images/meishi1.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh;
  position: relative;
}

.jumbotron-data {
  width: 100%;
  height: 100%;
  color: #FFF;
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jumbotron-p {
  color: #FFF;
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.25rem;
}

.highlight {
  font-weight: bold;
  color: brown;
}

/* === content 主体部分 === */
.content {
  /* margin-top: 4rem; */
  margin-bottom: 1rem;
}

/* intro */
.guilin-intro {
  background-color: brown;
  padding: 1rem .5rem;
  border-radius: .5rem;
  margin: 1rem auto;
}

.intro-title {
  font-weight: bold;
  color: #FFF;
}

.intro-content {
  color: #FFF;
  text-indent: 2em;
}

/* 图片放大 and 旋转 */
.img_animation {
  transition: .5s;
  cursor: pointer;
}

.img_animation:hover {
  transform: scale(1.05) rotate(-2deg);
}

.explore_btn {
  display: block;
  background-color: #FFF;
  padding: 0.7rem 1.2rem;
  color: brown;
  font-weight: bold;
  border-radius: 5px;
  transition: .3s;
  width: 150px;
  text-align: center;
}

.icon_btn {
  display: inline-block;
  margin-left: 5px;
  margin-top: 3px;
  transition: .3s;
}

.explore_btn:hover {
  font-weight: 700;
  text-decoration: none;
  color: var(--faint-yellow);
  background-color: var(--light-orange);
}

.explore_btn:hover .icon_btn {
  transform: translateX(.25rem);
}

/* === 美食介绍 === */
.food_bg {
  width: 100%;
  margin-top: 30px;
  padding: 12px 20px;
  color: #FFF;
  background-color: brown;
  border-radius: 8px;
}

.magin_box-8 {
  font-weight: bold;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.food_title {
  text-align: center;
}

.food_card {
  position: relative;
  background-color: #FFF;
  color: #000;
  padding: 14px;
  border-radius: 8px;
  margin-top: 10px;
}

.food_card_number {
  background-color: #fa8c35;
  color: #FFF;
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
}

.food_btn {
  background-color: #FFF;
  color: brown;
  margin-top: 10px;
}

/* === 店铺 === */
h4, p {
  margin-bottom: 0 !important;
}
.good {
  display: flex;
  margin: .5rem;
}

.good-img {
  width: 40%;
  height: auto;
  max-height: 150px;
}

.good-info {
  display: flex;
  flex-direction: column;
  margin-left: 1rem;
  row-gap: .25rem;
  justify-content: space-between;
}

.buy-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.good-name {
  font-size: 1rem;
  font-weight: bold;
}

.good-intro, .good-sale{
  font-size: .75rem;
}

.buy-box > span {
  font-size: 1rem;
  color: tomato;
}

.buy-btn {
  font-size: .5rem;
  background-color: skyblue;
  color: #FFF;
  padding: .25rem .5rem;
  border-radius: .75rem;
}
/* 评论 */
.comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: .25rem auto;
}
.comment-avatar-box {
  font-size: .75rem;
}
.comment-head .comment-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
}
.star-red {
  color: tomato;
}
.comment-data > h4 {
  font-size: .75rem;
}
.comment-data > h4 > i{
  color: tomato;
}

.comment-data > p {
  font-size: .75rem;
}

.comment-footer {
  /* width: 100%; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: skyblue;
}

.submit-comments {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.submit-comments > input {
  border: none;
  outline: none;
  border-bottom: 1px solid #CCC;
}

.submit-comments > button {
  font-size: 1rem;
  background-color: skyblue;
  color: #FFF;
  padding: .25rem .5rem;
  border: none;
  border-radius: 1rem;
}

.submit-comments > button:hover {
  background-color: rgb(70, 181, 224);
}


/* === footer === */
.footer {
  background-color: brown;
}

.footer_logo {
  color: #fa8c35;
}

.footer_title {
  color: #FFF;
}

.footer_data {
  color: var(--gray);
}

.footer_data > li:hover {
  color: #fa8c35;
}

/* === Top 点击滑动到顶部 === */
.up_top {
  color: #FFF;
  background-color: brown;
}

.up_top:visited {
  color: #FFF;
}