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

/* === header 样式 === */

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

.nav_logo:hover {
  color: #FA8C35;
}

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


/* === jumbotron 巨幕 === */
.jumbotron-bg {
  background: url('../../resource/new images/wenhua1.1.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  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-h1 {
  color: #fa8c35;
  font-weight: bold;
}

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

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

/* === content 主体部分 === */
.color-orange {
  color: orange;
}

.content {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

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

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

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

/* card */
.card-box {
  padding: 2rem;
}

.box-title {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: brown;
}

.card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-height: 400px;
  border: none;
}

.card-reverse {
  flex-direction: row-reverse;
}

.card-left {
  position: relative;
  min-height: 200px;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-title {
  position: relative;
  z-index: 4;
}

.card-number {
  font-size: 6rem;
  font-weight: bold;
  color: rgb(250, 218, 209);
  z-index: 3;
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.card-reverse .card-number {
  right: unset;
  left: 10%;
}

.cylindrical-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: .25rem;
  transform: rotate(45deg);
  position: absolute;
  top: 30%;
  left: 0;
  z-index: 2;
}

.card-reverse .cylindrical-box {
  transform: rotate(135deg);
}

.cylindrical {
  width: 60%;
  max-width: 150px;
  height: 1.25rem;
  background-color: rgb(250, 128, 114, 0.3);
  border-radius: .5rem;
}

.cylindrical-2 {
  background-color: rgb(137, 207, 235, .3);
}

.cylindrical-3 {
  background-color: rgb(238, 130, 238, .3);
}

.card-right {
  max-width: 50%;
  position: relative;
  cursor: pointer;
}

.card-right:hover::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 11;
}

.card-img {
  position: relative;
  border-radius: .5rem;
  z-index: 5;
}

.rectangle {
  width: 80%;
  height: 80%;
  border-radius: .5rem;
  background-color: #ffbaa8;
  position: absolute;
  left: -2rem;
  bottom: -1rem;
  z-index: 2;
}

.card-reverse .rectangle {
  left: unset;
  right: -2rem;
}

.more-btn {
  min-width: 8rem;
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 12;
  color: #FFF;
  padding: .5rem 1rem;
  background-color: #ffbaa8;
  border-radius: .5rem;
}

.more-btn:hover {
  color: #FFF;
  font-weight: bold;
  text-decoration: none;
  background-color: brown;
}

.card-right:hover .more-btn {
  display: block;
}

.icon-btn {
  display: inline-block;
  transition: .3s;
}

.more-btn:hover .icon-btn {
  transform: translateX(30%);
}

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

.footer_logo {
  color: #fa8c35;
}

.footer_title {
  color: #FFF;
}

.footer_data {
  color: #EEE;
}

.footer_data > li:hover {
  color: var(--dark-green);
}

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

.up_top:visited {
  color: #FFF;
}