/* #region 全局样式 */
@media only screen and (min-width: 320px) and (max-width: 329px) {
  html {
    font-size: 14px !important;
  }
}
@media only screen and (min-width: 330px) and (max-width: 351px) {
  html {
    font-size: 15px !important;
  }
}
@media only screen and (min-width: 352px) and (max-width: 373px) {
  html {
    font-size: 16px !important;
  }
}
@media only screen and (min-width: 374px) and (max-width: 395px) {
  html {
    font-size: 17px !important;
  }
}
@media only screen and (min-width: 396px) and (max-width: 417px) {
  html {
    font-size: 18px !important;
  }
}
@media only screen and (min-width: 418px) and (max-width: 439px) {
  html {
    font-size: 19px !important;
  }
}
@media only screen and (min-width: 440px) and (max-width: 461px) {
  html {
    font-size: 20px !important;
  }
}
@media only screen and (min-width: 462px) and (max-width: 483px) {
  html {
    font-size: 21px !important;
  }
}
@media only screen and (min-width: 484px) and (max-width: 505px) {
  html {
    font-size: 22px !important;
  }
}
@media only screen and (min-width: 506px) and (max-width: 527px) {
  html {
    font-size: 23px !important;
  }
}
@media only screen and (min-width: 528px) and (max-width: 549px) {
  html {
    font-size: 24px !important;
  }
}
@media only screen and (min-width: 550px) and (max-width: 571px) {
  html {
    font-size: 25px !important;
  }
}
@media only screen and (min-width: 572px) and (max-width: 2000px) {
  html {
    font-size: 26px !important;
  }
}

html,
body {
  width: 100%;
  height: 100%;
}
img {
  display: block;
  width: 100%;
}
/* #endregion */

/* #region 通用样式 */
.po {
  position: absolute;
  top: 0;
  left: 0;
}

.mc {
  width: 100%;
  height: 100%;
  position: relative;
  /* background: url(../img/bg.jpg) no-repeat scroll top left; */
  /* background-size: 100% 100%; */
}

/* 按键 */
@-webkit-keyframes anjian {
  0% {
    -webkit-transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
  }
}
@keyframes anjian {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
.anjian {
  -webkit-animation: anjian linear 0.3s;
  animation: anjian linear 0.3s;
}
/* #endregion */

/* #region 音乐相关 common_music */
.common_music {
  width: 10%;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
}
.common_music.on {
  animation: common_music_rotate 5s linear infinite;
}

@keyframes common_music_rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* #endregion */

/* #region 加载动画相关 common_loading */
.common_loading {
  width: 100%;
  max-width: 500px;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--christmas-bg) 0%,
    var(--christmas-dark-green) 100%
  );
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 9;
  /* -webkit-animation: fadeOut 0.5s linear forwards;
  animation: fadeOut 0.5s linear forwards;
  -webkit-animation-delay: 5s;
  animation-delay: 5s; */
}
.common_loading .common_loading-main {
  width: 100%;
  position: absolute;
  top: 32%;
  left: 0;
  z-index: 2;
}
.common_loading .common_loading-img {
  width: 26%;
  margin: 0 auto;
  position: relative;
}
.common_loading .common_loading-img .po {
  top: 40%;
  left: -5%;
  -webkit-animation: common_loading_yaobai linear infinite 1.5s;
  animation: common_loading_yaobai linear infinite 1.5s;
  -webkit-transform-origin: 50% 2%;
  transform-origin: 50% 2%;
}

.common_loading .common_loading-num {
  text-align: center;
  margin: 10px auto 0;
}
@-webkit-keyframes common_loading_yaobai {
  0% {
    -webkit-transform: rotate(0deg);
  }
  25% {
    -webkit-transform: rotate(5deg);
  }
  50% {
    -webkit-transform: rotate(0deg);
  }
  75% {
    -webkit-transform: rotate(-5deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
  }
}
@keyframes common_loading_yaobai {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.common_loading_yaobai {
  -webkit-animation-name: common_loading_yaobai;
  animation-name: common_loading_yaobai;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}
/* #endregion */

/* #region 场景下雪动效相关 page_snow */
.page_snow {
  width: 100%;
  background: url(../img/page-snow.png) repeat-y scroll;
  background-size: 100% 300px;
  -webkit-animation: page_xiaxue linear 5s infinite;
  animation: page_xiaxue linear 5s infinite;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.7;
}

@-webkit-keyframes page_xiaxue {
  0% {
  }
  100% {
    background-position: 0 300px;
  }
}
@keyframes page_xiaxue {
  0% {
  }
  100% {
    background-position: 0 300px;
  }
}
/* #endregion */

/* #region 场景顶部挂坠相关 page_pendant */
.page_pendant {
  width: 100%;
  background: url(../img/page-pendant.png) no-repeat scroll;
  background-size: 100% 300px;
  top: 0;
  left: 0;
  opacity: 0.7;
}
.page_pendant2 {
  width: 100%;
  background: url(../img/page-pendant2.png) no-repeat scroll;
  background-size: 100% 300px;
  top: 0;
  left: 0;
  opacity: 0.7;
}
/* #endregion */

/* #region 场景1 page1_ */
.page1_snow {
  height: 100%;
}
.page1_snow2 {
  width: 6%;
  position: absolute;
  top: 13%;
  left: 60%;
  opacity: 0.47;
  -webkit-animation: swingInfi 4s infinite;
  animation: swingInfi 4s infinite;
}
.page1_snow3 {
  width: 10%;
  position: absolute;
  top: 36%;
  left: 9%;
  opacity: 0.58;
  -webkit-animation: swingInfi 4s infinite 2s;
  animation: swingInfi 4s infinite 2s;
}
.page1_snow4 {
  width: 17%;
  position: absolute;
  top: 43%;
  right: 10%;
  opacity: 0.73;
  -webkit-animation: swingInfi 4s infinite -1s;
  animation: swingInfi 4s infinite -1s;
}
.page1_pendant {
  height: 100%;
}
.page1_txt {
  width: 100%;
  position: absolute;
  top: 13%;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.page1_state {
  width: 70%;
  position: absolute;
  top: 51%;
  left: 0;
  right: 0;
  margin: 0 auto;
}
/* #endregion */

/* #region 场景2 page2_ */
.page2_snow {
  height: 100%;
}
.page2_pendant {
  height: 100%;
}
.page2_sky {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.page2_star2 {
  -webkit-transform-origin: 71% 28%;
  transform-origin: 71% 28%;
  opacity: 0.8;
}
.page2_star3 {
  -webkit-transform-origin: 94% 64%;
  transform-origin: 94% 64%;
  opacity: 0.8;
}
.page2_star4 {
  -webkit-transform-origin: 5% 92%;
  transform-origin: 5% 92%;
  opacity: 0.8;
}
.page2_logo {
  width: 100%;
  position: absolute;
  top: 5%;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.page2_state {
  width: 100%;
  position: absolute;
  top: 13%;
  left: 0;
}
.page2_butt {
  width: 34%;
  position: absolute;
  top: 37%;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.page2_txt {
  width: 100%;
  position: absolute;
  top: 90%;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.page2_danmu {
  width: 100%;
  height: 50%;
  position: absolute;
  top: 30%;
  left: 0;
}
/* #endregion */

/* #region mask表单 mask_ */
.mask {
  width: 100%;
  height: 1000%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  z-index: 3;
  overflow: auto;
}
.mask .mark_form {
  width: 100%;
  position: absolute;
  top: 11vh;
}
.mark_form-img {
  width: 35%;
  margin: 0 auto;
  margin-bottom: 20px;
}
.mark_form .mark_form_item {
  width: 100%;
  /* height: 25px; */
  /* margin: 0 auto 10px; */
  display: flex;
  flex-direction: column;
  padding: 0 10%;
  margin-bottom: 25px;
}
.mark_form .mark_form_item .mark_form_tit {
  width: 100%;
  height: 100%;
  /* float: left; */
}
.mark_form .mark_form_item .mark_form_tit img {
  display: inline;
  vertical-align: middle;
}
.mark_form .mark_form_item .mark_form_tit span {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.mark_form .mark_form_item input,
.mark_form .mark_form_item textarea {
  width: 100%;
  /* float: right; */
  height: 100%;
  /* margin: 0 0 0 5%; */
  padding: 2px 10px;
  box-sizing: border-box;
  border: none;
  background-color: #fff;
  color: #0a0a0a;
}
#sub {
  width: 35%;
  display: block;
  margin: 30px auto 0;
}
/* #endregion */
