.logo {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  /* width: calc(550px - var(--ratio) * 413px);
  top: calc(192px - var(--ratio) * 162px); */
  padding: 0;
  width: calc(447rem - var(--ratio) * 310rem);
  height: calc(196rem - var(--ratio) * 136rem);
  top: calc(170rem - var(--ratio) * 126rem)
}

.digital-dunhuang-logo {
  position: absolute;
  top: 44rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 180rem;
  height: 54.83rem;
}
.search_index_icon {
  margin-right: 24rem;
  display: none;
}

.h1x {
  height: 480rem;
}

.h2x {
  height: 960rem;
}

.h3x {
  height: 1440rem;
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
  .h1x {
    height: 375rem;
  }

  .h2x {
    height: 750rem;
  }

  .h3x {
    height: 750rem;
  }
}
/**覆盖style样式**/
.menu {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 44rem 65rem;
  background-blend-mode: multiply;
  background-image: url('../images/menu_bai.png');
}

.x_menu {
  font-size: 36rem;
  padding-left: 0;
}

.search_icon {
  padding-right: 0;
  display: flex;
  align-items: center;
}

.user_icon , .search_index_icon {
  font-size: 28rem;
}
.user_icon svg {
  vertical-align: top;
}

.ai_style {
  font-size: 25rem;
}

.ai_desc_style {
  font-size: 20rem;
}

.s_btn {
  font-size: 20rem;
  height: 46rem;
  padding: 0 24rem;
  margin-right: 24rem;
  background-color: #fff;
  border: none;
  border-radius: 12rem;
  -webkit-border-radius: 12rem;
  -moz-border-radius: 12rem;
  -ms-border-radius: 12rem;
  -o-border-radius: 12rem;
}
.r_item_title {
  position: relative;
  z-index: 1;
  font-size: 36rem;
  /* padding: 50px; */
  padding: 64rem 0 0 60rem;
  line-height: 56rem;
  font-family: SourceHanSansCN-Regular;
}
.san_img {
  padding: 0;
}
.san_img img {
  margin: 68rem 0 0 136.5rem;
  transition: all 0.3s;
  width: 281.5rem;
  height: 434rem;
}

/**覆盖style样式 end**/
.mobile_r_item {
  display: none;
}

.index_top {
  position: relative;
}

.yin-lu-pu-sa {
  position: relative;
}

.yin-lu-pu-sa-bg {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

div.yin-lu-pu-sa-bg {
  display: none;
}

.mobile-page {
  display: none;
}

.pcbg {
  background-image: none;
}

.indexlogo {
  z-index: 9;
  top: 0;
  align-items: center;
  background-color: rgba(223, 203, 169, var(--ratio));
}

.wenzi_desc, .wenzi_desc1 {
  font-size: 19rem;
  bottom: 60rem;
  left: 60rem;
}
/* 恢复成常驻，所以加个 important */
.wenzi_desc {
  opacity: 1 !important;
}


.cousle {
  /* height: 860px;
  width: 100%; */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.resources {
  width: 1400rem;
  display: flex;
  overflow: hidden;
  height: 600rem;
}

.resource {
  width: 120rem;
  transition: all 1s ease-in-out;
  position: relative;

}

.activeSource {
  width: 920rem;
}

.info {
  transition: background-color 1s ease-in-out, background-image 2s linear;
  position: absolute;
  left: 0;
  top: 0;
  width: 120rem;
  height: 600rem;
  font-weight: 400;
  font-size: 26rem;
  color: #FFFFFF;
  font-family: 'SourceHanSansCN-Regular';
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background-size: 100% 100%;
  /* cursor: url('../images/cursor-pointer.svg'), pointer; */

}

.info::before {
  content: '';
  height: 100%;
  width: 30rem;
  left: 0;
  top: 0;
  background-image: linear-gradient(270deg, #00000000 0%, #0000004d 100%);
  position: absolute;
  z-index: 1;
}

.activeSource .info {
  background-color: transparent;
  background-size: 0 0;
}

.titleBackground {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 1s linear;
}

.activeSource .titleBackground {
  opacity: 0;
}

.title {
  padding-top: 42rem;
  writing-mode: tb;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.activeSource .title {
  background-image: linear-gradient(270deg, #00000000 0%, #00000080 100%);
}

.activeSource .navigateIcon {
  opacity: 0;
}

.cover {
  width: 920rem;
  height: 600rem;
  /* cursor: url('../images/cursor-pointer.svg'), pointer; */

}

.navigatorImage {
  width: 96px;
  height: 349px;
  position: absolute;
  top: 130px;
  left: 160px;
}

.navigateIcon {
  position: absolute;
  left: 45rem;
  bottom: 47rem;
  width: 30rem;
  height: 30rem;
  transition: all 1s linear;
  transform: rotate(0);
}

.navigateIconReverser {
  transform: rotate(180deg);
}

.description {
  position: absolute;
  font-family: 'SourceHanSansCN-Regular';
  font-weight: 400;
  font-size: 24px;
  color: #FFFFFF;
  opacity: 0;
  transition: all 1s linear;
  left: 47px;
  bottom: 41px;
  width: 800px;
}

.activeSource .description {
  opacity: 1;
}

.webDaohang {
  justify-content: center;
  padding: 130rem 0;
  @media only screen and (min-width: 20px) and (max-width: 767px) {
    padding: 71rem 0;
    justify-content: left;

  }
}

.slogan {
  width: 385rem;
  height: 83.26rem;
  background-image: url('../images/index/slogon.png');
  background-size: 100% 100%;
  position: absolute;
  top: 463.87rem;
  z-index: 9;
  left: 50%;
  transform: translateX(-50%);
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
  .slogan {
    width: 249rem;
    height: 53.85rem;
    top: 350rem;
  }

  .menu {
    padding: 40rem 50rem 30rem;
  }
  .logo {
    width: 380rem !important;
    height: 143rem !important;
    top: 167rem !important;
    position: absolute
  }

  .digital-dunhuang-logo {
    display: none;
  }

  .x_menu {
    font-size: 52rem;
  }

  .user_icon, .search_index_icon {
    font-size: 40rem;
    display: inline;
  }
  .ally_index {
    width: 40rem;
    height: 40rem;
  }
 
  .pc-page {
    display: none;
  }
  .mobile-page {
    display: block;
  }

  .r_item_title {
    padding: 50.75rem 0 0 50rem;
    font-size: 28rem;
  }
  .r_item .video {
    display: none;
  }

  .r_item_gif {
    display: block;
  }

  .san_img img {
    width: 220.5rem;
    height: 340rem;
    margin: 52rem 0 0 103rem;
  }

  .mobile_r_item {
    display: block;
  }

  .wenzi_desc, .wenzi_desc1 {
    font-size: 20rem;
    bottom: 50rem;
    left: 50rem;
  }

  .wenzi_desc {
    opacity: 1;
  }

  .resources {
    width: 540rem;
    height: 560rem;
    flex-direction: column;
  }

  .resource {
    width: 100%;
    height: 60rem;
  }

  .activeSource {
    width: 100%;
    height: 320rem;
  }

  .info {
    width: 100%;
    height: 60rem;
    font-weight: 400;
    font-size: 20rem;
    color: #FFFFFF;
  }

  .info::before {
    content: '';
    height: 20rem;
    width: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(0, #00000000 0%, #0000004d 100%);
    position: absolute;
    z-index: 1;
  }

  .title {
    writing-mode: unset;
    padding-top: 0;
    padding-left: 20rem;
    font-size: 20rem;
    font-weight: 400;
  }

  .cover {
    width: 540rem;
    height: 320rem;
  }

  .navigatorImage {
    top: 71rem;
    left: 9rem;
  }

  .navigateIcon {
    left: unset;
    right: 20rem;
    bottom: 20rem;
    width: 20rem;
    height: 20rem;
    transform: rotate(90deg);
  }

  .navigateIconReverser {
    transform: rotate(270deg);
  }

  .description {
    left: 20rem;
    bottom: 20rem;
    width: 500rem;
    font-size: 18rem;
  }
  .home_ai_button {
    display: none;
  }
   
  div.yin-lu-pu-sa-bg {
    display: block;
    background-image: url('../images/pc-yin-lu-pu-sa-bg.png');
    background-size: 100% 100%;
    top: 0;
  }

  video.yin-lu-pu-sa-bg {
    display: none;
  }
}
