* {
  margin: 0;
  word-break: normal;
}

*::-webkit-scrollbar {
  position: absolute;
  left: 0;
  width: 3px;
  height: 0;
}

*::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: #ddd;
}

html,
body {
  width: 100%;
  font-family: UTM_TIMES_BOLD;
  font-weight: bold;
  overflow-x: hidden;
  color: #4b2829;
  font-style: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  scroll-behavior: smooth
}

img,
video {
  display: block;
  width: 100%;
  vertical-align: bottom;
}

div {
  box-sizing: border-box;
}

/* input */
input {
  padding: 0;
  outline: none;
  border: none;
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-text-fill-color: #000 !important;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  background-color: transparent;
  background-image: none;
  transition: background-color 50000s ease-in-out 0s;
}

/* 预加载盒子 */
.loadingImg {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
}

/* viewer.js */
#Viewer_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* mod */
.mod {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  /* height: 100vh; */
}

.mod_box {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.bg_pc,
.bg_m {
  pointer-events: none;
}

.bg_m {
  display: none;
}

/* pop */
.pop {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
}

.pop_box {
  position: relative;
  opacity: 0;
  transform: scale(.7);
  animation: pop_box .3s forwards;
}

.pop_close {
  position: absolute;
  left: calc(50% - 1.5vw);
  bottom: -4.5vw;
  z-index: 999;
  width: 3vw;
  height: 3vw;
  cursor: pointer;
}

@keyframes pop_box {
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.pop_msg {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1vw;
  min-width: 8vw;
  max-width: 30vw;
  min-height: 1.2vw;
  text-align: center;
  background-color: rgb(32 25 26 / 80%);
  color: #fff;
  font-size: 1.5vw;
  opacity: 0;
  transform: scale(.7);
  transition: .3s;
}

.pop_msg_on {
  opacity: 1;
  transform: scale(1);
}

.pop_video {
  width: 52vw;
  height: 30vw;
  background-color: #fff;
}

.pop_video video {
  height: 100%;
  object-fit: cover;
}

/* pop_loading */
#pop_loading {
  z-index: 9999;
}

.pop_loading {
  width: 4vw;
  height: 4vw;
  animation: 1s pop_loading infinite linear;
}

@keyframes pop_loading {
  100% {
    transform: rotateZ(360deg);
  }
}

/* swiper */
.swiper-wrapper {
  width: 100%;
  height: 100%;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  content: '';
}

/* #loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(/img/index/bg/loading_bg.png) no-repeat center center;
  background-size: 100% 100% ;
  z-index: 999;
  overflow: hidden;
} */

.lds-ring {
  display: inline-block;
  position: relative;
  width: 50vw;
  height: 10vw;
}

#progress-bar {
  width: 100%;
  height: 20px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  position: relative;
  border-radius: 1vw;
}

#progress-bar-inner {
  height: 100%;
  background-color: #4caf50;
  width: 0;
  transition: width 0.3s ease-in-out;
  border-radius: 1vw;
}

#progress_text{
  text-align: center;
  font-size: 2.5vw;
  color: white;
  font-family: UTM_Colossalis;
}

/* .lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #000;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #000 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
} */

@media screen and (max-width: 800px) {
  body{
    font-weight: normal;
  }
  *::-webkit-scrollbar {
    display: none;
  }

  .bg_m {
    display: block;
  }

  .bg_pc {
    display: none;
  }

  .pop_msg {
    padding: 2vw;
    min-width: 30vw;
    max-width: 70vw;
    min-height: 5vw;
    border-radius: 1vw;
    font-size: 3.4vw;
  }

  .pop_close {
    left: calc(50% - 4vw);
    bottom: -12.5vw;
    width: 8vw;
    height: 8vw;
  }

  /* pop_video */
  .pop_video {
    width: 85vw;
    height: 50vw;
  }

  /* pop_loading */
  .pop_loading {
    width: 10vw;
    height: 10vw;
  }
}